i3
|
00001 /* 00002 * vim:ts=8:expandtab 00003 * 00004 * i3 - an improved dynamic tiling window manager 00005 * 00006 * (c) 2009 Michael Stapelberg and contributors 00007 * 00008 * See file LICENSE for license information. 00009 * 00010 */ 00011 00012 #ifndef _RESIZE_H 00013 #define _RESIZE_H 00014 00015 #include <xcb/xcb.h> 00016 00017 typedef enum { O_HORIZONTAL, O_VERTICAL } resize_orientation_t; 00018 00024 int resize_graphical_handler(xcb_connection_t *conn, Workspace *ws, int first, 00025 int second, resize_orientation_t orientation, 00026 xcb_button_press_event_t *event); 00033 void resize_container(xcb_connection_t *conn, Workspace *ws, int first, int second, 00034 resize_orientation_t orientation, int pixels); 00035 00036 #endif