[Xfce4-commits] <xfce4-appfinder:master> Don't select the entry if only "l" is pressed.
Jannis Pohlmann
noreply at xfce.org
Tue Nov 22 20:08:01 CET 2011
Updating branch refs/heads/master
to aa65c1a466584fb83150ec0321c3b319f639a9f4 (commit)
from 3ffdc528b5d8b13fa1923772040065ba31b66b4b (commit)
commit aa65c1a466584fb83150ec0321c3b319f639a9f4
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Tue Nov 22 19:06:18 2011 +0000
Don't select the entry if only "l" is pressed.
The bit-and operation was actually a boolean and operation here.
src/appfinder-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/appfinder-window.c b/src/appfinder-window.c
index 382f155..351b4d2 100644
--- a/src/appfinder-window.c
+++ b/src/appfinder-window.c
@@ -435,7 +435,7 @@ xfce_appfinder_window_key_press_event (GtkWidget *widget,
return TRUE;
}
else if (event->keyval == GDK_l
- && (event->state && GDK_CONTROL_MASK) != 0)
+ && (event->state & GDK_CONTROL_MASK) != 0)
{
entry = XFCE_APPFINDER_WINDOW (widget)->entry;
More information about the Xfce4-commits
mailing list