[oe-commits] org.oe.dev keylaunch 2.0.10: Apply patch to unbreak key event capture.
pfalcon commit
openembedded-commits at lists.openembedded.org
Mon Nov 26 16:06:26 UTC 2007
keylaunch 2.0.10: Apply patch to unbreak key event capture.
* We of course still want to receive key events even after subscribing to
property events. This fixes when keylaunch doesn't receive forwarded
power buttons events from gpe-login --autolock in its locked state.
In plain words: now power button works with autolock screen.
Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: 505aceb0da97e40dfd63cb0ecddbf1f0b04c61f0
ViewMTN: http://monotone.openembedded.org/revision/info/505aceb0da97e40dfd63cb0ecddbf1f0b04c61f0
Files:
1
packages/keylaunch/files/unbreak-keyevents.patch
packages/keylaunch/keylaunch_2.0.10.bb
Diffs:
#
# mt diff -r5f654b92bf9eefec7c82d512d8c5410dba0152c9 -r505aceb0da97e40dfd63cb0ecddbf1f0b04c61f0
#
#
#
# add_file "packages/keylaunch/files/unbreak-keyevents.patch"
# content [2adb5ed37a6c319f1de6d797029f20c67ba92bb6]
#
# patch "packages/keylaunch/keylaunch_2.0.10.bb"
# from [8d0d0cc40c9ad3221060e92951a9255a81ffeabb]
# to [dec61b8c4a861af63c9030b9c3b0c339915e5760]
#
============================================================
--- packages/keylaunch/files/unbreak-keyevents.patch 2adb5ed37a6c319f1de6d797029f20c67ba92bb6
+++ packages/keylaunch/files/unbreak-keyevents.patch 2adb5ed37a6c319f1de6d797029f20c67ba92bb6
@@ -0,0 +1,22 @@
+# HG changeset patch
+# User "Paul Sokolovsky <pfalcon at users.sourceforge.net>"
+# Date 1196027570 -7200
+# Node ID 282176e5c55dba673756b4707716f06a5c8b37e2
+# Parent 833c989472a7987681ea3b8cbd6f9eb77293177a
+We of course still want to receive key events even after subscribing to
+property events. This fixes when keylaunch doesn't receive forwarded
+power buttons events from gpe-login --autolock in its locked state.
+In plain words: now power button works with autolock screen.
+
+diff -r 833c989472a7 -r 282176e5c55d keylaunch.c
+--- a/keylaunch.c Sun Nov 25 22:04:29 2007 +0200
++++ b/keylaunch.c Sun Nov 25 23:52:50 2007 +0200
+@@ -682,7 +682,7 @@ main (int argc, char *argv[])
+ {
+ initialize (argc, argv);
+
+- XSelectInput (dpy, DefaultRootWindow (dpy), PropertyChangeMask);
++ XSelectInput (dpy, DefaultRootWindow (dpy), PropertyChangeMask | KeyPressMask | KeyReleaseMask);
+ gpe_launch_monitor_display (dpy);
+
+ signal (SIGCHLD, SIG_IGN);
============================================================
--- packages/keylaunch/keylaunch_2.0.10.bb 8d0d0cc40c9ad3221060e92951a9255a81ffeabb
+++ packages/keylaunch/keylaunch_2.0.10.bb dec61b8c4a861af63c9030b9c3b0c339915e5760
@@ -11,9 +11,9 @@ DESCRIPTION = "A small utility for bindi
computers. You can connect each key to a program of your choice; if the\
program is already running, keylaunch can bring its window to the front\
rather than just running another copy."
-PR = "r13.5"
+PR = "r14"
-SRC_URI += " file://makefile-fix.patch;patch=1"
+SRC_URI += " file://makefile-fix.patch;patch=1 file://unbreak-keyevents.patch;patch=1"
export CVSBUILD="no"
More information about the Openembedded-commits
mailing list