[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#656685: xkb-data: new version breaks F10 key



I've NMUed xkeyboard-config with Julien and KiBi's permission.
Debdiff is attached.

Upload of a fixed gtk+3.0 is forthcoming.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
diff -u xkeyboard-config-2.5.1/debian/changelog xkeyboard-config-2.5.1/debian/changelog
--- xkeyboard-config-2.5.1/debian/changelog
+++ xkeyboard-config-2.5.1/debian/changelog
@@ -1,3 +1,11 @@
+xkeyboard-config (2.5.1-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Preserve Shift modifier so GTK3 apps can properly differentiate between
+    F10 and Shift+F10 (Closes: #656685).
+
+ -- Michael Biebl <biebl@debian.org>  Fri, 21 Sep 2012 18:12:52 +0200
+
 xkeyboard-config (2.5.1-2) unstable; urgency=low
 
   [ Ansgar Burchardt ]
diff -u xkeyboard-config-2.5.1/debian/patches/series xkeyboard-config-2.5.1/debian/patches/series
--- xkeyboard-config-2.5.1/debian/patches/series
+++ xkeyboard-config-2.5.1/debian/patches/series
@@ -2,0 +3 @@
+preserve-shift.diff
only in patch2:
unchanged:
--- xkeyboard-config-2.5.1.orig/debian/patches/preserve-shift.diff
+++ xkeyboard-config-2.5.1/debian/patches/preserve-shift.diff
@@ -0,0 +1,37 @@
+From a4f62448819764f6f27ebcb86115734d0d57ea8d Mon Sep 17 00:00:00 2001
+From: Sergey V. Udaltsov <svu@gnome.org>
+Date: Sun, 02 Sep 2012 07:57:52 +0000
+Subject: Fixed Shift-F10 behaviour
+
+Preserving shift is essential for many applications
+https://bugs.freedesktop.org/show_bug.cgi?id=45008
+---
+diff --git a/types/pc b/types/pc
+index 01a5634..daebe74 100644
+--- a/types/pc
++++ b/types/pc
+@@ -59,17 +59,19 @@ partial default xkb_types "default" {
+     };
+ 
+     type "CTRL+ALT" {
+-	modifiers = Control+Alt+Shift+LevelThree;
++        modifiers = Control+Alt+Shift+LevelThree;
+         map[None] = Level1;
+         map[Shift] = Level2;
+         map[LevelThree] = Level3;
+         map[Shift+LevelThree] = Level4;
+-	map[Control+Alt] = Level5;
++        map[Control+Alt] = Level5;
++        preserve[Shift] = Shift;
++        preserve[Shift+LevelThree] = Shift;
+         level_name[Level1] = "Base";
+         level_name[Level2] = "Shift";
+         level_name[Level3] = "Alt Base";
+         level_name[Level4] = "Shift Alt";
+-	level_name[Level5] = "Ctrl+Alt";
++        level_name[Level5] = "Ctrl+Alt";
+     };
+ 
+    // Local eight level
+--
+cgit v0.9.0.2-2-gbebe

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: