fix: ignore resize border on fullscreen/maximized
This commit is contained in:
parent
300fa97ee2
commit
3a82d48548
1 changed files with 4 additions and 1 deletions
|
|
@ -49,7 +49,10 @@ pub fn event_func(
|
|||
position,
|
||||
..
|
||||
} => {
|
||||
if !window.is_decorated() {
|
||||
let resizable = !window.is_decorated()
|
||||
&& !window.is_maximized()
|
||||
&& window.fullscreen().is_none();
|
||||
if resizable {
|
||||
let location = cursor_resize_direction(
|
||||
window.surface_size(),
|
||||
*position,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue