diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-27 08:35:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-27 08:35:49 -0400 |
commit | e9ccb705fbdbaabe18dffe2a2ffd8ef6b885216b (patch) | |
tree | ec72c07643376b5003969af8dcb28e609b029e6e /rootston | |
parent | ea9c945e73735bce88e2b11994e27c26329fe3e6 (diff) | |
parent | 0c4d347d1ebc7c65cebd3fff40d16d894327cda7 (diff) |
Merge pull request #758 from martinetd/unfullscreen
rootston: Fix segfault in seat unfullscreening
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/seat.c b/rootston/seat.c index 017e6221..bdcad5c7 100644 --- a/rootston/seat.c +++ b/rootston/seat.c @@ -733,7 +733,7 @@ void roots_seat_set_focus(struct roots_seat *seat, struct roots_view *view) { } #endif - if (unfullscreen) { + if (view && unfullscreen) { struct roots_desktop *desktop = view->desktop; struct roots_output *output; struct wlr_box box; |