i3
tiling_drag.h
Go to the documentation of this file.
1/*
2 * vim:ts=4:sw=4:expandtab
3 *
4 * i3 - an improved 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
23
29bool has_drop_targets(void);
30
35void tiling_drag(Con *con, xcb_button_press_event_t *event, bool use_threshold);
tiling_drag_t
Tiling drag initiation modes.
Definition tiling_drag.h:17
@ TILING_DRAG_MODIFIER_OR_TITLEBAR
Definition tiling_drag.h:21
@ TILING_DRAG_OFF
Definition tiling_drag.h:18
@ TILING_DRAG_TITLEBAR
Definition tiling_drag.h:20
@ TILING_DRAG_MODIFIER
Definition tiling_drag.h:19
void tiling_drag(Con *con, xcb_button_press_event_t *event, bool use_threshold)
Initiates a mouse drag operation on a tiled window.
bool has_drop_targets(void)
Returns whether there currently are any drop targets.
Definition tiling_drag.c:42
A 'Con' represents everything from the X11 root window down to a single X11 window.
Definition data.h:643