diff options
author | rathnor <rathnor> | 2003-09-11 19:55:27 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-09-11 19:55:27 (GMT) |
commit | 6d6425cbde2a4c2038f513c78e5953d0dbdbc20d (patch) | |
tree | 19edf876933796c277816f568f1754c562eb3f43 /src/WinClient.hh | |
parent | 16653d23d5d7a0dd017cce6484e8865f59edb9c6 (diff) | |
download | fluxbox_pavel-6d6425cbde2a4c2038f513c78e5953d0dbdbc20d.zip fluxbox_pavel-6d6425cbde2a4c2038f513c78e5953d0dbdbc20d.tar.bz2 |
fix gravity handling
Diffstat (limited to 'src/WinClient.hh')
-rw-r--r-- | src/WinClient.hh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/WinClient.hh b/src/WinClient.hh index 755a235..bb89c99 100644 --- a/src/WinClient.hh +++ b/src/WinClient.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: WinClient.hh,v 1.12 2003/07/28 15:46:00 rathnor Exp $ | 22 | // $Id: WinClient.hh,v 1.13 2003/09/11 19:55:27 rathnor Exp $ |
23 | 23 | ||
24 | #ifndef WINCLIENT_HH | 24 | #ifndef WINCLIENT_HH |
25 | #define WINCLIENT_HH | 25 | #define WINCLIENT_HH |
@@ -109,6 +109,8 @@ public: | |||
109 | // does this client have a pending unmap or destroy event? | 109 | // does this client have a pending unmap or destroy event? |
110 | bool validateClient() const; | 110 | bool validateClient() const; |
111 | 111 | ||
112 | inline int gravity() const { return m_win_gravity; } | ||
113 | |||
112 | /** | 114 | /** |
113 | !! TODO !! | 115 | !! TODO !! |
114 | remove or move these to private | 116 | remove or move these to private |
@@ -123,7 +125,7 @@ public: | |||
123 | unsigned int | 125 | unsigned int |
124 | min_width, min_height, max_width, max_height, width_inc, height_inc, | 126 | min_width, min_height, max_width, max_height, width_inc, height_inc, |
125 | min_aspect_x, min_aspect_y, max_aspect_x, max_aspect_y, | 127 | min_aspect_x, min_aspect_y, max_aspect_x, max_aspect_y, |
126 | base_width, base_height, win_gravity; | 128 | base_width, base_height; |
127 | unsigned long initial_state, normal_hint_flags, wm_hint_flags; | 129 | unsigned long initial_state, normal_hint_flags, wm_hint_flags; |
128 | 130 | ||
129 | // this structure only contains 3 elements... the Motif 2.0 structure contains | 131 | // this structure only contains 3 elements... the Motif 2.0 structure contains |
@@ -157,6 +159,8 @@ private: | |||
157 | int m_modal; | 159 | int m_modal; |
158 | bool send_focus_message, closable; | 160 | bool send_focus_message, closable; |
159 | 161 | ||
162 | int m_win_gravity; | ||
163 | |||
160 | std::string m_title, m_icon_title; | 164 | std::string m_title, m_icon_title; |
161 | std::string m_class_name, m_instance_name; | 165 | std::string m_class_name, m_instance_name; |
162 | 166 | ||