diff options
author | sabetts <sabetts> | 2003-04-14 02:15:05 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-04-14 02:15:05 +0000 |
commit | fd27c5399c536a4cc290eeb8a36c5f8b56374eec (patch) | |
tree | 4fe6868255ffc8748d1eda526c6175731d7987e4 /src/actions.c | |
parent | 9165a8f99b67acf07f5a30e481885d72660026b7 (diff) | |
download | ratpoison-fd27c5399c536a4cc290eeb8a36c5f8b56374eec.zip |
* src/main.c (init_screen): print the display string for
debugging.
(main): parse the screen argument and process it.
Diffstat (limited to 'src/actions.c')
-rw-r--r-- | src/actions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions.c b/src/actions.c index 4c4f221..ab47586 100644 --- a/src/actions.c +++ b/src/actions.c @@ -2802,7 +2802,7 @@ cmd_tmpwm (int interactive, char *data) have it. */ for (i=0; i<num_screens; i++) { - XSelectInput(dpy, RootWindow (dpy, i), 0); + XSelectInput(dpy, RootWindow (dpy, screens[i].screen_num), 0); /* Unmap its key window */ XUnmapWindow (dpy, screens[i].key_window); } @@ -2843,7 +2843,7 @@ cmd_tmpwm (int interactive, char *data) /* Enable the event selection on the root window. */ for (i=0; i<num_screens; i++) { - XSelectInput(dpy, RootWindow (dpy, i), + XSelectInput(dpy, RootWindow (dpy, screens[i].screen_num), PropertyChangeMask | ColormapChangeMask | SubstructureRedirectMask | SubstructureNotifyMask); /* Map its key window */ |