Adding simple version of the anysize patch ref. #35
This commit is contained in:
parent
eccd7fac9e
commit
f643835542
|
@ -43,6 +43,11 @@
|
||||||
*/
|
*/
|
||||||
#define ANYSIZE_NOBAR_PATCH 0
|
#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.
|
/* This patch allows the use of a blinking cursor.
|
||||||
* Only cursor styles 0, 1, 3, 5, and 7 blink. Set cursorstyle accordingly.
|
* Only cursor styles 0, 1, 3, 5, and 7 blink. Set cursorstyle accordingly.
|
||||||
* Cursor styles are defined here:
|
* Cursor styles are defined here:
|
||||||
|
|
2
x.c
2
x.c
|
@ -985,7 +985,7 @@ xhints(void)
|
||||||
sizeh->flags = PSize | PResizeInc | PBaseSize | PMinSize;
|
sizeh->flags = PSize | PResizeInc | PBaseSize | PMinSize;
|
||||||
sizeh->height = win.h;
|
sizeh->height = win.h;
|
||||||
sizeh->width = win.w;
|
sizeh->width = win.w;
|
||||||
#if ANYSIZE_PATCH
|
#if ANYSIZE_PATCH || ANYSIZE_SIMPLE_PATCH
|
||||||
sizeh->height_inc = 1;
|
sizeh->height_inc = 1;
|
||||||
sizeh->width_inc = 1;
|
sizeh->width_inc = 1;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue