diff options
author | markt <markt> | 2007-02-23 17:03:01 (GMT) |
---|---|---|
committer | markt <markt> | 2007-02-23 17:03:01 (GMT) |
commit | ca7b5ee4a59ea18fd832b11040f63bcc0d8404ab (patch) | |
tree | 1ce6639cf743f48e76c4febd37ba8209eb532fa9 /src/Window.hh | |
parent | e85569f1df2511f4c5f54b5ea5615b6a80014bcc (diff) | |
download | fluxbox-ca7b5ee4a59ea18fd832b11040f63bcc0d8404ab.zip fluxbox-ca7b5ee4a59ea18fd832b11040f63bcc0d8404ab.tar.bz2 |
update titlebar buttons on reconfigure
Diffstat (limited to 'src/Window.hh')
-rw-r--r-- | src/Window.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Window.hh b/src/Window.hh index 2cec115..4e5956f 100644 --- a/src/Window.hh +++ b/src/Window.hh | |||
@@ -32,6 +32,7 @@ | |||
32 | #include "FbTk/EventHandler.hh" | 32 | #include "FbTk/EventHandler.hh" |
33 | #include "FbTk/XLayerItem.hh" | 33 | #include "FbTk/XLayerItem.hh" |
34 | #include "FbWinFrame.hh" | 34 | #include "FbWinFrame.hh" |
35 | #include "WinButton.hh" | ||
35 | 36 | ||
36 | #include <X11/Xlib.h> | 37 | #include <X11/Xlib.h> |
37 | #include <X11/Xutil.h> | 38 | #include <X11/Xutil.h> |
@@ -443,6 +444,7 @@ private: | |||
443 | static const int PropBlackboxAttributesElements = 8; | 444 | static const int PropBlackboxAttributesElements = 8; |
444 | 445 | ||
445 | void setupWindow(); | 446 | void setupWindow(); |
447 | void updateButtons(); | ||
446 | 448 | ||
447 | void init(); | 449 | void init(); |
448 | /// applies a shape mask to the window if it has one | 450 | /// applies a shape mask to the window if it has one |
@@ -543,6 +545,7 @@ private: | |||
543 | maximize, close, menu, sticky, shade, tab, enabled; | 545 | maximize, close, menu, sticky, shade, tab, enabled; |
544 | } decorations; | 546 | } decorations; |
545 | 547 | ||
548 | std::vector<WinButton::Type> m_titlebar_buttons[2]; | ||
546 | bool m_toggled_decos; | 549 | bool m_toggled_decos; |
547 | 550 | ||
548 | struct _functions { | 551 | struct _functions { |