aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuItem.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-25 05:15:17 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-25 05:15:17 (GMT)
commiteaabe0321d66d348405f32eacda2be6acb018eca (patch)
tree7acadcedb74bf73ec45589bf1c10bdb2a62215ae /src/FbTk/MenuItem.cc
parent934bd42ace868247316b7565ea19bb90c1f1a03f (diff)
downloadfluxbox-eaabe0321d66d348405f32eacda2be6acb018eca.zip
fluxbox-eaabe0321d66d348405f32eacda2be6acb018eca.tar.bz2
make bit depth accessible from an FbDrawable
Diffstat (limited to 'src/FbTk/MenuItem.cc')
-rw-r--r--src/FbTk/MenuItem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/MenuItem.cc b/src/FbTk/MenuItem.cc
index 1e708d3..0e99192 100644
--- a/src/FbTk/MenuItem.cc
+++ b/src/FbTk/MenuItem.cc
@@ -114,7 +114,7 @@ void MenuItem::draw(FbDrawable &draw,
114 int icon_x = x + theme.bevelWidth(); 114 int icon_x = x + theme.bevelWidth();
115 int icon_y = y + theme.bevelWidth(); 115 int icon_y = y + theme.bevelWidth();
116 // enable clip mask 116 // enable clip mask
117 XSetClipMask(disp, gc, tmp_mask.drawable()); 117 XSetClipMask(disp, gc, None); //tmp_mask.drawable());
118 XSetClipOrigin(disp, gc, icon_x, icon_y); 118 XSetClipOrigin(disp, gc, icon_x, icon_y);
119 119
120 draw.copyArea(tmp_pixmap.drawable(), 120 draw.copyArea(tmp_pixmap.drawable(),