Merge pull request #758 from martinetd/unfullscreen
rootston: Fix segfault in seat unfullscreening
This commit is contained in:
commit
e9ccb705fb
|
@ -733,7 +733,7 @@ void roots_seat_set_focus(struct roots_seat *seat, struct roots_view *view) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (unfullscreen) {
|
if (view && unfullscreen) {
|
||||||
struct roots_desktop *desktop = view->desktop;
|
struct roots_desktop *desktop = view->desktop;
|
||||||
struct roots_output *output;
|
struct roots_output *output;
|
||||||
struct wlr_box box;
|
struct wlr_box box;
|
||||||
|
|
Loading…
Reference in New Issue