]> git.sur5r.net Git - i3/i3/blobdiff - include/resize.h
Merge pull request #1657 from Georgiy-Tugai/fix-flickering-shortened
[i3/i3] / include / resize.h
index 520d4398431c5624286a5ff6ded67bb23b5a5f17..945678d98b6d518c31e2ab597d7e2bcc35255645 100644 (file)
@@ -1,27 +1,14 @@
 /*
- * vim:ts=8:expandtab
+ * vim:ts=4:sw=4:expandtab
  *
  * i3 - an improved dynamic tiling window manager
+ * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
  *
- * (c) 2009 Michael Stapelberg and contributors
- *
- * See file LICENSE for license information.
+ * resize.c: Interactive resizing.
  *
  */
+#pragma once
 
-#ifndef _RESIZE_H
-#define _RESIZE_H
-
-#include <xcb/xcb.h>
-
-typedef enum { O_HORIZONTAL, O_VERTICAL } resize_orientation_t;
-
-/**
- * Renders the resize window between the first/second container and resizes
- * the table column/row.
- *
- */
-int resize_graphical_handler(xcb_connection_t *conn, Workspace *ws, int first, int second,
-                             resize_orientation_t orientation, xcb_button_press_event_t *event);
+bool resize_find_tiling_participants(Con **current, Con **other, direction_t direction);
 
-#endif
+int resize_graphical_handler(Con *first, Con *second, orientation_t orientation, const xcb_button_press_event_t *event);