diff options
author | sabetts <sabetts> | 2003-04-14 01:13:28 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-04-14 01:13:28 +0000 |
commit | 9165a8f99b67acf07f5a30e481885d72660026b7 (patch) | |
tree | 28885a29099dad012dc829239060ad700bf5e07c /src | |
parent | 85cb45d41d6c15ebee86678febe8732846e4a4ee (diff) | |
download | ratpoison-9165a8f99b67acf07f5a30e481885d72660026b7.zip |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -605,22 +605,17 @@ main (int argc, char *argv[]) if (screen_arg) { - if (screen_num >= 0 && screen_num < num_screens) - { - init_screen (&screens[screen_num], screen_num); - } - else + if (screen_num < 0 || screen_num >= num_screens) { fprintf (stderr, "%d is an invalid screen for the display\n", screen_num); exit (EXIT_FAILURE); } } - else + + for (i=0; i<num_screens; i++) { - for (i=0; i<num_screens; i++) - { - init_screen (&screens[i], i); - } + init_screen (&screens[i], i); + init_frame_list (&screens[i]); } init_frame_lists (); |