sway

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

commit 778b90d13e9b78c980ae17c6fc0eb0e93e1d2ac5
parent 48c84cd1f8175223ce5a744d6508a9f4bdbe3867
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon, 23 Apr 2018 10:44:06 +0200

Merge pull request #1846 from RyanDwyer/fullscreen-xwayland-unmanaged

Render unmanaged xwayland views when an xwayland view is fullscreen
Diffstat:
Msway/desktop/output.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/sway/desktop/output.c b/sway/desktop/output.c @@ -282,6 +282,11 @@ static void render_output(struct sway_output *output, struct timespec *when, wlr_renderer_clear(renderer, clear_color); // TODO: handle views smaller than the output render_container(output, workspace->sway_workspace->fullscreen->swayc); + + if (workspace->sway_workspace->fullscreen->type == SWAY_VIEW_XWAYLAND) { + render_unmanaged(output, + &root_container.sway_root->xwayland_unmanaged); + } } else { float clear_color[] = {0.25f, 0.25f, 0.25f, 1.0f}; wlr_renderer_clear(renderer, clear_color);