interactive.c: do not allow move/resize when maximized

This commit is contained in:
Johan Malm 2021-03-06 18:34:52 +00:00
parent ebd167a5eb
commit 6ece805e88

View file

@ -3,6 +3,10 @@
void
interactive_begin(struct view *view, enum input_mode mode, uint32_t edges)
{
if (view->maximized) {
return;
}
/*
* This function sets up an interactive move or resize operation, where
* the compositor stops propegating pointer events to clients and