Commit 6bdf9c2f authored by Ulrich Sibiller's avatar Ulrich Sibiller

Drop Ipaq support

Did we ever provide a binary?
parent 1ebf7851
...@@ -153,7 +153,6 @@ Bool nxagentReportWindowIds = False; ...@@ -153,7 +153,6 @@ Bool nxagentReportWindowIds = False;
Bool nxagentReportPrivateWindowIds = False; Bool nxagentReportPrivateWindowIds = False;
Bool nxagentDoDirectColormaps = False; Bool nxagentDoDirectColormaps = False;
Window nxagentParentWindow = 0; Window nxagentParentWindow = 0;
Bool nxagentIpaq = False;
int nxagentLockDeferLevel = 0; int nxagentLockDeferLevel = 0;
...@@ -618,14 +617,6 @@ int ddxProcessArgument(int argc, char *argv[], int i) ...@@ -618,14 +617,6 @@ int ddxProcessArgument(int argc, char *argv[], int i)
nxagentChangeOption(AllScreens, True); nxagentChangeOption(AllScreens, True);
} }
else if (!strcmp(argv[i],"ipaq"))
{
nxagentChangeOption(Fullscreen, True);
nxagentChangeOption(AllScreens, True);
nxagentIpaq = True;
}
else else
{ {
if (nxagentUserGeometry.flag == 0) if (nxagentUserGeometry.flag == 0)
......
...@@ -82,7 +82,6 @@ extern Bool nxagentDoDirectColormaps; ...@@ -82,7 +82,6 @@ extern Bool nxagentDoDirectColormaps;
extern Window nxagentParentWindow; extern Window nxagentParentWindow;
extern int nxagentMaxAllowedReset; extern int nxagentMaxAllowedReset;
extern Bool nxagentResizeDesktopAtStartup; extern Bool nxagentResizeDesktopAtStartup;
extern Bool nxagentIpaq;
extern int nxagentLockDeferLevel; extern int nxagentLockDeferLevel;
......
...@@ -1214,11 +1214,6 @@ FIXME: Don't enqueue the KeyRelease event if the key was ...@@ -1214,11 +1214,6 @@ FIXME: Don't enqueue the KeyRelease event if the key was
} }
} }
if (nxagentIpaq && nxagentClients <= 0)
{
closeSession = TRUE;
}
if (nxagentOption(DesktopResize) == False && if (nxagentOption(DesktopResize) == False &&
(X.xbutton.state & (ControlMask | Mod1Mask)) == (ControlMask | Mod1Mask)) (X.xbutton.state & (ControlMask | Mod1Mask)) == (ControlMask | Mod1Mask))
{ {
......
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
#include <libxml/tree.h> #include <libxml/tree.h>
extern Bool nxagentWMIsRunning; extern Bool nxagentWMIsRunning;
extern Bool nxagentIpaq;
extern char *nxagentKeystrokeFile; extern char *nxagentKeystrokeFile;
#ifdef NX_DEBUG_INPUT #ifdef NX_DEBUG_INPUT
...@@ -507,13 +506,6 @@ Bool nxagentCheckSpecialKeystroke(XKeyEvent *X, enum HandleEventResult *result) ...@@ -507,13 +506,6 @@ Bool nxagentCheckSpecialKeystroke(XKeyEvent *X, enum HandleEventResult *result)
* here. * here.
*/ */
if (X -> keycode == 130 && nxagentIpaq)
{
*result = doStartKbd;
return True;
}
switch (stroke) { switch (stroke) {
#ifdef DEBUG_TREE #ifdef DEBUG_TREE
case KEYSTROKE_DEBUG_TREE: case KEYSTROKE_DEBUG_TREE:
......
...@@ -135,7 +135,6 @@ void nxagentFbRestoreArea(PixmapPtr pPixmap, WindowPtr pWin, int xSrc, int ySrc, ...@@ -135,7 +135,6 @@ void nxagentFbRestoreArea(PixmapPtr pPixmap, WindowPtr pWin, int xSrc, int ySrc,
#include "unistd.h" #include "unistd.h"
#endif #endif
extern Bool nxagentIpaq;
extern Pixmap nxagentIconPixmap; extern Pixmap nxagentIconPixmap;
extern Pixmap nxagentIconShape; extern Pixmap nxagentIconShape;
extern Bool useXpmIcon; extern Bool useXpmIcon;
...@@ -329,12 +328,6 @@ Bool nxagentIsParentOf(Display *d, XlibWindow possible_parent, XlibWindow candid ...@@ -329,12 +328,6 @@ Bool nxagentIsParentOf(Display *d, XlibWindow possible_parent, XlibWindow candid
void nxagentMinimizeFromFullScreen(ScreenPtr pScreen) void nxagentMinimizeFromFullScreen(ScreenPtr pScreen)
{ {
XUnmapWindow(nxagentDisplay, nxagentFullscreenWindow); XUnmapWindow(nxagentDisplay, nxagentFullscreenWindow);
if (nxagentIpaq)
{
XMapWindow(nxagentDisplay, nxagentIconWindow);
}
XIconifyWindow(nxagentDisplay, nxagentIconWindow, XIconifyWindow(nxagentDisplay, nxagentIconWindow,
DefaultScreen(nxagentDisplay)); DefaultScreen(nxagentDisplay));
} }
...@@ -349,16 +342,8 @@ void nxagentMinimizeFromFullScreen(ScreenPtr pScreen) ...@@ -349,16 +342,8 @@ void nxagentMinimizeFromFullScreen(ScreenPtr pScreen)
*/ */
void nxagentMaximizeToFullScreen(ScreenPtr pScreen) void nxagentMaximizeToFullScreen(ScreenPtr pScreen)
{ {
if (nxagentIpaq)
{
XUnmapWindow(nxagentDisplay, nxagentIconWindow);
XMapWindow(nxagentDisplay, nxagentFullscreenWindow);
}
else
{
/* /*
XUnmapWindow(nxagentDisplay, nxagentIconWindow); XUnmapWindow(nxagentDisplay, nxagentIconWindow);
*/ */
Window root = RootWindow(nxagentDisplay, DefaultScreen(nxagentDisplay)); Window root = RootWindow(nxagentDisplay, DefaultScreen(nxagentDisplay));
...@@ -407,10 +392,10 @@ FIXME: We'll check for ReparentNotify and LeaveNotify events after ...@@ -407,10 +392,10 @@ FIXME: We'll check for ReparentNotify and LeaveNotify events after
#endif #endif
} }
XMapRaised(nxagentDisplay, nxagentFullscreenWindow); XMapRaised(nxagentDisplay, nxagentFullscreenWindow);
XIconifyWindow(nxagentDisplay, nxagentIconWindow, XIconifyWindow(nxagentDisplay, nxagentIconWindow,
DefaultScreen(nxagentDisplay)); DefaultScreen(nxagentDisplay));
/* swallow all LeaveNotify events for the FullscreenWindow; /* swallow all LeaveNotify events for the FullscreenWindow;
Normally this does not swallow anything these days, but when 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,9 +411,8 @@ FIXME: We'll check for ReparentNotify and LeaveNotify events after
} }
/* /*
XMapWindow(nxagentDisplay, nxagentIconWindow); XMapWindow(nxagentDisplay, nxagentIconWindow);
*/ */
}
} }
Window nxagentCreateIconWindow(void) Window nxagentCreateIconWindow(void)
...@@ -1922,17 +1906,6 @@ N/A ...@@ -1922,17 +1906,6 @@ N/A
{ {
nxagentFullscreenWindow = nxagentDefaultWindows[pScreen->myNum]; nxagentFullscreenWindow = nxagentDefaultWindows[pScreen->myNum];
} }
if (nxagentIpaq)
{
XWindowChanges ch;
unsigned int ch_mask;
ch.stack_mode = Below;
ch_mask = CWStackMode;
XConfigureWindow(nxagentDisplay, nxagentFullscreenWindow, ch_mask, &ch);
}
} }
if (nxagentOption(Fullscreen)) if (nxagentOption(Fullscreen))
......
...@@ -2662,12 +2662,6 @@ void nxagentMapDefaultWindows(void) ...@@ -2662,12 +2662,6 @@ void nxagentMapDefaultWindows(void)
#endif #endif
XMapWindow(nxagentDisplay, nxagentIconWindow); XMapWindow(nxagentDisplay, nxagentIconWindow);
if (nxagentIpaq != 0)
{
XIconifyWindow(nxagentDisplay, nxagentIconWindow,
DefaultScreen(nxagentDisplay));
}
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment