Floating resize uses arbitrary corners

This closes ticket #121
This commit is contained in:
Axel Wagner
2010-03-12 01:31:48 +01:00
committed by Michael Stapelberg
parent 4cbece46c2
commit 0f5256dc72
2 changed files with 61 additions and 12 deletions

View File

@ -21,7 +21,10 @@ typedef void(*callback_t)(xcb_connection_t*, Client*, Rect*, uint32_t, uint32_t,
void *extra)
/** On which border was the dragging initiated? */
typedef enum { BORDER_LEFT, BORDER_RIGHT, BORDER_TOP, BORDER_BOTTOM} border_t;
typedef enum { BORDER_LEFT = (1 << 0),
BORDER_RIGHT = (1 << 1),
BORDER_TOP = (1 << 2),
BORDER_BOTTOM = (1 << 3)} border_t;
/**
* Enters floating mode for the given client. Correctly takes care of the