@@ -135,7 +135,6 @@ void nxagentFbRestoreArea(PixmapPtr pPixmap, WindowPtr pWin, int xSrc, int ySrc,
135
135
#include "unistd.h"
136
136
#endif
137
137
138
- extern Bool nxagentIpaq ;
139
138
extern Pixmap nxagentIconPixmap ;
140
139
extern Pixmap nxagentIconShape ;
141
140
extern Bool useXpmIcon ;
@@ -329,12 +328,6 @@ Bool nxagentIsParentOf(Display *d, XlibWindow possible_parent, XlibWindow candid
329
328
void nxagentMinimizeFromFullScreen (ScreenPtr pScreen )
330
329
{
331
330
XUnmapWindow (nxagentDisplay , nxagentFullscreenWindow );
332
-
333
- if (nxagentIpaq )
334
- {
335
- XMapWindow (nxagentDisplay , nxagentIconWindow );
336
- }
337
-
338
331
XIconifyWindow (nxagentDisplay , nxagentIconWindow ,
339
332
DefaultScreen (nxagentDisplay ));
340
333
}
@@ -349,16 +342,8 @@ void nxagentMinimizeFromFullScreen(ScreenPtr pScreen)
349
342
*/
350
343
void nxagentMaximizeToFullScreen (ScreenPtr pScreen )
351
344
{
352
- if (nxagentIpaq )
353
- {
354
- XUnmapWindow (nxagentDisplay , nxagentIconWindow );
355
-
356
- XMapWindow (nxagentDisplay , nxagentFullscreenWindow );
357
- }
358
- else
359
- {
360
345
/*
361
- XUnmapWindow(nxagentDisplay, nxagentIconWindow);
346
+ XUnmapWindow(nxagentDisplay, nxagentIconWindow);
362
347
*/
363
348
364
349
Window root = RootWindow (nxagentDisplay , DefaultScreen (nxagentDisplay ));
@@ -407,10 +392,10 @@ FIXME: We'll check for ReparentNotify and LeaveNotify events after
407
392
#endif
408
393
}
409
394
410
- XMapRaised (nxagentDisplay , nxagentFullscreenWindow );
395
+ XMapRaised (nxagentDisplay , nxagentFullscreenWindow );
411
396
412
- XIconifyWindow (nxagentDisplay , nxagentIconWindow ,
413
- DefaultScreen (nxagentDisplay ));
397
+ XIconifyWindow (nxagentDisplay , nxagentIconWindow ,
398
+ DefaultScreen (nxagentDisplay ));
414
399
415
400
/* swallow all LeaveNotify events for the FullscreenWindow;
416
401
Normally this does not swallow anything these days, but when
@@ -426,9 +411,8 @@ FIXME: We'll check for ReparentNotify and LeaveNotify events after
426
411
}
427
412
428
413
/*
429
- XMapWindow(nxagentDisplay, nxagentIconWindow);
414
+ XMapWindow(nxagentDisplay, nxagentIconWindow);
430
415
*/
431
- }
432
416
}
433
417
434
418
Window nxagentCreateIconWindow (void )
@@ -1922,17 +1906,6 @@ N/A
1922
1906
{
1923
1907
nxagentFullscreenWindow = nxagentDefaultWindows [pScreen -> myNum ];
1924
1908
}
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
- }
1936
1909
}
1937
1910
1938
1911
if (nxagentOption (Fullscreen ))
0 commit comments