diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-05-09 17:32:20 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-05-09 17:32:20 +0200 |
commit | b5a445c3812dbacdd87f0251effe4ce835187f46 (patch) | |
tree | de04df9e4a5ec79888c6c51cd88962c7e11c4eff /libre/blackbox-libre/bbdock.patch | |
parent | f39f7cdcd87eeadace084f3b80f73409a4487ed5 (diff) | |
parent | 963d33c3ef2a82f943b307dcc6d24ee51d0f0ff2 (diff) | |
download | abslibre-b5a445c3812dbacdd87f0251effe4ce835187f46.tar.gz abslibre-b5a445c3812dbacdd87f0251effe4ce835187f46.tar.bz2 abslibre-b5a445c3812dbacdd87f0251effe4ce835187f46.zip |
Merge branch 'master' of git+ssh://parabola-git/srv/git/abslibre
Diffstat (limited to 'libre/blackbox-libre/bbdock.patch')
-rw-r--r-- | libre/blackbox-libre/bbdock.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libre/blackbox-libre/bbdock.patch b/libre/blackbox-libre/bbdock.patch new file mode 100644 index 000000000..709b6cfe1 --- /dev/null +++ b/libre/blackbox-libre/bbdock.patch @@ -0,0 +1,16 @@ +--- 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); + |