aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-01-23 10:38:25 (GMT)
committerrathnor <rathnor>2004-01-23 10:38:25 (GMT)
commite56c3c5b448a16a90dc1e518b29afd5c0ee544e8 (patch)
treefb30b241de738787281827cf9d63baa666839900 /src/Window.hh
parent9d035e19c8d574e148ac92cc537de6c49f000f61 (diff)
downloadfluxbox_pavel-e56c3c5b448a16a90dc1e518b29afd5c0ee544e8.zip
fluxbox_pavel-e56c3c5b448a16a90dc1e518b29afd5c0ee544e8.tar.bz2
fix some issues with window frame that happened when changing style
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 71c0b71..0ee053f 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.hh,v 1.106 2004/01/18 19:14:08 fluxgen Exp $ 25// $Id: Window.hh,v 1.107 2004/01/23 10:38:25 rathnor Exp $
26 26
27#ifndef WINDOW_HH 27#ifndef WINDOW_HH
28#define WINDOW_HH 28#define WINDOW_HH
@@ -352,6 +352,8 @@ public:
352 FbTk::Subject &titleSig() { return m_titlesig; } 352 FbTk::Subject &titleSig() { return m_titlesig; }
353 /** @} */ // end group signals 353 /** @} */ // end group signals
354 354
355 void reconfigTheme();
356
355 const timeval &lastFocusTime() const { return m_last_focus_time;} 357 const timeval &lastFocusTime() const { return m_last_focus_time;}
356 358
357 //@} 359 //@}
@@ -410,6 +412,17 @@ private:
410 // state and hint signals 412 // state and hint signals
411 WinSubject m_hintsig, m_statesig, m_layersig, m_workspacesig, m_diesig, m_focussig, m_titlesig; 413 WinSubject m_hintsig, m_statesig, m_layersig, m_workspacesig, m_diesig, m_focussig, m_titlesig;
412 414
415 class ThemeListener: public FbTk::Observer {
416 public:
417 ThemeListener(FluxboxWindow &win):m_win(win) { }
418 void update(FbTk::Subject *) {
419 m_win.reconfigTheme();
420 }
421 private:
422 FluxboxWindow &m_win;
423 };
424 ThemeListener m_themelistener;
425
413 // Window states 426 // Window states
414 bool moving, resizing, shaded, iconic, 427 bool moving, resizing, shaded, iconic,
415 focused, stuck, m_managed; 428 focused, stuck, m_managed;