src/view.c: Prevent SnapToEdge while in fullscreen

This commit is contained in:
Consolatis 2022-07-01 20:42:09 +02:00 committed by Johan Malm
parent 2f7b1fd5fb
commit 7bdcef51b7

View file

@ -660,6 +660,9 @@ view_snap_to_edge(struct view *view, const char *direction)
wlr_log(WLR_ERROR, "no view");
return;
}
if (view->fullscreen) {
return;
}
struct output *output = view_output(view);
if (!output) {
wlr_log(WLR_ERROR, "no output");