[gnome-settings-daemon/wip/input-sources: 1/6] keyboard: Remove needless call to XkbUseExtension
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/wip/input-sources: 1/6] keyboard: Remove needless call to XkbUseExtension
- Date: Mon, 23 Apr 2012 21:11:59 +0000 (UTC)
commit 261a9cadbb9b41b0477befcf4271900ebd8ff307
Author: Rui Matos <tiagomatos gmail com>
Date: Mon Apr 16 17:26:30 2012 +0200
keyboard: Remove needless call to XkbUseExtension
XkbQueryExtension does everything we need here.
plugins/keyboard/gsd-keyboard-manager.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-manager.c b/plugins/keyboard/gsd-keyboard-manager.c
index a33460c..b542c64 100644
--- a/plugins/keyboard/gsd-keyboard-manager.c
+++ b/plugins/keyboard/gsd-keyboard-manager.c
@@ -104,8 +104,7 @@ numlock_xkb_init (GsdKeyboardManager *manager)
&manager->priv->xkb_event_base,
&error_base,
&major,
- &minor)
- && XkbUseExtension (dpy, &major, &minor);
+ &minor);
if (have_xkb) {
XkbSelectEventDetails (dpy,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]