Deactivate xwayland when focus leaves there

This commit is contained in:
Drew DeVault 2017-10-06 09:34:22 -04:00
parent 4d7ff3cb48
commit 528f000a7a
3 changed files with 25 additions and 14 deletions

View file

@ -42,6 +42,8 @@ static void activate(struct roots_view *view, bool active) {
if (active) {
wlr_xwayland_surface_activate(view->desktop->xwayland,
view->xwayland_surface);
} else {
wlr_xwayland_surface_activate(view->desktop->xwayland, NULL);
}
}