Compare commits
2 commits
a67f56bad2
...
920950c278
| Author | SHA1 | Date | |
|---|---|---|---|
| 920950c278 | |||
| 9b3e994524 |
1 changed files with 1 additions and 1 deletions
2
mwm.c
2
mwm.c
|
|
@ -13,7 +13,7 @@ int main() {
|
||||||
grab("n", "q", "e", "t");
|
grab("n", "q", "e", "t");
|
||||||
|
|
||||||
while (!XNextEvent (d, &e)) {
|
while (!XNextEvent (d, &e)) {
|
||||||
on(ConfigureRequest, XMoveResizeWindow(d, e.xconfigure.window, 0, 0, e.xconfigure.width, e.xconfigure.height));
|
on(ConfigureRequest, XMoveResizeWindow(d, e.xconfigure.window, 0, 0, 2560, 1440));
|
||||||
on(MapRequest, XMapWindow(d, e.xmaprequest.window);
|
on(MapRequest, XMapWindow(d, e.xmaprequest.window);
|
||||||
XSetInputFocus(d, e.xmaprequest.window, 2, 0));
|
XSetInputFocus(d, e.xmaprequest.window, 2, 0));
|
||||||
on(KeyPress, map("n", XCirculateSubwindowsUp(d, r); XSetInputFocus(d, e.xkey.window, 2, 0))
|
on(KeyPress, map("n", XCirculateSubwindowsUp(d, r); XSetInputFocus(d, e.xkey.window, 2, 0))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue