Commit 97625159 authored by Guido Gunther's avatar Guido Gunther
Browse files

home: Don't pass on <return> to search bar

otherwise we end up activating from the search bar twice thus
launching the apps two times (which  most of the times doesn't
matter due to the apps single instance pattern but e.g. Firefox
shows the issue).

Fixes 60f6a2e1

Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent bcb3399f
......@@ -219,6 +219,9 @@ window_key_press_event_cb (PhoshHome *self, GdkEvent *event, gpointer data)
phosh_home_set_state (self, PHOSH_HOME_STATE_FOLDED);
ret = GDK_EVENT_STOP;
break;
case GDK_KEY_Return:
ret = GDK_EVENT_PROPAGATE;
break;
default:
/* Focus search when typing */
ret = phosh_overview_handle_search (PHOSH_OVERVIEW (self->overview), event);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment