aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-27 08:35:49 -0400
committerGitHub <noreply@github.com>2018-03-27 08:35:49 -0400
commite9ccb705fbdbaabe18dffe2a2ffd8ef6b885216b (patch)
treeec72c07643376b5003969af8dcb28e609b029e6e /rootston
parentea9c945e73735bce88e2b11994e27c26329fe3e6 (diff)
parent0c4d347d1ebc7c65cebd3fff40d16d894327cda7 (diff)
Merge pull request #758 from martinetd/unfullscreen
rootston: Fix segfault in seat unfullscreening
Diffstat (limited to 'rootston')
-rw-r--r--rootston/seat.c2
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;