summaryrefslogtreecommitdiff
path: root/openbox/tiling.h
blob: 9ba774e7fc627c3f3b9fe5483bbf0ab466582c82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef OB_TILING_H
#define OB_TILING_H

#include <glib.h>

struct _ObClient;

void tiling_toggle(guint monitor);
void tiling_flip(guint monitor);
void tiling_change_count(guint monitor, gboolean main_stack, gint delta);
void tiling_promote(struct _ObClient *client);
void tiling_assign(struct _ObClient *client, guint key);
void tiling_recall(guint key);
guint tiling_key(struct _ObClient *client);
void tiling_forget(struct _ObClient *client);
void tiling_client_changed(struct _ObClient *client);
void tiling_action_moved(struct _ObClient *client);
void tiling_screen_changed(void);
void tiling_shutdown(gboolean reconfigure);

gboolean tiling_move_preview(struct _ObClient *client, gint x, gint y);
void tiling_move_end(struct _ObClient *client, gboolean cancel);
void tiling_resize_begin(struct _ObClient *client);
void tiling_resize_adjust(struct _ObClient *client, gint *x, gint *y,
                           gint *width, gint *height);
void tiling_resize_end(struct _ObClient *client, gboolean cancel);

#endif