From 8b196bac891258fc1f03637530e94f95afceeef9 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Wed, 12 Dec 2018 13:46:53 +1100 Subject: Add patched-awesome --- patches/awesome-screen.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/awesome-screen.patch (limited to 'patches') 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 -- cgit v1.2.3