SnapToRegion: Allow for live config updates

This commit is contained in:
Consolatis 2023-01-01 18:12:20 +01:00
parent 550e40b56b
commit 07ee56176d
8 changed files with 99 additions and 29 deletions

View file

@ -45,7 +45,7 @@ interactive_begin(struct view *view, enum input_mode mode, uint32_t edges)
*/
return;
}
if (view->maximized || view->tiled || view->tiled_region) {
if (view->maximized || view_is_tiled(view)) {
/*
* Un-maximize and restore natural width/height.
* Don't reset tiled state yet since we may want