i3
include
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
{
18
TILING_DRAG_OFF
= 0,
19
TILING_DRAG_MODIFIER
= 1,
20
TILING_DRAG_TITLEBAR
= 2,
21
TILING_DRAG_MODIFIER_OR_TITLEBAR
= 3
22
}
tiling_drag_t
;
23
29
bool
has_drop_targets
(
void
);
30
35
void
tiling_drag
(
Con
*con, xcb_button_press_event_t *event,
bool
use_threshold);
TILING_DRAG_MODIFIER_OR_TITLEBAR
Definition:
tiling_drag.h:21
TILING_DRAG_OFF
Definition:
tiling_drag.h:18
has_drop_targets
bool has_drop_targets(void)
Returns whether there currently are any drop targets.
Definition:
tiling_drag.c:42
TILING_DRAG_TITLEBAR
Definition:
tiling_drag.h:20
TILING_DRAG_MODIFIER
Definition:
tiling_drag.h:19
tiling_drag
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
all.h
Con
A 'Con' represents everything from the X11 root window down to a single X11 window.
Definition:
data.h:671
tiling_drag_t
tiling_drag_t
Tiling drag initiation modes.
Definition:
tiling_drag.h:17
Generated by
1.8.14