Commit 757845c7 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Manage the system tray stand-alone window in x11drv for non-desktop mode.

parent 645a65f4
...@@ -597,6 +597,7 @@ extern int use_xkb; ...@@ -597,6 +597,7 @@ extern int use_xkb;
extern int use_take_focus; extern int use_take_focus;
extern int use_primary_selection; extern int use_primary_selection;
extern int use_system_cursors; extern int use_system_cursors;
extern int show_systray;
extern int usexcomposite; extern int usexcomposite;
extern int managed_mode; extern int managed_mode;
extern int decorated_mode; extern int decorated_mode;
......
...@@ -83,6 +83,7 @@ int use_xkb = 1; ...@@ -83,6 +83,7 @@ int use_xkb = 1;
int use_take_focus = 1; int use_take_focus = 1;
int use_primary_selection = 0; int use_primary_selection = 0;
int use_system_cursors = 1; int use_system_cursors = 1;
int show_systray = 1;
int managed_mode = 1; int managed_mode = 1;
int decorated_mode = 1; int decorated_mode = 1;
int private_color_map = 0; int private_color_map = 0;
...@@ -400,6 +401,9 @@ static void setup_options(void) ...@@ -400,6 +401,9 @@ static void setup_options(void)
if (!get_config_key( hkey, appkey, "UseSystemCursors", buffer, sizeof(buffer) )) if (!get_config_key( hkey, appkey, "UseSystemCursors", buffer, sizeof(buffer) ))
use_system_cursors = IS_OPTION_TRUE( buffer[0] ); use_system_cursors = IS_OPTION_TRUE( buffer[0] );
if (!get_config_key( hkey, appkey, "ShowSystray", buffer, sizeof(buffer) ))
show_systray = IS_OPTION_TRUE( buffer[0] );
screen_depth = 0; screen_depth = 0;
if (!get_config_key( hkey, appkey, "ScreenDepth", buffer, sizeof(buffer) )) if (!get_config_key( hkey, appkey, "ScreenDepth", buffer, sizeof(buffer) ))
screen_depth = atoi(buffer); screen_depth = atoi(buffer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment