diff options
author | Carlo Zancanaro <carlo.zancanaro@rokt.com> | 2018-12-12 13:46:53 +1100 |
---|---|---|
committer | Carlo Zancanaro <carlo.zancanaro@rokt.com> | 2019-08-09 21:58:16 +1000 |
commit | 8b196bac891258fc1f03637530e94f95afceeef9 (patch) | |
tree | d2a677c36096c535ec1f4135dd71f542ae680d3b /patches |
Add patched-awesome
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 |