i3
tiling_drag.h
Go to the documentation of this file.
1 /*
2  * vim:ts=4:sw=4:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
6  *
7  * tiling_drag.h: Reposition tiled windows by dragging.
8  *
9  */
10 #pragma once
11 
12 #include "all.h"
13 
17 typedef enum {
23 
29 bool has_drop_targets(void);
30 
35 void tiling_drag(Con *con, xcb_button_press_event_t *event, bool use_threshold);
bool has_drop_targets(void)
Returns whether there currently are any drop targets.
Definition: tiling_drag.c:42
void tiling_drag(Con *con, xcb_button_press_event_t *event, bool use_threshold)
Initiates a mouse drag operation on a tiled window.
Definition: tiling_drag.c:304
A 'Con' represents everything from the X11 root window down to a single X11 window.
Definition: data.h:671
tiling_drag_t
Tiling drag initiation modes.
Definition: tiling_drag.h:17