diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/awesome-screen.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/awesome-screen.patch b/patches/awesome-screen.patch new file mode 100644 index 0000000..969fffe --- /dev/null +++ b/patches/awesome-screen.patch @@ -0,0 +1,13 @@ +diff --git a/objects/screen.c b/objects/screen.c +index 93ce2288f..0da47e362 100644 +--- a/objects/screen.c ++++ b/objects/screen.c +@@ -670,7 +670,7 @@ screen_refresh(void) + } + + /* Remove screens which are gone */ +- for(int i = 0; i < globalconf.screens.len; i++) { ++ for(int i = 0; i < globalconf.screens.len && globalconf.screens.len > 1; i++) { + screen_t *old_screen = globalconf.screens.tab[i]; + bool found = false; + foreach(new_screen, new_screens)
\ No newline at end of file |