shell: Don't allow maximizing fullscreen windows
This commit is contained in:
parent
bf6ea3414b
commit
3485d82788
1 changed files with 3 additions and 0 deletions
|
|
@ -2816,6 +2816,9 @@ impl Shell {
|
|||
if window.is_maximized(true) {
|
||||
self.unmaximize_request(window);
|
||||
} else {
|
||||
if window.is_fullscreen(true) {
|
||||
return;
|
||||
}
|
||||
self.maximize_request(window, seat);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue