Adding simple version of the anysize patch ref. #35
This commit is contained in:
parent
eccd7fac9e
commit
f643835542
2 changed files with 6 additions and 1 deletions
|
|
@ -43,6 +43,11 @@
|
|||
*/
|
||||
#define ANYSIZE_NOBAR_PATCH 0
|
||||
|
||||
/* A simple variant of the anysize patch that only changes the resize hints to allow the window to
|
||||
* be resized to any size.
|
||||
*/
|
||||
#define ANYSIZE_SIMPLE_PATCH 0
|
||||
|
||||
/* This patch allows the use of a blinking cursor.
|
||||
* Only cursor styles 0, 1, 3, 5, and 7 blink. Set cursorstyle accordingly.
|
||||
* Cursor styles are defined here:
|
||||
|
|
|
|||
2
x.c
2
x.c
|
|
@ -985,7 +985,7 @@ xhints(void)
|
|||
sizeh->flags = PSize | PResizeInc | PBaseSize | PMinSize;
|
||||
sizeh->height = win.h;
|
||||
sizeh->width = win.w;
|
||||
#if ANYSIZE_PATCH
|
||||
#if ANYSIZE_PATCH || ANYSIZE_SIMPLE_PATCH
|
||||
sizeh->height_inc = 1;
|
||||
sizeh->width_inc = 1;
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue