That is more accurate.
This commit is contained in:
parent
fd31b5b543
commit
d5a8c15a6a
2 changed files with 8 additions and 8 deletions
12
mwm.c
12
mwm.c
|
|
@ -13,11 +13,11 @@ int main() {
|
|||
grab("n", "q", "e");
|
||||
|
||||
while (!XNextEvent (d, &e)) {
|
||||
on(ConfigureRequest, XMoveResizeWindow(d, e.xconfigure.window, 0, 0, e.xconfigure.width, e.xconfigure.height));
|
||||
on(MapRequest, XMapWindow(d, e.xmaprequest.window);
|
||||
XSetInputFocus(d, e.xmaprequest.window, 2, 0));
|
||||
on(KeyPress, map("n", XCirculateSubwindowsUp(d, r); XSetInputFocus(d, e.xkey.window, 2, 0))
|
||||
map("q", XKillClient(d, e.xkey.subwindow))
|
||||
map("e", system("dmenu_run &")));
|
||||
on(ConfigureRequest, XMoveResizeWindow(d, e.xconfigure.window, 0, 0, e.xconfigure.width, e.xconfigure.height));
|
||||
on(MapRequest, XMapWindow(d, e.xmaprequest.window);
|
||||
XSetInputFocus(d, e.xmaprequest.window, 2, 0));
|
||||
on(KeyPress, map("n", XCirculateSubwindowsUp(d, r); XSetInputFocus(d, e.xkey.window, 2, 0))
|
||||
map("q", XKillClient(d, e.xkey.subwindow))
|
||||
map("e", system("dmenu_run &")));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue