changeset 1133 | 08868aaeee8b |
parent 1132 | a1c28da5bc91 |
child 1134 | 60781abf8aa7 |
1132:a1c28da5bc91 | 1133:08868aaeee8b |
---|---|
1489 |
1489 |
1490 wa.override_redirect = 1; |
1490 wa.override_redirect = 1; |
1491 wa.background_pixmap = ParentRelative; |
1491 wa.background_pixmap = ParentRelative; |
1492 wa.event_mask = ButtonPressMask|ExposureMask; |
1492 wa.event_mask = ButtonPressMask|ExposureMask; |
1493 |
1493 |
1494 |
|
1495 |
|
1496 barwin = XCreateWindow(dpy, root, bx, by, bw, bh, 0, DefaultDepth(dpy, screen), |
1494 barwin = XCreateWindow(dpy, root, bx, by, bw, bh, 0, DefaultDepth(dpy, screen), |
1497 CopyFromParent, DefaultVisual(dpy, screen), |
1495 CopyFromParent, DefaultVisual(dpy, screen), |
1498 CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa); |
1496 CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa); |
1499 XDefineCursor(dpy, barwin, cursor[CurNormal]); |
1497 XDefineCursor(dpy, barwin, cursor[CurNormal]); |
1500 XMapRaised(dpy, barwin); |
1498 XMapRaised(dpy, barwin); |