aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbPixmap.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-07-03 21:08:07 (GMT)
committermarkt <markt>2007-07-03 21:08:07 (GMT)
commit823ce0d0175b9b14a549117a303cc9e36e81c1a2 (patch)
tree0c8fc51a360db9b88f793663cb89eb79d4d76ca5 /src/FbTk/FbPixmap.cc
parent24c023192fd5757bd1e1308f3aa00a41d0e21728 (diff)
downloadfluxbox_pavel-823ce0d0175b9b14a549117a303cc9e36e81c1a2.zip
fluxbox_pavel-823ce0d0175b9b14a549117a303cc9e36e81c1a2.tar.bz2
stop gvim from repeatedly resizing tabbed windows
Diffstat (limited to 'src/FbTk/FbPixmap.cc')
-rw-r--r--src/FbTk/FbPixmap.cc15
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