30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
|
--- awesome-3.5.6/objects/client.c.orig 2015-11-06 13:31:38.767875330 +0300
|
||
|
+++ awesome-3.5.6/objects/client.c 2015-11-06 13:32:34.933876384 +0300
|
||
|
@@ -623,7 +623,7 @@
|
||
|
/* Size hints are applied to the window without any decoration */
|
||
|
client_remove_titlebar_geometry(c, &geometry);
|
||
|
|
||
|
- if(c->size_hints.flags & XCB_ICCCM_SIZE_HINT_P_SIZE)
|
||
|
+ if(c->size_hints.flags & XCB_ICCCM_SIZE_HINT_BASE_SIZE)
|
||
|
{
|
||
|
basew = c->size_hints.base_width;
|
||
|
baseh = c->size_hints.base_height;
|
||
|
@@ -642,7 +642,7 @@
|
||
|
minw = c->size_hints.min_width;
|
||
|
minh = c->size_hints.min_height;
|
||
|
}
|
||
|
- else if(c->size_hints.flags & XCB_ICCCM_SIZE_HINT_P_SIZE)
|
||
|
+ else if(c->size_hints.flags & XCB_ICCCM_SIZE_HINT_BASE_SIZE)
|
||
|
{
|
||
|
/* min size is substituted with base size if not specified */
|
||
|
minw = c->size_hints.base_width;
|
||
|
@@ -2017,7 +2017,7 @@
|
||
|
|
||
|
if(c->size_hints.flags & XCB_ICCCM_SIZE_HINT_US_SIZE)
|
||
|
u_or_p = "user_size";
|
||
|
- else if(c->size_hints.flags & XCB_ICCCM_SIZE_HINT_P_SIZE)
|
||
|
+ else if(c->size_hints.flags & XCB_ICCCM_SIZE_HINT_BASE_SIZE)
|
||
|
u_or_p = "program_size";
|
||
|
|
||
|
if(u_or_p)
|