From: Nandor Han <[email protected]> The input area for an undecorated non-fullscreen window is based on the window size itself.
Fixes a case where mouse events in the `invisible' window margin failed to reach the window behind. Signed-off-by: Nandor Han <[email protected]> Signed-off-by: Ian Ray <[email protected]> --- xwayland/window-manager.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index a6b6a39..396d8ce 100644 --- a/xwayland/window-manager.c +++ b/xwayland/window-manager.c @@ -1231,6 +1231,11 @@ weston_wm_window_set_pending_state(struct weston_wm_window *window) if (window->decorate && !window->fullscreen) { frame_input_rect(window->frame, &input_x, &input_y, &input_w, &input_h); + } else if (!window->decorate && !window->fullscreen) { + input_x = x; + input_y = y; + input_w = window->width; + input_h = window->height; } else { input_x = x; input_y = y; -- 2.10.1 _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
