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;
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