aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Window.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-28 18:46:39 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-28 18:46:39 +0100
commitc29053f82cbea5f2704d99c4d5e8afe0329e5cbe (patch)
tree37f025269eb5df59a49c3b6971090f8c89b089bd /nx-X11/programs/Xserver/hw/nxagent/Window.c
parente01b9177b41f7d27a934d41fa38d550fa0026b45 (diff)
downloadnx-libs-c29053f82cbea5f2704d99c4d5e8afe0329e5cbe.tar.gz
nx-libs-c29053f82cbea5f2704d99c4d5e8afe0329e5cbe.tar.bz2
nx-libs-c29053f82cbea5f2704d99c4d5e8afe0329e5cbe.zip
Imported nxagent-3.5.0-7.tar.gznxagent/3.5.0-7
Summary: Imported nxagent-3.5.0-7.tar.gz Keywords: Imported nxagent-3.5.0-7.tar.gz into Git repository
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Window.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Window.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index 988193609..35a35984a 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -3170,10 +3170,17 @@ static void nxagentReconfigureWindow(pointer param0, XID param1, pointer data_bu
{
nxagentRealizeWindow (pWin);
}
+/*
+XXX: This would break Motif menus.
+ If pWin is mapped but not realized, a followin UnmapWindow() wouldn't
+ do anything, leaving this mapped window around. XMapWindow()
+ is called in nxagentRealizeWindow() and there it is enough.
+
else if (pWin->mapped)
{
XMapWindow(nxagentDisplay, nxagentWindow(pWin));
}
+*/
else if (nxagentOption(Rootless) && pWin -> overrideRedirect == 0 &&
nxagentWindowTopLevel(pWin) && nxagentIsIconic(pWin))
{