xserver-xorg 1.7.4: OpenPandora HACK! - Temp! - Do NOT put into mainline.
authorDavid-John Willis <John.Willis@Distant-earth.com>
Thu, 11 Feb 2010 14:04:17 +0000 (14:04 +0000)
committerDavid-John Willis <John.Willis@Distant-earth.com>
Thu, 8 Apr 2010 07:19:37 +0000 (08:19 +0100)
recipes/xorg-xserver/xserver-xorg-1.7.4/evil-no-XkbSendNewKeyboardNotify.patch [new file with mode: 0644]

diff --git a/recipes/xorg-xserver/xserver-xorg-1.7.4/evil-no-XkbSendNewKeyboardNotify.patch b/recipes/xorg-xserver/xserver-xorg-1.7.4/evil-no-XkbSendNewKeyboardNotify.patch
new file mode 100644 (file)
index 0000000..36c4075
--- /dev/null
@@ -0,0 +1,14 @@
+diff -urp xorg-server-1.7.4_orig/xkb/xkbUtils.c xorg-server-1.7.4/xkb/xkbUtils.c
+--- xorg-server-1.7.4_orig/xkb/xkbUtils.c      2010-01-08 00:44:57.000000000 +0200
++++ xorg-server-1.7.4/xkb/xkbUtils.c   2010-02-11 13:05:52.000000000 +0200
+@@ -2112,8 +2112,8 @@ XkbCopyDeviceKeymap(DeviceIntPtr dst, De
+         nkn.changed |= XkbNKN_GeometryMask;
+     ret = XkbCopyKeymap(dst->key->xkbInfo->desc, src->key->xkbInfo->desc);
+-    if (ret)
+-        XkbSendNewKeyboardNotify(dst, &nkn);
++//    if (ret)
++//       XkbSendNewKeyboardNotify(dst, &nkn);
+     return ret;
+ }