From c94e1a5dfb1df6ef5292efe8116084f95220d1a1 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 24 Jun 2011 06:01:47 +0000 Subject: 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@ --- calmwm.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index a7abad3..8e37e3b 100644 --- a/calmwm.h +++ b/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.129 2011/06/24 05:45:57 okan Exp $ + * $OpenBSD: calmwm.h,v 1.130 2011/06/24 06:01:47 okan Exp $ */ #ifndef _CALMWM_H_ @@ -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; -- cgit v1.2.3-2-gb3c3