@@ -135,7 +135,6 @@ void nxagentFbRestoreArea(PixmapPtr pPixmap, WindowPtr pWin, int xSrc, int ySrc,
135135#include "unistd.h"
136136#endif
137137
138- extern Bool nxagentIpaq ;
139138extern Pixmap nxagentIconPixmap ;
140139extern Pixmap nxagentIconShape ;
141140extern Bool useXpmIcon ;
@@ -329,12 +328,6 @@ Bool nxagentIsParentOf(Display *d, XlibWindow possible_parent, XlibWindow candid
329328void nxagentMinimizeFromFullScreen (ScreenPtr pScreen )
330329{
331330 XUnmapWindow (nxagentDisplay , nxagentFullscreenWindow );
332-
333- if (nxagentIpaq )
334- {
335- XMapWindow (nxagentDisplay , nxagentIconWindow );
336- }
337-
338331 XIconifyWindow (nxagentDisplay , nxagentIconWindow ,
339332 DefaultScreen (nxagentDisplay ));
340333}
@@ -349,16 +342,8 @@ void nxagentMinimizeFromFullScreen(ScreenPtr pScreen)
349342 */
350343void nxagentMaximizeToFullScreen (ScreenPtr pScreen )
351344{
352- if (nxagentIpaq )
353- {
354- XUnmapWindow (nxagentDisplay , nxagentIconWindow );
355-
356- XMapWindow (nxagentDisplay , nxagentFullscreenWindow );
357- }
358- else
359- {
360345/*
361- XUnmapWindow(nxagentDisplay, nxagentIconWindow);
346+ XUnmapWindow(nxagentDisplay, nxagentIconWindow);
362347*/
363348
364349 Window root = RootWindow (nxagentDisplay , DefaultScreen (nxagentDisplay ));
@@ -407,10 +392,10 @@ FIXME: We'll check for ReparentNotify and LeaveNotify events after
407392 #endif
408393 }
409394
410- XMapRaised (nxagentDisplay , nxagentFullscreenWindow );
395+ XMapRaised (nxagentDisplay , nxagentFullscreenWindow );
411396
412- XIconifyWindow (nxagentDisplay , nxagentIconWindow ,
413- DefaultScreen (nxagentDisplay ));
397+ XIconifyWindow (nxagentDisplay , nxagentIconWindow ,
398+ DefaultScreen (nxagentDisplay ));
414399
415400 /* swallow all LeaveNotify events for the FullscreenWindow;
416401 Normally this does not swallow anything these days, but when
@@ -426,9 +411,8 @@ FIXME: We'll check for ReparentNotify and LeaveNotify events after
426411 }
427412
428413/*
429- XMapWindow(nxagentDisplay, nxagentIconWindow);
414+ XMapWindow(nxagentDisplay, nxagentIconWindow);
430415*/
431- }
432416}
433417
434418Window nxagentCreateIconWindow (void )
@@ -1922,17 +1906,6 @@ N/A
19221906 {
19231907 nxagentFullscreenWindow = nxagentDefaultWindows [pScreen -> myNum ];
19241908 }
1925-
1926- if (nxagentIpaq )
1927- {
1928- XWindowChanges ch ;
1929- unsigned int ch_mask ;
1930-
1931- ch .stack_mode = Below ;
1932- ch_mask = CWStackMode ;
1933-
1934- XConfigureWindow (nxagentDisplay , nxagentFullscreenWindow , ch_mask , & ch );
1935- }
19361909 }
19371910
19381911 if (nxagentOption (Fullscreen ))
0 commit comments