summaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Window.hh b/src/Window.hh
index d0db606..5dbe055 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -27,6 +27,7 @@
27#ifndef WINDOW_HH 27#ifndef WINDOW_HH
28#define WINDOW_HH 28#define WINDOW_HH
29 29
30#include "FbTk/DefaultValue.hh"
30#include "FbTk/Timer.hh" 31#include "FbTk/Timer.hh"
31#include "FbTk/Subject.hh" 32#include "FbTk/Subject.hh"
32#include "FbTk/Observer.hh" 33#include "FbTk/Observer.hh"
@@ -49,6 +50,7 @@ class WinClient;
49class FbWinFrameTheme; 50class FbWinFrameTheme;
50class BScreen; 51class BScreen;
51class FbWinFrame; 52class FbWinFrame;
53class FocusControl;
52 54
53namespace FbTk { 55namespace FbTk {
54class TextButton; 56class TextButton;
@@ -609,8 +611,10 @@ private:
609 611
610 bool m_icon_hidden; ///< if the window is in the iconbar 612 bool m_icon_hidden; ///< if the window is in the iconbar
611 bool m_focus_hidden; ///< if the window is in the NextWindow list 613 bool m_focus_hidden; ///< if the window is in the NextWindow list
612 bool m_focus_new; ///< if the window is normally focused when mapped 614 /// if the window is normally focused when mapped
613 bool m_mouse_focus; ///< if the window is focused with EnterNotify 615 FbTk::DefaultAccessor<bool, FocusControl> m_focus_new;
616 /// if the window is focused with EnterNotify
617 FbTk::DefaultAccessor<bool, FocusControl> m_mouse_focus;
614 bool m_click_focus; ///< if the window is focused by clicking 618 bool m_click_focus; ///< if the window is focused by clicking
615 int m_old_pos_x, m_old_pos_y; ///< old position so we can restore from maximized 619 int m_old_pos_x, m_old_pos_y; ///< old position so we can restore from maximized
616 unsigned int m_old_width, m_old_height; ///< old size so we can restore from maximized state 620 unsigned int m_old_width, m_old_height; ///< old size so we can restore from maximized state