~ubuntu-branches/ubuntu/trusty/xfce4-power-manager/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/05_fix-brightness-key-modifiers.patch

  • Committer: Package Import Robot
  • Author(s): Lionel Le Folgoc
  • Date: 2012-05-18 21:50:54 UTC
  • mfrom: (21.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20120518215054-yzwvynnzoo09k89x
Tags: 1.2.0-1ubuntu1
* Merge from Debian experimental, remaining Ubuntu changes:
  - 06_fix-suspend-auth-check.patch: added, correctly check for suspend
    permissions before disabling the corresponding drop-down menu item.
    lp #929537
  - 08_show_preferences_lxde.patch: Hide settings menu only on desktop
    environment which have another power manager.
  - 09_fix_insert_battery.patch: Another patch to fix empty icon when
    removing a battery. Thanks Henry Gebhardt for the patch.
  - xubuntu_fix-status-icon-other-devices.patch: fix broken status icons
    for other devices (phone, wireless kbd, mouse, etc.).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: grab the key with any modifier set
2
 
Origin: other, https://bugzilla.xfce.org/attachment.cgi?id=3762
3
 
Bug: https://bugzilla.xfce.org/show_bug.cgi?id=6549
4
 
 
5
 
diff --git a/src/xfpm-button.c b/src/xfpm-button.c
6
 
index d2a92e0..70c07a1 100644
7
 
--- a/src/xfpm-button.c
8
 
+++ b/src/xfpm-button.c
9
 
@@ -125,7 +125,7 @@ xfpm_button_grab_keystring (XfpmButton *button, guint keycode)
10
 
 {
11
 
     Display *display;
12
 
     guint ret;
13
 
-    guint modmask = 0;
14
 
+    guint modmask = AnyModifier;
15
 
     
16
 
     display = GDK_DISPLAY ();
17