aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Events.c
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2018-02-27 01:07:02 +0100
committerMihai Moldovan <ionic@ionic.de>2018-02-27 01:07:02 +0100
commit92d806399c69fda03275dcc23758498f9321434c (patch)
treeccd0a621cc80b4853d6f7e262388b207db16dc4f /nx-X11/programs/Xserver/hw/nxagent/Events.c
parent751760421f6644c22e30baa6ee8e791642d6a04d (diff)
parent0371276fb4030261878dd6cfced9abd7bcd6137f (diff)
downloadnx-libs-92d806399c69fda03275dcc23758498f9321434c.tar.gz
nx-libs-92d806399c69fda03275dcc23758498f9321434c.tar.bz2
nx-libs-92d806399c69fda03275dcc23758498f9321434c.zip
Merge branch 'sunweaver-pr/version-cmdline-option' into 3.6.x
Attributes GH PR #660: https://github.com/ArcticaProject/nx-libs/pull/660 Fixes: ArcticaProject/nx-libs#653 Fixes: ArcticaProject/nx-libs#639
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Events.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Events.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index 8681ab270..91a3c6eb9 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -281,7 +281,7 @@ int nxagentCheckWindowConfiguration(XConfigureEvent* X);
void nxagentRemoveDuplicatedKeys(XEvent *X);
-void ProcessInputEvents()
+void ProcessInputEvents(void)
{
#ifdef NX_DEBUG_INPUT
if (nxagentDebugInput == 1)
@@ -734,7 +734,7 @@ int nxagentInputEventPredicate(Display *display, XEvent *event, XPointer paramet
}
}
-void nxagentInitDefaultEventMask()
+void nxagentInitDefaultEventMask(void)
{
Mask mask = NoEventMask;
@@ -3698,7 +3698,7 @@ int nxagentHandleReparentNotify(XEvent* X)
return 1;
}
-void nxagentEnableKeyboardEvents()
+void nxagentEnableKeyboardEvents(void)
{
int i;
Mask mask;
@@ -3719,7 +3719,7 @@ void nxagentEnableKeyboardEvents()
NXAGENT_KEYBOARD_EXTENSION_EVENT_MASK);
}
-void nxagentDisableKeyboardEvents()
+void nxagentDisableKeyboardEvents(void)
{
int i;
Mask mask;
@@ -3738,7 +3738,7 @@ void nxagentDisableKeyboardEvents()
XkbSelectEvents(nxagentDisplay, XkbUseCoreKbd, 0x0, 0x0);
}
-void nxagentEnablePointerEvents()
+void nxagentEnablePointerEvents(void)
{
int i;
Mask mask;
@@ -3755,7 +3755,7 @@ void nxagentEnablePointerEvents()
}
}
-void nxagentDisablePointerEvents()
+void nxagentDisablePointerEvents(void)
{
int i;
Mask mask;
@@ -3793,7 +3793,7 @@ void nxagentSendFakeKey(int key)
mieqEnqueue(&fake);
}
-int nxagentInitXkbKeyboardState()
+int nxagentInitXkbKeyboardState(void)
{
XEvent X;
@@ -3954,7 +3954,7 @@ void nxagentUngrabPointerAndKeyboard(XEvent *X)
XUngrabPointer(nxagentDisplay, now);
}
-void nxagentDeactivatePointerGrab()
+void nxagentDeactivatePointerGrab(void)
{
GrabPtr grab = inputInfo.pointer -> grab;
@@ -4595,7 +4595,7 @@ void nxagentGuessDumpInputInfo(ClientPtr client, Atom property, char *data)
}
}
-void nxagentDeactivateInputDevicesGrabs()
+void nxagentDeactivateInputDevicesGrabs(void)
{
fprintf(stderr, "Info: Deactivating input devices grabs.\n");