X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=sys.h;h=db18800c0724e20903652046744ce64bf83d1431;hb=4d7f5ec4dcc436ba1b29a0db8fe4531fccc48af8;hp=2ac76a1c4c75e84d2f2d3a86197e98e5b1bdc7b7;hpb=7e8ce091da421353576edbd2a4a4e620fe0a62bd;p=wmpus diff --git a/sys.h b/sys.h index 2ac76a1..db18800 100644 --- a/sys.h +++ b/sys.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Andy Spencer + * Copyright (c) 2011-2012, Andy Spencer * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -26,11 +26,13 @@ /* Window states */ typedef enum { + ST_HIDE, // completely hidden ST_SHOW, // show as regular window - ST_FULL, // fullscreen/maximized + ST_FULL, // fullscreen (without decorations) + ST_MAX, // maximized (with decorations) ST_SHADE, // show titlebar only ST_ICON, // iconified/minimized - ST_HIDE, // completely hidden + ST_CLOSE, // close the window } state_t; /* Basic window type */