diff --git a/desktop-shell/input-panel.c b/desktop-shell/input-panel.c index 32be44ba..8fd25b0e 100644 --- a/desktop-shell/input-panel.c +++ b/desktop-shell/input-panel.c @@ -68,7 +68,7 @@ show_input_panels(struct wl_listener *listener, void *data) wl_list_for_each_safe(ipsurf, next, &shell->input_panel.surfaces, link) { - if (!ipsurf->surface->buffer_ref.buffer) + if (ipsurf->surface->width == 0) continue; wl_list_insert(&shell->input_panel_layer.view_list, &ipsurf->view->layer_link);