aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Ramsay <i.am@jimramsay.com>2008-03-19 19:27:12 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2008-03-19 20:02:47 (GMT)
commit173682f8dec2f2255b89c6412c634dcbe60a6b99 (patch)
tree58d2e5b58217768679af7c3f337614960506f757 /src
parent1b1262e01b96c20daea1d9ca0b306ee6941e727a (diff)
downloadfluxbox-173682f8dec2f2255b89c6412c634dcbe60a6b99.zip
fluxbox-173682f8dec2f2255b89c6412c634dcbe60a6b99.tar.bz2
The unfocused/pressed pixmaps for the 'stick' button were ignored.
This fixes a bug in commit 1f01d84c080d607a91eb417efcaf5e500b5f1d7e (split WinButtonTheme into multiple themes), where every other theme except for m_stick_pm was changed.
Diffstat (limited to 'src')
-rw-r--r--src/WinButtonTheme.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/WinButtonTheme.cc b/src/WinButtonTheme.cc
index 3763176..c6e6ddf 100644
--- a/src/WinButtonTheme.cc
+++ b/src/WinButtonTheme.cc
@@ -48,7 +48,8 @@ WinButtonTheme::WinButtonTheme(int screen_num,
48 : extra) + ".pixmap", 48 : extra) + ".pixmap",
49 "Window.Title" + (extra.empty() ? std::string(".Focus") 49 "Window.Title" + (extra.empty() ? std::string(".Focus")
50 : altextra) + ".Pixmap"), 50 : altextra) + ".Pixmap"),
51 m_stick_pm(*this, "window.stick.pixmap", "Window.Stick.Pixmap"), 51 m_stick_pm(*this, "window.stick" + extra + ".pixmap",
52 "Window.Stick" + altextra + ".Pixmap"),
52 m_stuck_pm(*this, "window.stuck" + extra + ".pixmap", 53 m_stuck_pm(*this, "window.stuck" + extra + ".pixmap",
53 "Window.Stuck" + altextra + ".Pixmap"), 54 "Window.Stuck" + altextra + ".Pixmap"),
54 m_frame_theme(frame_theme) { 55 m_frame_theme(frame_theme) {