aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/InitOutput.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/InitOutput.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/InitOutput.c')
-rw-r--r--xorg-server/hw/xwin/InitOutput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/InitOutput.c b/xorg-server/hw/xwin/InitOutput.c
index 91242259f..7a4f8446d 100644
--- a/xorg-server/hw/xwin/InitOutput.c
+++ b/xorg-server/hw/xwin/InitOutput.c
@@ -216,7 +216,7 @@ ddxGiveUp(enum ExitCode error)
/* Perform per-screen deinitialization */
for (i = 0; i < g_iNumScreens; ++i) {
/* Delete the tray icon */
- if (!g_ScreenInfo[i].fNoTrayIcon && g_ScreenInfo[i].pScreen)
+ if (!g_ScreenInfo[i].fNoTrayIcon && g_ScreenInfo[i].pScreen && !pref.fNoTrayIcon)
winDeleteNotifyIcon(winGetScreenPriv(g_ScreenInfo[i].pScreen));
}