diff options
author | markt <markt> | 2007-07-03 21:08:07 (GMT) |
---|---|---|
committer | markt <markt> | 2007-07-03 21:08:07 (GMT) |
commit | 823ce0d0175b9b14a549117a303cc9e36e81c1a2 (patch) | |
tree | 0c8fc51a360db9b88f793663cb89eb79d4d76ca5 /src/FbTk/FbWindow.cc | |
parent | 24c023192fd5757bd1e1308f3aa00a41d0e21728 (diff) | |
download | fluxbox-823ce0d0175b9b14a549117a303cc9e36e81c1a2.zip fluxbox-823ce0d0175b9b14a549117a303cc9e36e81c1a2.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, |