mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-07 23:24:05 +00:00
17 lines
866 B
Diff
17 lines
866 B
Diff
|
--- src/Slit.cc 2005-01-04 05:58:33.000000000 -0700
|
||
|
+++ /root/tmp/Slit.cc 2007-12-29 11:13:09.000000000 -0700
|
||
|
@@ -248,6 +248,13 @@
|
||
|
bt::PixmapCache::find(screen->screenNumber(), texture,
|
||
|
frame.rect.width(), frame.rect.height(),
|
||
|
frame.pixmap);
|
||
|
+/*** START: BBDOCK PATCH FOR DOCK APPS THAT USE ParentRelative **************/
|
||
|
+ if ((texture.texture() & bt::Texture::Gradient) && frame.pixmap)
|
||
|
+ XSetWindowBackgroundPixmap(display, frame.window, frame.pixmap);
|
||
|
+ else if ((texture.texture() & bt::Texture::Solid))
|
||
|
+ XSetWindowBackground(display, frame.window,
|
||
|
+ texture.color1().pixel(screen->screenNumber()));
|
||
|
+/*** STOP: BBDOCK PATCH FOR DOCK APPS THAT USE ParentRelative ***************/
|
||
|
XClearArea(display, frame.window, 0, 0,
|
||
|
frame.rect.width(), frame.rect.height(), True);
|
||
|
|