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/FbPixmap.cc | |
parent | df5974b9235a345ae68fa8ff96256ae68ab2518b (diff) | |
download | fluxbox-8f6434efa67b2f11548c9862aaa0d29488645500.zip fluxbox-8f6434efa67b2f11548c9862aaa0d29488645500.tar.bz2 |
stop gvim from repeatedly resizing tabbed windows
Diffstat (limited to 'src/FbTk/FbPixmap.cc')
-rw-r--r-- | src/FbTk/FbPixmap.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/FbTk/FbPixmap.cc b/src/FbTk/FbPixmap.cc index 9143232..0289ddd 100644 --- a/src/FbTk/FbPixmap.cc +++ b/src/FbTk/FbPixmap.cc | |||
@@ -114,13 +114,14 @@ FbPixmap &FbPixmap::operator = (Pixmap pm) { | |||
114 | Window root; | 114 | Window root; |
115 | int x, y; | 115 | int x, y; |
116 | unsigned int border_width, bpp; | 116 | unsigned int border_width, bpp; |
117 | XGetGeometry(display(), | 117 | if (!XGetGeometry(display(), |
118 | pm, | 118 | pm, |
119 | &root, | 119 | &root, |
120 | &x, &y, | 120 | &x, &y, |
121 | &m_width, &m_height, | 121 | &m_width, &m_height, |
122 | &border_width, | 122 | &border_width, |
123 | &bpp); | 123 | &bpp)) |
124 | return *this; | ||
124 | 125 | ||
125 | m_depth = bpp; | 126 | m_depth = bpp; |
126 | 127 | ||