Files
icewm/icewm-bg-default-at-error.patch
Philipp Seiler e16c958345 Accepting request 229644 from home:tiwai:branches:X11:windowmanagers
- icewm-bg-default-at-error.patch:
  properly default to the solid color background when the given
  default background pixmap can't be loaded (bnc#872740)

- icewm-fix-themes.patch
  * Workaround for bnc#856931.

OBS-URL: https://build.opensuse.org/request/show/229644
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=29
2014-04-10 15:54:14 +00:00

19 lines
626 B
Diff

---
src/icewmbg.cc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
--- a/src/icewmbg.cc
+++ b/src/icewmbg.cc
@@ -274,7 +274,10 @@ void DesktopBackgroundManager::changeBac
currentBackground = back;
handleBackground = true;
}
- } else if (DesktopBackgroundColor && DesktopBackgroundColor[0]) {
+ }
+
+ if (!handleBackground &&
+ DesktopBackgroundColor && DesktopBackgroundColor[0]) {
XSetWindowBackgroundPixmap(xapp->display(), desktop->handle(), 0);
XSetWindowBackground(xapp->display(), desktop->handle(), bPixel);
handleBackground = true;