mirror of
https://github.com/labwc/labwc.git
synced 2026-03-12 05:33:53 -04:00
interactive.c: do not allow move/resize when maximized
This commit is contained in:
parent
ebd167a5eb
commit
6ece805e88
1 changed files with 4 additions and 0 deletions
|
|
@ -3,6 +3,10 @@
|
||||||
void
|
void
|
||||||
interactive_begin(struct view *view, enum input_mode mode, uint32_t edges)
|
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
|
* This function sets up an interactive move or resize operation, where
|
||||||
* the compositor stops propegating pointer events to clients and
|
* the compositor stops propegating pointer events to clients and
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue