fix(wayland): closing toplevels

This commit is contained in:
Nova
2023-09-03 11:02:42 -04:00
parent a4d3ec537f
commit 5360230ca7
3 changed files with 35 additions and 23 deletions

View File

@@ -124,7 +124,7 @@ pub enum KeyboardEvent {
Key { key: u32, state: u32 },
}
const POINTER_EVENT_TIMEOUT: Duration = Duration::from_secs(1);
const POINTER_EVENT_TIMEOUT: Duration = Duration::from_millis(50);
struct SurfaceInfo {
wl_surface: WlWeak<WlSurface>,
cursor_sender: watch::Sender<Option<CursorInfo>>,