aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-06 12:14:26 -0700
committerGitHub <noreply@github.com>2018-07-06 12:14:26 -0700
commitfc4ed6f037f28102921492ee0b0457771defa80f (patch)
tree1c5b21dbce5ac24a7ab3d3b9f67482c69838cef5 /sway/desktop
parent817e847749240a0c04756c37c88dc554efc56c9e (diff)
parent9a9d9116be4109f733a3309d7f9a7c9edd8db4ae (diff)
Merge pull request #2196 from emersion/xwayland-floating-resize
Fix xwayland floating views unclickable
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/xwayland.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 0669a485..b2874cfe 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -283,7 +283,10 @@ static void handle_commit(struct wl_listener *listener, void *data) {
if (view->swayc->instructions->length) {
transaction_notify_view_ready_by_size(view,
surface_state->width, surface_state->height);
+ } else if (container_is_floating(view->swayc)) {
+ view_update_size(view, surface_state->width, surface_state->height);
}
+
view_damage_from(view);
}