00001
00002
00003
00004
00005
00006
00007
00008
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