mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
split off window hints from geometry so we don't need to carry them all
around when dealing with {,h,v}max. same idea from oga.
This commit is contained in:
4
calmwm.h
4
calmwm.h
@@ -121,6 +121,8 @@ struct client_ctx {
|
||||
int y; /* y position */
|
||||
int width; /* width */
|
||||
int height;/* height */
|
||||
} geom, savegeom;
|
||||
struct {
|
||||
int basew; /* desired width */
|
||||
int baseh; /* desired height */
|
||||
int minw; /* minimum width */
|
||||
@@ -131,7 +133,7 @@ struct client_ctx {
|
||||
int inch; /* height increment progression */
|
||||
float mina; /* minimum aspect ratio */
|
||||
float maxa; /* maximum aspect ratio */
|
||||
} geom, savegeom;
|
||||
} hint;
|
||||
struct {
|
||||
int x; /* x position */
|
||||
int y; /* y position */
|
||||
|
||||
Reference in New Issue
Block a user