From c29053f82cbea5f2704d99c4d5e8afe0329e5cbe Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 28 Dec 2011 18:46:39 +0100 Subject: Imported nxagent-3.5.0-7.tar.gz Summary: Imported nxagent-3.5.0-7.tar.gz Keywords: Imported nxagent-3.5.0-7.tar.gz into Git repository --- nx-X11/programs/Xserver/hw/nxagent/Window.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nx-X11/programs/Xserver/hw/nxagent/Window.c') 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)) { -- cgit v1.2.3