[gnome-settings-daemon] keyboard: Fix compilation against older inputproto headers
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] keyboard: Fix compilation against older inputproto headers
- Date: Fri, 16 Nov 2012 16:34:15 +0000 (UTC)
commit c451781a48d3a2f01f50c84532e81eb3c1100226
Author: Rui Matos <tiagomatos gmail com>
Date: Fri Nov 16 17:26:35 2012 +0100
keyboard: Fix compilation against older inputproto headers
man XIGrabButton says:
The protocol headers for XI 2.0 did not provide
XIGrabModeAsync or XIGrabModeSync. Use GrabModeSync and
GrabModeAsync instead, respectively.
plugins/keyboard/gsd-input-sources-switcher.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/keyboard/gsd-input-sources-switcher.c b/plugins/keyboard/gsd-input-sources-switcher.c
index e35ce6f..cff2359 100644
--- a/plugins/keyboard/gsd-input-sources-switcher.c
+++ b/plugins/keyboard/gsd-input-sources-switcher.c
@@ -450,8 +450,8 @@ filter (XEvent *xevent,
XIAnyButton,
xev->root,
None,
- XIGrabModeSync,
- XIGrabModeSync,
+ GrabModeSync,
+ GrabModeSync,
False,
&evmask,
1,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]