summaryrefslogtreecommitdiff
path: root/src/data.h
diff options
context:
space:
mode:
authorShawn Betts <sabetts@gmail.com>2009-07-04 20:58:21 -0700
committerShawn Betts <sabetts@gmail.com>2009-07-04 20:58:21 -0700
commit14beabe55fa3cac03f598e138f363f1d50659564 (patch)
tree2a23a383df0a818d60593e34d7dd73f1d408658a /src/data.h
parent166021512b2e39344ff4562323d15a1e2fdea153 (diff)
downloadratpoison-14beabe55fa3cac03f598e138f363f1d50659564.zip
fix inverted text when using xftwinliststyle-row_broken
Now the inverted rectangle is drawn first and the text overtop in the bg color.
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data.h b/src/data.h
index 947b571..806ece9 100644
--- a/src/data.h
+++ b/src/data.h
@@ -151,7 +151,7 @@ struct rp_group
struct rp_screen
{
- GC normal_gc;
+ GC normal_gc, inverse_gc;
Window root, bar_window, key_window, input_window, frame_window, help_window;
int bar_is_raised;
int screen_num; /* Our screen number as dictated my X */
@@ -178,7 +178,7 @@ struct rp_screen
#ifdef USE_XFT_FONT
XftFont *xft_font;
- XftColor xft_color;
+ XftColor xft_fg_color, xft_bg_color;
#endif
};