X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fresize.h;h=ae26ee992a380b4462e714e5b59ec0db7725e5d0;hb=dbec5eb90585bc22752331f51d8a6bc90d21889c;hp=4a206c0e2643275e654644348b188e225c672a74;hpb=58cbce0380fc65c2998837851abffe8525fc7182;p=i3%2Fi3 diff --git a/include/resize.h b/include/resize.h index 4a206c0e..ae26ee99 100644 --- a/include/resize.h +++ b/include/resize.h @@ -1,28 +1,17 @@ /* - * vim:ts=8:expandtab + * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager + * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE) * - * (c) 2009 Michael Stapelberg and contributors - * - * See file LICENSE for license information. + * resize.c: Interactive resizing. * */ +#ifndef I3_RESIZE_H +#define I3_RESIZE_H -#ifndef _RESIZE_H -#define _RESIZE_H - -#include - -typedef enum { O_HORIZONTAL, O_VERTICAL } resize_orientation_t; +bool resize_find_tiling_participants(Con **current, Con **other, direction_t direction); -/** - * 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); +int resize_graphical_handler(Con *first, Con *second, orientation_t orientation, const xcb_button_press_event_t *event); #endif