From: Jan Arne Petersen Date: Mon, 3 Dec 2012 14:36:02 +0000 (+0100) Subject: shell: Do not remove input panel layer when locked X-Git-Tag: accepted/2.0alpha-wayland/20130215.220742~102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=246b965128022ce32541087edd5a846c08a58286;p=profile%2Fivi%2Fweston.git shell: Do not remove input panel layer when locked Do not remove the input panel layer from the layer list when the shell is locked in hide_input_panels(). https://bugs.freedesktop.org/show_bug.cgi?id=56543 Signed-off-by: Jan Arne Petersen --- diff --git a/src/shell.c b/src/shell.c index 012c2ac..9313960 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2806,7 +2806,8 @@ hide_input_panels(struct wl_listener *listener, void *data) shell->showing_input_panels = false; - wl_list_remove(&shell->input_panel_layer.link); + if (!shell->locked) + wl_list_remove(&shell->input_panel_layer.link); wl_list_for_each_safe(surface, next, &shell->input_panel_layer.surface_list, layer_link)