diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2024-06-02 20:35:00 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2024-06-02 20:51:31 +0200 |
commit | a22d14005debc9954e21cb5afd23edf252b3126d (patch) | |
tree | 5456c2d8b23f27051a37e2cc3bbde963be57bc9e /nx-X11/programs/Xserver/hw/nxagent | |
parent | 168d6e674b1c1571a6bb61d33f86dd799ddb2b91 (diff) | |
download | nx-libs-a22d14005debc9954e21cb5afd23edf252b3126d.tar.gz nx-libs-a22d14005debc9954e21cb5afd23edf252b3126d.tar.bz2 nx-libs-a22d14005debc9954e21cb5afd23edf252b3126d.zip |
Events.c: disable unused function
no need to compile if it is unused
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Events.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c index 030f2537f..6456e244a 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Events.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c @@ -4365,7 +4365,8 @@ int nxagentUserInput(void *p) return result; } -int nxagentHandleRRScreenChangeNotify(XEvent *X) +#if 0 +Bool nxagentHandleRRScreenChangeNotify(XEvent *X) { XRRScreenChangeNotifyEvent *Xr = (XRRScreenChangeNotifyEvent *) X; @@ -4383,8 +4384,9 @@ int nxagentHandleRRScreenChangeNotify(XEvent *X) nxagentShadowSetWindowsSize(); - return 1; + return True; } +#endif /* * Returns true if there is any event waiting to be dispatched. This |