Activate only active xwayland views

Fix #217
This commit is contained in:
Versus Void 2017-10-06 13:57:25 +03:00
parent b2d478a418
commit 4d7ff3cb48

View File

@ -39,9 +39,11 @@ static void handle_request_configure(struct wl_listener *listener, void *data) {
}
static void activate(struct roots_view *view, bool active) {
if (active) {
wlr_xwayland_surface_activate(view->desktop->xwayland,
view->xwayland_surface);
}
}
void handle_xwayland_surface(struct wl_listener *listener, void *data) {
struct roots_desktop *desktop =