summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
388eb86)
This matches the win32 behavior and prevents stacked windows from
overlapping each other. This causes some flickering in pidign, possibly
because the text area overlaps the menu bar when the window is shaded.
/* Configuration */
static int border = 2;
static int no_capture = 0;
/* Configuration */
static int border = 2;
static int no_capture = 0;
/* Internal structures */
struct win_sys {
/* Internal structures */
struct win_sys {
break;
case ST_SHADE:
printf("sys_show: shade %p\n", win);
break;
case ST_SHADE:
printf("sys_show: shade %p\n", win);
+ XConfigureWindow(win->sys->dpy, win->sys->xid, CWHeight,
+ &(XWindowChanges){ .height = stack });
XMapWindow(win->sys->dpy, win->sys->xid);
break;
case ST_ICON:
XMapWindow(win->sys->dpy, win->sys->xid);
break;
case ST_ICON:
Window xid;
/* Load configuration */
Window xid;
/* Load configuration */
+ stack = conf_get_int("main.stack", stack);
border = conf_get_int("main.border", border);
no_capture = conf_get_int("main.no-capture", no_capture);
border = conf_get_int("main.border", border);
no_capture = conf_get_int("main.no-capture", no_capture);