wm_handle_key(win, key, MOD(), PTR());
}
else if (type == ConfigureNotify) {
- //printf("configure: %d\n", type);
+ printf("configure: %d\n", type);
}
else if (type == MapNotify) {
- //printf("map: %d\n", type);
+ printf("map: %d\n", type);
}
else if (type == UnmapNotify) {
//printf("unmap: %d\n", type);
win->x = MAX(x,0); win->y = MAX(y,0);
win->w = MAX(w,1); win->h = MAX(h,1);
XMoveResizeWindow(win->sys->dpy, win->sys->xid,
- win->x, win->y, win->w, win-h);
+ win->x, win->y, win->w, win->h);
/* Flush events, so moving window doesn't cuase re-focus
* There's probably a better way to do this */