shell: Fix bug when input panel is shown twice
Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
0c36903fb3
commit
451a97136f
@@ -2803,6 +2803,9 @@ show_input_panels(struct wl_listener *listener, void *data)
|
|||||||
struct input_panel_surface *surface, *next;
|
struct input_panel_surface *surface, *next;
|
||||||
struct weston_surface *ws;
|
struct weston_surface *ws;
|
||||||
|
|
||||||
|
if (shell->showing_input_panels)
|
||||||
|
return;
|
||||||
|
|
||||||
shell->showing_input_panels = true;
|
shell->showing_input_panels = true;
|
||||||
|
|
||||||
if (!shell->locked)
|
if (!shell->locked)
|
||||||
|
|||||||
Reference in New Issue
Block a user