aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 490c178..fc44610 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -270,10 +270,16 @@ public:
270 void shadeOn(); 270 void shadeOn();
271 /// unshades window 271 /// unshades window
272 void shadeOff(); 272 void shadeOff();
273 /// sets shaded state
274 void setShaded(bool val);
273 /// toggles sticky 275 /// toggles sticky
274 void stick(); 276 void stick();
277 /// sets stuck state
278 void setStuck(bool val);
275 /// toggles iconic 279 /// toggles iconic
276 void toggleIconic(); 280 void toggleIconic();
281 /// sets iconic state
282 void setIconic(bool val);
277 void raise(); 283 void raise();
278 void lower(); 284 void lower();
279 void tempRaise(); 285 void tempRaise();
@@ -611,10 +617,11 @@ private:
611 617
612 bool m_icon_hidden; ///< if the window is in the iconbar 618 bool m_icon_hidden; ///< if the window is in the iconbar
613 bool m_focus_hidden; ///< if the window is in the NextWindow list 619 bool m_focus_hidden; ///< if the window is in the NextWindow list
620 typedef FbTk::ConstObjectAccessor<bool, FocusControl> BoolAcc;
614 /// if the window is normally focused when mapped 621 /// if the window is normally focused when mapped
615 FbTk::DefaultAccessor<bool, FocusControl> m_focus_new; 622 FbTk::DefaultValue<bool, BoolAcc> m_focus_new;
616 /// if the window is focused with EnterNotify 623 /// if the window is focused with EnterNotify
617 FbTk::DefaultAccessor<bool, FocusControl> m_mouse_focus; 624 FbTk::DefaultValue<bool, BoolAcc> m_mouse_focus;
618 bool m_click_focus; ///< if the window is focused by clicking 625 bool m_click_focus; ///< if the window is focused by clicking
619 int m_old_pos_x, m_old_pos_y; ///< old position so we can restore from maximized 626 int m_old_pos_x, m_old_pos_y; ///< old position so we can restore from maximized
620 unsigned int m_old_width, m_old_height; ///< old size so we can restore from maximized state 627 unsigned int m_old_width, m_old_height; ///< old size so we can restore from maximized state