On Wayland, fix Window::is_decorated with CSD
This commit is contained in:
parent
b166e1ff13
commit
89aa7cc06e
2 changed files with 3 additions and 1 deletions
|
|
@ -52,6 +52,8 @@ fn main() {
|
|||
} => {
|
||||
if let Some(dir) = cursor_location {
|
||||
let _res = window.drag_resize_window(dir);
|
||||
} else if !window.is_decorated() {
|
||||
let _res = window.drag_window();
|
||||
}
|
||||
}
|
||||
WindowEvent::KeyboardInput {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue