sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 4e755c4b123e1dd8478be63ff6b48d2d1ceaa04b
parent 8af4e2e3e67e4e28e9ffad162984c0cc1414d771
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date:   Fri, 17 Aug 2018 23:11:09 +1000

Set current size when a floating xwayland view resizes

This avoids sending an unnecessary configure.

Diffstat:
Msway/desktop/xwayland.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c @@ -293,6 +293,8 @@ static void handle_commit(struct wl_listener *listener, void *data) { // It maps at a small size then changes afterwards. view->width = state->width; view->height = state->height; + view->swayc->current.view_width = state->width; + view->swayc->current.view_height = state->height; container_set_geometry_from_floating_view(view->swayc); transaction_commit_dirty(); }