debug print modified and the confignotify test
This commit is contained in:
parent
2521fd24c5
commit
8e19e99ac8
2 changed files with 7 additions and 3 deletions
|
@ -1110,8 +1110,8 @@ static void client_get_area(ObClient *self)
|
|||
POINT_SET(self->root_pos, wattrib.x, wattrib.y);
|
||||
self->border_width = wattrib.border_width;
|
||||
|
||||
ob_debug("client area: %d %d %d %d\n", wattrib.x, wattrib.y,
|
||||
wattrib.width, wattrib.height);
|
||||
ob_debug("client area: %d %d %d %d bw %d\n", wattrib.x, wattrib.y,
|
||||
wattrib.width, wattrib.height, wattrib.border_width);
|
||||
}
|
||||
|
||||
static void client_get_desktop(ObClient *self)
|
||||
|
|
|
@ -35,7 +35,7 @@ int main () {
|
|||
}
|
||||
|
||||
win = XCreateWindow(display, RootWindow(display, 0),
|
||||
x, y, w, h, 10, CopyFromParent, CopyFromParent,
|
||||
x, y, w, h, 0, CopyFromParent, CopyFromParent,
|
||||
CopyFromParent, 0, NULL);
|
||||
|
||||
XSetWindowBackground(display,win,WhitePixel(display,0));
|
||||
|
@ -46,6 +46,10 @@ int main () {
|
|||
XMapWindow(display, win);
|
||||
XFlush(display);
|
||||
|
||||
sleep(1);
|
||||
XResizeWindow(display, win, w+5, h+5);
|
||||
XMoveWindow(display, win, x, y);
|
||||
|
||||
while (1) {
|
||||
XNextEvent(display, &report);
|
||||
|
||||
|
|
Loading…
Reference in a new issue