From a0807177593e8ae6971ab5fb6bcdcd893819ef66 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Thu, 14 Jun 2012 07:17:28 +0000 Subject: [PATCH] split full into full/max --- sys-x11.c | 4 ++++ sys.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sys-x11.c b/sys-x11.c index 483844f..28fb9d9 100644 --- a/sys-x11.c +++ b/sys-x11.c @@ -555,6 +555,10 @@ void sys_show(win_t *win, state_t state) XMapWindow(win->sys->dpy, win->sys->xid); XSync(win->sys->dpy, False); break; + case ST_MAX: + printf("sys_show: max %p\n", win); + XMapWindow(win->sys->dpy, win->sys->xid); + break; case ST_FULL: printf("sys_show: full %p\n", win); win_t *screen = NULL; diff --git a/sys.h b/sys.h index e3c0245..db18800 100644 --- a/sys.h +++ b/sys.h @@ -28,7 +28,8 @@ 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_CLOSE, // close the window -- 2.43.2