aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-09-11 15:52:23 (GMT)
committerrathnor <rathnor>2004-09-11 15:52:23 (GMT)
commit28c32c087adde2b7b1ede54fd3d4db796259ec9f (patch)
tree6643c6b9777d720c6f8c30654790c75360589288 /src/FbTk/FbWindow.cc
parentb063688992c877a19556b36e8140e4d4b6890a0c (diff)
downloadfluxbox-28c32c087adde2b7b1ede54fd3d4db796259ec9f.zip
fluxbox-28c32c087adde2b7b1ede54fd3d4db796259ec9f.tar.bz2
more X error fixing
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index 2a4aafa..1656942 100644
--- a/src/FbTk/FbWindow.cc
+++ b/src/FbTk/FbWindow.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: FbWindow.cc,v 1.40 2004/09/11 12:33:14 rathnor Exp $ 22// $Id: FbWindow.cc,v 1.41 2004/09/11 15:52:23 rathnor Exp $
23 23
24#include "FbWindow.hh" 24#include "FbWindow.hh"
25#include "FbPixmap.hh" 25#include "FbPixmap.hh"
@@ -111,6 +111,10 @@ FbWindow::FbWindow(Window client):FbDrawable(), m_parent(0),
111 111
112FbWindow::~FbWindow() { 112FbWindow::~FbWindow() {
113 113
114 // Need to free xrender pics before destroying window
115 if (m_transparent.get() != 0)
116 m_transparent.reset(0);
117
114 if (m_window != 0) { 118 if (m_window != 0) {
115 // so we don't get any dangling eventhandler for this window 119 // so we don't get any dangling eventhandler for this window
116 FbTk::EventManager::instance()->remove(m_window); 120 FbTk::EventManager::instance()->remove(m_window);