diff options
Diffstat (limited to 'src/Window.hh')
-rw-r--r-- | src/Window.hh | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/Window.hh b/src/Window.hh index 090b4e8..91bd4a5 100644 --- a/src/Window.hh +++ b/src/Window.hh | |||
@@ -97,14 +97,14 @@ public: | |||
97 | 97 | ||
98 | /// attributes for BlackboxHints | 98 | /// attributes for BlackboxHints |
99 | enum Attrib { | 99 | enum Attrib { |
100 | ATTRIB_SHADED = 0x01, | 100 | ATTRIB_SHADED = 0x01, ///< shaded |
101 | ATTRIB_MAXHORIZ = 0x02, | 101 | ATTRIB_MAXHORIZ = 0x02, ///< maximized horizontal |
102 | ATTRIB_MAXVERT = 0x04, | 102 | ATTRIB_MAXVERT = 0x04, ///< maximized vertical |
103 | ATTRIB_OMNIPRESENT = 0x08, | 103 | ATTRIB_OMNIPRESENT = 0x08, ///< omnipresent (sticky) |
104 | ATTRIB_WORKSPACE = 0x10, | 104 | ATTRIB_WORKSPACE = 0x10, ///< workspace |
105 | ATTRIB_STACK = 0x20, | 105 | ATTRIB_STACK = 0x20, ///< stack |
106 | ATTRIB_DECORATION = 0x40, | 106 | ATTRIB_DECORATION = 0x40, ///< decorations |
107 | ATTRIB_HIDDEN = 0x80, | 107 | ATTRIB_HIDDEN = 0x80, ///< hidden |
108 | }; | 108 | }; |
109 | 109 | ||
110 | /** | 110 | /** |
@@ -136,7 +136,9 @@ public: | |||
136 | DECORM_LAST = (1<<11) // useful for getting "All" | 136 | DECORM_LAST = (1<<11) // useful for getting "All" |
137 | }; | 137 | }; |
138 | 138 | ||
139 | 139 | /** | |
140 | * Resize direction while resizing | ||
141 | */ | ||
140 | enum ResizeDirection { | 142 | enum ResizeDirection { |
141 | NOCORNER = -1, | 143 | NOCORNER = -1, |
142 | LEFTTOP = 0, | 144 | LEFTTOP = 0, |
@@ -149,12 +151,13 @@ public: | |||
149 | LEFT = 7, | 151 | LEFT = 7, |
150 | ALLCORNERS = 8 | 152 | ALLCORNERS = 8 |
151 | }; | 153 | }; |
152 | 154 | /// holds old blackbox specific hints | |
153 | typedef struct _blackbox_hints { | 155 | typedef struct _blackbox_hints { |
154 | unsigned long flags, attrib, workspace, stack; | 156 | unsigned long flags, attrib, workspace, stack; |
155 | long decoration; | 157 | long decoration; |
156 | } BlackboxHints; | 158 | } BlackboxHints; |
157 | 159 | ||
160 | /// holds old blackbox attributes | ||
158 | typedef struct _blackbox_attributes { | 161 | typedef struct _blackbox_attributes { |
159 | unsigned long flags, attrib, workspace, stack; | 162 | unsigned long flags, attrib, workspace, stack; |
160 | long premax_x, premax_y; | 163 | long premax_x, premax_y; |