dynamic padding - add explicit dependency on the ANYSIZE_PATCH ref. #168
This commit is contained in:
parent
5d5fe76795
commit
0aad70af58
2 changed files with 2 additions and 5 deletions
|
|
@ -160,6 +160,8 @@
|
||||||
* effect when the size hints are intentionally ignored.
|
* effect when the size hints are intentionally ignored.
|
||||||
* An example of this would be dwm respecting the size hints of floating windows, but disrespecting
|
* An example of this would be dwm respecting the size hints of floating windows, but disrespecting
|
||||||
* the size hints when the window is tiled (provided that resizehints config is set to 0).
|
* the size hints when the window is tiled (provided that resizehints config is set to 0).
|
||||||
|
*
|
||||||
|
* Note that this patch depends on ANYSIZE_PATCH being enabled to have an effect.
|
||||||
*/
|
*/
|
||||||
#define DYNAMIC_PADDING_PATCH 0
|
#define DYNAMIC_PADDING_PATCH 0
|
||||||
|
|
||||||
|
|
|
||||||
5
st.h
5
st.h
|
|
@ -11,11 +11,6 @@
|
||||||
#include <X11/XKBlib.h>
|
#include <X11/XKBlib.h>
|
||||||
#include "patches.h"
|
#include "patches.h"
|
||||||
|
|
||||||
#if DYNAMIC_PADDING_PATCH
|
|
||||||
#undef ANYSIZE_PATCH
|
|
||||||
#define ANYSIZE_PATCH 1
|
|
||||||
#endif // DYNAMIC_PADDING_PATCH
|
|
||||||
|
|
||||||
/* macros */
|
/* macros */
|
||||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||||
#define MAX(a, b) ((a) < (b) ? (b) : (a))
|
#define MAX(a, b) ((a) < (b) ? (b) : (a))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue