diff options
author | markt <markt> | 2007-07-03 21:09:05 (GMT) |
---|---|---|
committer | markt <markt> | 2007-07-03 21:09:05 (GMT) |
commit | 8f6434efa67b2f11548c9862aaa0d29488645500 (patch) | |
tree | ad8e627d4d2b3aa4e46e4c60bd2034d93130ff45 /src/FbTk/FbWindow.cc | |
parent | df5974b9235a345ae68fa8ff96256ae68ab2518b (diff) | |
download | fluxbox-8f6434efa67b2f11548c9862aaa0d29488645500.zip fluxbox-8f6434efa67b2f11548c9862aaa0d29488645500.tar.bz2 |
stop gvim from repeatedly resizing tabbed windows
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r-- | src/FbTk/FbWindow.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc index 3dce5b8..2c2bb24 100644 --- a/src/FbTk/FbWindow.cc +++ b/src/FbTk/FbWindow.cc | |||
@@ -582,10 +582,10 @@ void FbWindow::updateGeometry() { | |||
582 | 582 | ||
583 | Window root; | 583 | Window root; |
584 | unsigned int border_width, depth; | 584 | unsigned int border_width, depth; |
585 | XGetGeometry(display(), m_window, &root, &m_x, &m_y, | 585 | if (XGetGeometry(display(), m_window, &root, &m_x, &m_y, |
586 | (unsigned int *)&m_width, (unsigned int *)&m_height, | 586 | (unsigned int *)&m_width, (unsigned int *)&m_height, |
587 | &border_width, &depth); | 587 | &border_width, &depth)) |
588 | m_depth = depth; | 588 | m_depth = depth; |
589 | } | 589 | } |
590 | 590 | ||
591 | void FbWindow::create(Window parent, int x, int y, | 591 | void FbWindow::create(Window parent, int x, int y, |