fix: ignore resize border on fullscreen/maximized

This commit is contained in:
RipleyTom 2026-07-11 12:35:07 +02:00 • committed by Ashley Wulber
parent 300fa97ee2
commit 3a82d48548

View file

@ -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,