fix(wayland): closing toplevels

This commit is contained in:
Nova
2023-09-03 11:02:42 -04:00
parent 1f66d7dee4
commit 7c6b2f5949
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>>,