aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-29 11:52:55 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-29 11:56:04 +0000
commit43b07b122a1fa460bdda3edc529726e3b6a6463d (patch)
tree860825ca093fc4db1e58634ebc8acf4cb9442700 /wayland.h
parentwayland: remove all usages of wayl_terminal_from_surface() (diff)
input: csd: add a small delay before initiating a move
This ensures the user has time to double-click to toggle the maximized state.
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index a18b40a3..4d73be42 100644
--- a/wayland.h
+++ b/wayland.h
@@ -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 */