aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-02-20 09:07:27 (GMT)
committerfluxgen <fluxgen>2004-02-20 09:07:27 (GMT)
commit3c78d753c0c1b293d20ad52e38586929bf47f13e (patch)
treefc146deff9fe5ebb0afb51f9882f17f54a45336c /src/Window.hh
parent1e405808fb3cba1b19d6af9697312a6f4d8ec3ba (diff)
downloadfluxbox-3c78d753c0c1b293d20ad52e38586929bf47f13e.zip
fluxbox-3c78d753c0c1b293d20ad52e38586929bf47f13e.tar.bz2
fixed focus issues with remember hidden, patch from Mathias Gumz
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 2a4d507..f6cb3d0 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.108 2004/02/16 20:47:51 fluxgen Exp $ 25// $Id: Window.hh,v 1.109 2004/02/20 09:07:27 fluxgen Exp $
26 26
27#ifndef WINDOW_HH 27#ifndef WINDOW_HH
28#define WINDOW_HH 28#define WINDOW_HH
@@ -207,7 +207,8 @@ public:
207 void raiseLayer(); 207 void raiseLayer();
208 void lowerLayer(); 208 void lowerLayer();
209 void moveToLayer(int layernum); 209 void moveToLayer(int layernum);
210 void setHidden(bool value); 210 void setFocusHidden(bool value);
211 void setIconHidden(bool value);
211 void reconfigure(); 212 void reconfigure();
212 213
213 214
@@ -262,7 +263,8 @@ public:
262 @name accessors 263 @name accessors
263 */ 264 */
264 //@{ 265 //@{
265 inline bool isHidden() const { return (m_blackbox_attrib.flags & ATTRIB_HIDDEN); } 266 inline bool isFocusHidden() const { return (m_blackbox_attrib.flags & ATTRIB_HIDDEN); }
267 inline bool isIconHidden() const { return m_icon_hidden; }
266 inline bool isManaged() const { return m_managed; } 268 inline bool isManaged() const { return m_managed; }
267 inline bool isFocused() const { return focused; } 269 inline bool isFocused() const { return focused; }
268 bool isVisible() const; 270 bool isVisible() const;
@@ -468,7 +470,7 @@ private:
468 } functions; 470 } functions;
469 471
470 bool m_shaped; ///< if the window is shaped with a mask 472 bool m_shaped; ///< if the window is shaped with a mask
471 473 bool m_icon_hidden; ///< if the window is in the iconbar
472 int m_old_pos_x, m_old_pos_y; ///< old position so we can restore from maximized 474 int m_old_pos_x, m_old_pos_y; ///< old position so we can restore from maximized
473 unsigned int m_old_width, m_old_height; ///< old size so we can restore from maximized state 475 unsigned int m_old_width, m_old_height; ///< old size so we can restore from maximized state
474 int m_last_button_x, ///< last known x position of the mouse button 476 int m_last_button_x, ///< last known x position of the mouse button