re-do various bits of {,h,v}max for simplicity and less flag handling.

as a bonus, flipping between various combinations of vmax+hmax provides
a more predictable behavior.

commitski oga@
This commit is contained in:
okan
2011-06-24 06:01:47 +00:00
parent c566b31bd0
commit b230e611be
2 changed files with 18 additions and 34 deletions

View File

@@ -140,13 +140,10 @@ struct client_ctx {
int xproto;
#define CLIENT_HIDDEN 0x0001
#define CLIENT_IGNORE 0x0002
#define CLIENT_DOMAXIMIZE 0x0004
#define CLIENT_MAXIMIZED 0x0008
#define CLIENT_DOVMAXIMIZE 0x0010
#define CLIENT_VMAXIMIZED 0x0020
#define CLIENT_DOHMAXIMIZE 0x0040
#define CLIENT_HMAXIMIZED 0x0080
#define CLIENT_FREEZE 0x0100
#define CLIENT_MAXIMIZED 0x0004
#define CLIENT_VMAXIMIZED 0x0008
#define CLIENT_HMAXIMIZED 0x0010
#define CLIENT_FREEZE 0x0020
int flags;
int state;
int active;