aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 29d6054..d72c3fa 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -60,15 +60,6 @@ class Menu;
60/// Creates the window frame and handles any window event for it 60/// Creates the window frame and handles any window event for it
61class FluxboxWindow: public Focusable, public FbTk::EventHandler { 61class FluxboxWindow: public Focusable, public FbTk::EventHandler {
62public: 62public:
63 /// Represents certain "preset" sets of decorations.
64 enum Decoration {
65 DECOR_NONE=0, ///< no decor at all
66 DECOR_NORMAL, ///< normal normal
67 DECOR_TINY, ///< tiny decoration
68 DECOR_TOOL, ///< decor tool
69 DECOR_TAB ///< decor tab (border + tab)
70 };
71
72 /// Motif wm Hints 63 /// Motif wm Hints
73 enum { 64 enum {
74 MwmHintsFunctions = (1l << 0), ///< use motif wm functions 65 MwmHintsFunctions = (1l << 0), ///< use motif wm functions
@@ -137,6 +128,15 @@ public:
137 DECORM_LAST = (1<<11) // useful for getting "All" 128 DECORM_LAST = (1<<11) // useful for getting "All"
138 }; 129 };
139 130
131 enum Decoration {
132 DECOR_NONE = 0,
133 DECOR_NORMAL = DECORM_LAST - 1,
134 DECOR_TINY = DECORM_TITLEBAR|DECORM_ICONIFY|DECORM_MENU|DECORM_TAB,
135 DECOR_TOOL = DECORM_TITLEBAR|DECORM_MENU,
136 DECOR_BORDER = DECORM_BORDER|DECORM_MENU,
137 DECOR_TAB = DECORM_BORDER|DECORM_MENU|DECORM_TAB
138 };
139
140 /** 140 /**
141 * Resize direction while resizing 141 * Resize direction while resizing
142 */ 142 */
@@ -346,7 +346,6 @@ public:
346 void leaveNotifyEvent(XCrossingEvent &ev); 346 void leaveNotifyEvent(XCrossingEvent &ev);
347 //@} 347 //@}
348 348
349 void setDecoration(Decoration decoration, bool apply = true);
350 void applyDecorations(bool initial = false); 349 void applyDecorations(bool initial = false);
351 void toggleDecoration(); 350 void toggleDecoration();
352 351
@@ -581,7 +580,6 @@ private:
581 unsigned int m_workspace_number; 580 unsigned int m_workspace_number;
582 unsigned long m_current_state; // NormalState | IconicState | Withdrawn 581 unsigned long m_current_state; // NormalState | IconicState | Withdrawn
583 582
584 Decoration m_old_decoration;
585 unsigned int m_old_decoration_mask; 583 unsigned int m_old_decoration_mask;
586 584
587 ClientList m_clientlist; 585 ClientList m_clientlist;