aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authormarkt <markt>2006-06-26 05:52:30 (GMT)
committermarkt <markt>2006-06-26 05:52:30 (GMT)
commitee02bc2258595060a4b1ee0bcab5a76c6a9a5af2 (patch)
tree05e470f2a4bfd9dea51ca607a1a58e401b00462b /src/Window.hh
parentaedcaea054a91f10329377ca776396326d0078fa (diff)
downloadfluxbox-ee02bc2258595060a4b1ee0bcab5a76c6a9a5af2.zip
fluxbox-ee02bc2258595060a4b1ee0bcab5a76c6a9a5af2.tar.bz2
Fix FocusHidden (added m_focus_hidden to FluxboxWindow)
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 2b4ef92..5358e54 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -317,7 +317,7 @@ public:
317 inline void setMovable(bool movable) { functions.move = movable; } 317 inline void setMovable(bool movable) { functions.move = movable; }
318 inline void setResizable(bool resizable) { functions.resize = resizable; } 318 inline void setResizable(bool resizable) { functions.resize = resizable; }
319 319
320 inline bool isFocusHidden() const { return (m_blackbox_attrib.flags & ATTRIB_HIDDEN); } 320 inline bool isFocusHidden() const { return m_focus_hidden; }
321 inline bool isIconHidden() const { return m_icon_hidden; } 321 inline bool isIconHidden() const { return m_icon_hidden; }
322 inline bool isManaged() const { return m_initialized; } 322 inline bool isManaged() const { return m_initialized; }
323 inline bool isInitialized() const { return m_initialized; } 323 inline bool isInitialized() const { return m_initialized; }
@@ -543,6 +543,7 @@ private:
543 543
544 bool m_shaped; ///< if the window is shaped with a mask 544 bool m_shaped; ///< if the window is shaped with a mask
545 bool m_icon_hidden; ///< if the window is in the iconbar 545 bool m_icon_hidden; ///< if the window is in the iconbar
546 bool m_focus_hidden; ///< if the window is in the NextWindow list
546 int m_old_pos_x, m_old_pos_y; ///< old position so we can restore from maximized 547 int m_old_pos_x, m_old_pos_y; ///< old position so we can restore from maximized
547 unsigned int m_old_width, m_old_height; ///< old size so we can restore from maximized state 548 unsigned int m_old_width, m_old_height; ///< old size so we can restore from maximized state
548 int m_last_button_x, ///< last known x position of the mouse button 549 int m_last_button_x, ///< last known x position of the mouse button