input: csd: add a small delay before initiating a move

This ensures the user has time to double-click to toggle the maximized
state.
This commit is contained in:
Daniel Eklöf 2020-02-29 12:52:55 +01:00
parent c917a74f48
commit 43b07b122a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 43 additions and 5 deletions

View file

@ -106,6 +106,9 @@ struct wl_window {
struct wl_surface *surface[5];
struct wl_subsurface *sub_surface[5];
int x, y;
int move_timeout_fd;
uint32_t serial;
} csd;
/* Scrollback search */