ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/x11-wm/blackbox/files/patch-src_Slit.cc
Revision: 15419
Committed: Sat Sep 7 13:01:54 2013 UTC (10 years, 7 months ago) by laffer1
File size: 708 byte(s)
Log Message:
switch to USES for includes, allow tools only builds, fix build when using clang

File Contents

# Content
1 --- src/Slit.cc.orig 2005-01-04 20:58:33.000000000 +0800
2 +++ src/Slit.cc 2011-06-21 13:31:00.000000000 +0800
3 @@ -248,6 +248,13 @@
4 bt::PixmapCache::find(screen->screenNumber(), texture,
5 frame.rect.width(), frame.rect.height(),
6 frame.pixmap);
7 +
8 + if ((texture.texture() & bt::Texture::Gradient) && frame.pixmap)
9 + XSetWindowBackgroundPixmap(display, frame.window, frame.pixmap);
10 + else if ((texture.texture() & bt::Texture::Solid))
11 + XSetWindowBackground(display, frame.window,
12 + texture.color1().pixel(screen->screenNumber()));
13 +
14 XClearArea(display, frame.window, 0, 0,
15 frame.rect.width(), frame.rect.height(), True);
16