#include "all.h"
Go to the source code of this file.
Data Structures | |
struct | callback_params |
Functions | |
DRAGGING_CB (resize_callback) | |
int | resize_graphical_handler (Con *first, Con *second, orientation_t orientation, xcb_button_press_event_t *event) |
Variables | |
xcb_connection_t * | conn |
DRAGGING_CB | ( | resize_callback | ) |
Definition at line 22 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.
int resize_graphical_handler | ( | Con * | first, | |
Con * | second, | |||
orientation_t | orientation, | |||
xcb_button_press_event_t * | event | |||
) |
Definition at line 46 of file resize.c.
References Colortriple::border, BORDER_TOP, Config::client, con_fix_percent(), con_get_output(), config, conn, create_window(), DLOG, drag_pointer(), Config::config_client::focused, Rect::height, callback_params::helpwin, HORIZ, callback_params::new_position, callback_params::output, Con::parent, Con::percent, Con::rect, Rect::width, Rect::x, XCURSOR_CURSOR_POINTER, XCURSOR_CURSOR_RESIZE_HORIZONTAL, XCURSOR_CURSOR_RESIZE_VERTICAL, and Rect::y.
Referenced by tiling_resize_for_border().