aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-26 21:31:55 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-26 21:31:55 (GMT)
commitb2546389a50ff370036590d799cfb640329160c5 (patch)
treeac86f4f4333728b9c1791b09a893b3a5724430b0 /src/Window.hh
parent396c6fe40f71450b3621554317695a689f46471d (diff)
downloadfluxbox-b2546389a50ff370036590d799cfb640329160c5.zip
fluxbox-b2546389a50ff370036590d799cfb640329160c5.tar.bz2
changing focusnew/mousefocus should affect windows that are already open
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