[gnome-settings-daemon/gnome-3-6] keyboard: Fix compilation against older inputproto headers
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-6] keyboard: Fix compilation against older inputproto headers
- Date: Fri, 16 Nov 2012 16:35:36 +0000 (UTC)
commit 9a1f0b642d54f8a6e023dea7d6f21c49e11ce0b1
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]