Bugfix: Correctly do boundary checking/moving to other workspaces when moving floating clients via keyboard (Thanks sasha)

This commit is contained in:
Michael Stapelberg
2010-02-12 13:06:59 +01:00
parent 0b6b8e8380
commit 87f8c501da
3 changed files with 28 additions and 9 deletions

View File

@ -78,6 +78,12 @@ enum {
* It needs to be packed so that the compiler will not add any padding bytes.
* (it is used in src/ewmh.c for example)
*
* Note that x and y can contain signed values in some cases (for example when
* used for the coordinates of a window, which can be set outside of the
* visible area, but not when specifying the position of a workspace for the
* _NET_WM_WORKAREA hint). Not declaring x/y as int32_t saves us a lot of
* typecasts.
*
*/
struct Rect {
uint32_t x;