i3
|
#include "all.h"
Go to the source code of this file.
Data Structures | |
struct | callback_params |
Macros | |
#define | I3__FILE__ "resize.c" |
Functions | |
DRAGGING_CB (resize_callback) | |
bool | resize_find_tiling_participants (Con **current, Con **other, direction_t direction) |
int | resize_graphical_handler (Con *first, Con *second, orientation_t orientation, const xcb_button_press_event_t *event) |
Variables | |
xcb_connection_t * | conn |
DRAGGING_CB | ( | resize_callback | ) |
Definition at line 30 of file resize.c.
References conn, DLOG, Rect::height, callback_params::helpwin, HORIZ, callback_params::new_position, callback_params::orientation, callback_params::output, Con::rect, Rect::width, Rect::x, and Rect::y.
bool resize_find_tiling_participants | ( | Con ** | current, |
Con ** | other, | ||
direction_t | direction | ||
) |
Definition at line 54 of file resize.c.
References con_orientation(), D_LEFT, D_RIGHT, D_UP, DLOG, HORIZ, L_STACKED, L_TABBED, Con::layout, Con::parent, TAILQ_NEXT, TAILQ_PREV, Con::type, and VERT.
Referenced by cmd_resize_tiling_direction(), and tiling_resize_for_border().
int resize_graphical_handler | ( | Con * | first, |
Con * | second, | ||
orientation_t | orientation, | ||
const xcb_button_press_event_t * | event | ||
) |
Definition at line 102 of file resize.c.
References Colortriple::border, BORDER_TOP, Config::client, con_fix_percent(), con_get_output(), config, conn, create_window(), DLOG, drag_pointer(), DRAG_REVERT, Config::config_client::focused, Rect::height, callback_params::helpwin, HORIZ, logical_px(), callback_params::new_position, callback_params::orientation, callback_params::output, Con::parent, Con::percent, Con::rect, Rect::width, Rect::x, x_mask_event_mask(), XCURSOR_CURSOR_POINTER, XCURSOR_CURSOR_RESIZE_HORIZONTAL, XCURSOR_CURSOR_RESIZE_VERTICAL, and Rect::y.
Referenced by tiling_resize_for_border().