sway

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

commit 790cf11c18af7dbca218ba1253a098708989003d
parent 8a97d3a4941f2f46021ff83b98d684676f53e8c1
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sat,  3 Mar 2018 10:51:28 -0500

Merge pull request #1616 from martinetd/xwayland_nowidth

xwayland: do not send surface configure when no width/height
Diffstat:
Msway/desktop/xwayland.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c @@ -67,6 +67,10 @@ static void set_position(struct sway_view *view, double ox, double oy) { view->swayc->x = ox; view->swayc->y = oy; + if (view->width == 0 || view->height == 0) { + return; + } + wlr_xwayland_surface_configure(view->wlr_xwayland_surface, ox + loutput->x, oy + loutput->y, view->width, view->height);