diff options
Diffstat (limited to 'src/Window.hh')
-rw-r--r-- | src/Window.hh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/Window.hh b/src/Window.hh index 44c1f4d..f12384e 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.115 2004/06/19 15:04:28 rathnor Exp $ | 25 | // $Id: Window.hh,v 1.116 2004/06/20 04:49:33 rathnor Exp $ |
26 | 26 | ||
27 | #ifndef WINDOW_HH | 27 | #ifndef WINDOW_HH |
28 | #define WINDOW_HH | 28 | #define WINDOW_HH |
@@ -258,7 +258,6 @@ public: | |||
258 | void applyDecorations(bool initial = false); | 258 | void applyDecorations(bool initial = false); |
259 | void toggleDecoration(); | 259 | void toggleDecoration(); |
260 | 260 | ||
261 | |||
262 | unsigned int decorationMask() const; | 261 | unsigned int decorationMask() const; |
263 | void setDecorationMask(unsigned int mask); | 262 | void setDecorationMask(unsigned int mask); |
264 | 263 | ||
@@ -266,6 +265,13 @@ public: | |||
266 | @name accessors | 265 | @name accessors |
267 | */ | 266 | */ |
268 | //@{ | 267 | //@{ |
268 | // whether this window can be tabbed with other windows, | ||
269 | // and others tabbed with it | ||
270 | inline void setTabable(bool tabable) { functions.tabable = tabable; } | ||
271 | inline bool isTabable() { return functions.tabable; } | ||
272 | inline void setMovable(bool movable) { functions.move = movable; } | ||
273 | inline void setResizable(bool resizable) { functions.resize = resizable; } | ||
274 | |||
269 | inline bool isFocusHidden() const { return (m_blackbox_attrib.flags & ATTRIB_HIDDEN); } | 275 | inline bool isFocusHidden() const { return (m_blackbox_attrib.flags & ATTRIB_HIDDEN); } |
270 | inline bool isIconHidden() const { return m_icon_hidden; } | 276 | inline bool isIconHidden() const { return m_icon_hidden; } |
271 | inline bool isManaged() const { return m_managed; } | 277 | inline bool isManaged() const { return m_managed; } |
@@ -482,7 +488,7 @@ private: | |||
482 | bool m_toggled_decos; | 488 | bool m_toggled_decos; |
483 | 489 | ||
484 | struct _functions { | 490 | struct _functions { |
485 | bool resize, move, iconify, maximize, close; | 491 | bool resize, move, iconify, maximize, close, tabable; |
486 | } functions; | 492 | } functions; |
487 | 493 | ||
488 | bool m_shaped; ///< if the window is shaped with a mask | 494 | bool m_shaped; ///< if the window is shaped with a mask |