Display appropriate cursors when resizing or moving floating windows.
This commit is contained in:
@ -134,8 +134,8 @@ void floating_toggle_hide(xcb_connection_t *conn, Workspace *workspace);
|
||||
*
|
||||
*/
|
||||
void drag_pointer(Con *con, const xcb_button_press_event_t *event,
|
||||
xcb_window_t confine_to, border_t border, callback_t callback,
|
||||
const void *extra);
|
||||
xcb_window_t confine_to, border_t border, int cursor,
|
||||
callback_t callback, const void *extra);
|
||||
|
||||
/**
|
||||
* Repositions the CT_FLOATING_CON to have the coordinates specified by
|
||||
|
@ -16,7 +16,12 @@ enum xcursor_cursor_t {
|
||||
XCURSOR_CURSOR_POINTER = 0,
|
||||
XCURSOR_CURSOR_RESIZE_HORIZONTAL,
|
||||
XCURSOR_CURSOR_RESIZE_VERTICAL,
|
||||
XCURSOR_CURSOR_TOP_LEFT_CORNER,
|
||||
XCURSOR_CURSOR_TOP_RIGHT_CORNER,
|
||||
XCURSOR_CURSOR_BOTTOM_LEFT_CORNER,
|
||||
XCURSOR_CURSOR_BOTTOM_RIGHT_CORNER,
|
||||
XCURSOR_CURSOR_WATCH,
|
||||
XCURSOR_CURSOR_MOVE,
|
||||
XCURSOR_CURSOR_MAX
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user