summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Andersson <hean01@cendio.com>2017-10-18 10:02:49 +0200
committerGitHub <noreply@github.com>2017-10-18 10:02:49 +0200
commitbace190ba5c603de8903b8c866d402001c3b8619 (patch)
treea61850eda6d1ba2feec5949bae22b2a3be9a6a87
parentfd1673392e4e65faca4612e4acb9c5fa4462def5 (diff)
parentad98c5513040034ac351dd5de04c7d791af3f686 (diff)
downloadrdesktop-bace190ba5c603de8903b8c866d402001c3b8619.zip
Merge pull request #175 from derfian/pointer-shadows
Enable cursor shadows in all experience levels but modem
-rw-r--r--rdesktop.c28
1 files changed, 13 insertions, 15 deletions
diff --git a/rdesktop.c b/rdesktop.c
index 4941eba..73aacbf 100644
--- a/rdesktop.c
+++ b/rdesktop.c
@@ -110,9 +110,10 @@ char g_seamless_spawn_cmd[512];
RD_BOOL g_seamless_persistent_mode = True;
RD_BOOL g_user_quit = False;
uint32 g_embed_wnd;
-uint32 g_rdp5_performanceflags =
- PERF_DISABLE_WALLPAPER | PERF_DISABLE_FULLWINDOWDRAG | PERF_DISABLE_MENUANIMATIONS |
- PERF_DISABLE_CURSOR_SHADOW | PERF_ENABLE_FONT_SMOOTHING;
+uint32 g_rdp5_performanceflags = (PERF_DISABLE_WALLPAPER |
+ PERF_DISABLE_FULLWINDOWDRAG |
+ PERF_DISABLE_MENUANIMATIONS |
+ PERF_ENABLE_FONT_SMOOTHING);
/* Session Directory redirection */
RD_BOOL g_redirect = False;
char *g_redirect_server;
@@ -838,27 +839,24 @@ main(int argc, char *argv[])
case 'x':
if (str_startswith(optarg, "m")) /* modem */
{
- g_rdp5_performanceflags = PERF_DISABLE_CURSOR_SHADOW |
- PERF_DISABLE_WALLPAPER | PERF_DISABLE_FULLWINDOWDRAG
- | PERF_DISABLE_MENUANIMATIONS |
- PERF_DISABLE_THEMING;
+ g_rdp5_performanceflags = (PERF_DISABLE_CURSOR_SHADOW |
+ PERF_DISABLE_WALLPAPER |
+ PERF_DISABLE_FULLWINDOWDRAG |
+ PERF_DISABLE_MENUANIMATIONS |
+ PERF_DISABLE_THEMING);
}
else if (str_startswith(optarg, "b")) /* broadband */
{
- g_rdp5_performanceflags =
- PERF_DISABLE_CURSOR_SHADOW | PERF_DISABLE_WALLPAPER
- | PERF_ENABLE_FONT_SMOOTHING;
+ g_rdp5_performanceflags = (PERF_DISABLE_WALLPAPER |
+ PERF_ENABLE_FONT_SMOOTHING);
}
else if (str_startswith(optarg, "l")) /* lan */
{
- g_rdp5_performanceflags =
- PERF_DISABLE_CURSOR_SHADOW |
- PERF_ENABLE_FONT_SMOOTHING;
+ g_rdp5_performanceflags = PERF_ENABLE_FONT_SMOOTHING;
}
else
{
- g_rdp5_performanceflags = PERF_DISABLE_CURSOR_SHADOW |
- strtol(optarg, NULL, 16);
+ g_rdp5_performanceflags = strtol(optarg, NULL, 16);
}
break;