diff options
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r-- | src/WinClient.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc index 7332a95..d6cd585 100644 --- a/src/WinClient.cc +++ b/src/WinClient.cc | |||
@@ -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.cc,v 1.23 2003/07/28 18:30:02 fluxgen Exp $ | 22 | // $Id: WinClient.cc,v 1.24 2003/09/11 19:55:27 rathnor Exp $ |
23 | 23 | ||
24 | #include "WinClient.hh" | 24 | #include "WinClient.hh" |
25 | 25 | ||
@@ -48,7 +48,6 @@ WinClient::WinClient(Window win, BScreen &screen, FluxboxWindow *fbwin):FbTk::Fb | |||
48 | min_aspect_x(1), min_aspect_y(1), | 48 | min_aspect_x(1), min_aspect_y(1), |
49 | max_aspect_x(1), max_aspect_y(1), | 49 | max_aspect_x(1), max_aspect_y(1), |
50 | base_width(1), base_height(1), | 50 | base_width(1), base_height(1), |
51 | win_gravity(0), | ||
52 | initial_state(0), | 51 | initial_state(0), |
53 | normal_hint_flags(0), | 52 | normal_hint_flags(0), |
54 | wm_hint_flags(0), | 53 | wm_hint_flags(0), |
@@ -56,6 +55,7 @@ WinClient::WinClient(Window win, BScreen &screen, FluxboxWindow *fbwin):FbTk::Fb | |||
56 | m_modal(0), | 55 | m_modal(0), |
57 | send_focus_message(false), | 56 | send_focus_message(false), |
58 | closable(false), | 57 | closable(false), |
58 | m_win_gravity(0), | ||
59 | m_title(""), m_icon_title(""), | 59 | m_title(""), m_icon_title(""), |
60 | m_class_name(""), m_instance_name(""), | 60 | m_class_name(""), m_instance_name(""), |
61 | m_blackbox_hint(0), | 61 | m_blackbox_hint(0), |
@@ -427,7 +427,7 @@ void WinClient::updateWMNormalHints() { | |||
427 | max_height = 0; | 427 | max_height = 0; |
428 | min_aspect_x = min_aspect_y = | 428 | min_aspect_x = min_aspect_y = |
429 | max_aspect_x = max_aspect_y = 1; | 429 | max_aspect_x = max_aspect_y = 1; |
430 | win_gravity = NorthWestGravity; | 430 | m_win_gravity = NorthWestGravity; |
431 | } else { | 431 | } else { |
432 | normal_hint_flags = sizehint.flags; | 432 | normal_hint_flags = sizehint.flags; |
433 | 433 | ||
@@ -467,9 +467,10 @@ void WinClient::updateWMNormalHints() { | |||
467 | base_width = base_height = 0; | 467 | base_width = base_height = 0; |
468 | 468 | ||
469 | if (sizehint.flags & PWinGravity) | 469 | if (sizehint.flags & PWinGravity) |
470 | win_gravity = sizehint.win_gravity; | 470 | m_win_gravity = sizehint.win_gravity; |
471 | else | 471 | else |
472 | win_gravity = NorthWestGravity; | 472 | m_win_gravity = NorthWestGravity; |
473 | |||
473 | } | 474 | } |
474 | } | 475 | } |
475 | 476 | ||