From 3b4824a2fe933a829b9710da069f8e067cf7e1a5 Mon Sep 17 00:00:00 2001 From: Scott Moreau Date: Tue, 8 Oct 2019 10:23:10 -0600 Subject: xwayland: Expose configure request mask Without this information, compositors have no way to tell whether or not to consider the position information valid. Most notably, a compositor needs to know if it should pick a position for the surface or use the position sent in the configure request. --- xwayland/xwm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xwayland') diff --git a/xwayland/xwm.c b/xwayland/xwm.c index fba098d1..c35a9abc 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -871,6 +871,7 @@ static void xwm_handle_configure_request(struct wlr_xwm *xwm, .y = mask & XCB_CONFIG_WINDOW_Y ? ev->y : surface->y, .width = mask & XCB_CONFIG_WINDOW_WIDTH ? ev->width : surface->width, .height = mask & XCB_CONFIG_WINDOW_HEIGHT ? ev->height : surface->height, + .mask = mask, }; wlr_log(WLR_DEBUG, "XCB_CONFIGURE_REQUEST (%u) [%ux%u+%d,%d]", ev->window, wlr_event.width, wlr_event.height, wlr_event.x, wlr_event.y); -- cgit v1.2.3