aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winshaddd.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-03-05 09:33:39 +0100
committermarha <marha@users.sourceforge.net>2014-03-05 09:33:39 +0100
commit8badbdef38ce843dc443ddee219eda4040ef2cd5 (patch)
treee44061aeab2425b199c89ec54b5caa909228492c /xorg-server/hw/xwin/winshaddd.c
parent45392e4a0642880b569ea5d4a350cdc395a2c7db (diff)
downloadvcxsrv-8badbdef38ce843dc443ddee219eda4040ef2cd5.tar.gz
vcxsrv-8badbdef38ce843dc443ddee219eda4040ef2cd5.tar.bz2
vcxsrv-8badbdef38ce843dc443ddee219eda4040ef2cd5.zip
Now taskbar with notab can be specified in system.XWinrc
Diffstat (limited to 'xorg-server/hw/xwin/winshaddd.c')
-rw-r--r--xorg-server/hw/xwin/winshaddd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winshaddd.c b/xorg-server/hw/xwin/winshaddd.c
index 59415515f..194449e63 100644
--- a/xorg-server/hw/xwin/winshaddd.c
+++ b/xorg-server/hw/xwin/winshaddd.c
@@ -35,6 +35,7 @@
#include <xwin-config.h>
#endif
#include "win.h"
+#include "winprefs.h"
/*
* Local prototypes
@@ -631,7 +632,7 @@ winCloseScreenShadowDD(ScreenPtr pScreen)
RemoveProp(pScreenPriv->hwndScreen, WIN_SCR_PROP);
/* Delete tray icon, if we have one */
- if (!pScreenInfo->fNoTrayIcon)
+ if (!pScreenInfo->fNoTrayIcon && !pref.fNoTrayIcon)
winDeleteNotifyIcon(pScreenPriv);
/* Free the exit confirmation dialog box, if it exists */