mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
src/view.c: Prevent SnapToEdge while in fullscreen
This commit is contained in:
parent
2f7b1fd5fb
commit
7bdcef51b7
1 changed files with 3 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue