Bugfix: checked for wrong flag in size hints
This commit is contained in:
parent
296a0078ad
commit
7839b7a4fe
@ -880,7 +880,7 @@ int handle_normal_hints(void *data, xcb_connection_t *conn, uint8_t state, xcb_w
|
|||||||
/* base_width/height are the desired size of the window.
|
/* base_width/height are the desired size of the window.
|
||||||
We check if either the program-specified size or the program-specified
|
We check if either the program-specified size or the program-specified
|
||||||
min-size is available */
|
min-size is available */
|
||||||
if (size_hints.flags & XCB_SIZE_HINT_P_SIZE) {
|
if (size_hints.flags & XCB_SIZE_HINT_BASE_SIZE) {
|
||||||
base_width = size_hints.base_width;
|
base_width = size_hints.base_width;
|
||||||
base_height = size_hints.base_height;
|
base_height = size_hints.base_height;
|
||||||
} else if (size_hints.flags & XCB_SIZE_HINT_P_MIN_SIZE) {
|
} else if (size_hints.flags & XCB_SIZE_HINT_P_MIN_SIZE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user