| XMapRaised(_x.display, _x.drawable); |
| * Should not be using kbdcon since we're not running |
| * in the kbdproc, but this is necessary to make the keyboard |
| * take focus if the window is hidden when drawtopwindow |
| * is called. Let's hope that XSetInputFocus is only a write |
| * on the fd, and so it's okay to do even though the kbdproc |
| * is reading at the same time. |
| XSetInputFocus(_x.kbdcon, _x.drawable, RevertToPointerRoot, |
| drawresizewindow(Rectangle r) |
| // XConfigureRequestEvent e; |
| value_mask = CWWidth|CWHeight; |
| XConfigureWindow(_x.display, _x.drawable, value_mask, &e); |