aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-29 10:49:29 -0400
committerGitHub <noreply@github.com>2018-07-29 10:49:29 -0400
commit5734d0530c7e320860013cb9465a2e15f5238fb6 (patch)
tree564e8c86293ac44fdebe523945502ea1782fad5c /rootston
parentf572bc065ec82cc469a98e85158fa0fc9ed70c64 (diff)
parent81cc842f8f27461742710b4195443da64c7bfeef (diff)
Merge pull request #1165 from Ongy/reintroduce_is_unmanaged
reintroduce xwayland is_unmanaged
Diffstat (limited to 'rootston')
-rw-r--r--rootston/seat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rootston/seat.c b/rootston/seat.c
index cae548d3..27363d8e 100644
--- a/rootston/seat.c
+++ b/rootston/seat.c
@@ -1124,7 +1124,8 @@ void roots_seat_set_focus(struct roots_seat *seat, struct roots_view *view) {
#ifdef WLR_HAS_XWAYLAND
if (view && view->type == ROOTS_XWAYLAND_VIEW &&
- view->xwayland_surface->override_redirect) {
+ !wlr_xwayland_or_surface_wants_focus(
+ view->xwayland_surface)) {
return;
}
#endif