From fc25ef5568291528f6e1c3463b3b142139eb8e8d Mon Sep 17 00:00:00 2001 From: aura Date: Fri, 2 Oct 2026 00:29:58 +0200 Subject: add tiling --- openbox/tiling.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 openbox/tiling.h (limited to 'openbox/tiling.h') diff --git a/openbox/tiling.h b/openbox/tiling.h new file mode 100644 index 00000000..9ba774e7 --- /dev/null +++ b/openbox/tiling.h @@ -0,0 +1,28 @@ +#ifndef OB_TILING_H +#define OB_TILING_H + +#include + +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 -- cgit v1.2.3