diff options
Diffstat (limited to 'xwayland/window-manager.c')
-rw-r--r-- | xwayland/window-manager.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index 4e91f9dc..29023733 100644 --- a/xwayland/window-manager.c +++ b/xwayland/window-manager.c @@ -2303,6 +2303,13 @@ xserver_map_shell_surface(struct weston_wm_window *window, if (!shell_interface->get_primary_view) return; + if (window->surface->configure) { + weston_log("warning, unexpected in %s: " + "surface's configure hook is already set.\n", + __func__); + return; + } + window->shsurf = shell_interface->create_shell_surface(shell_interface->shell, window->surface, |