diff options
author | rathnor <rathnor> | 2004-09-11 15:52:23 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-09-11 15:52:23 (GMT) |
commit | 28c32c087adde2b7b1ede54fd3d4db796259ec9f (patch) | |
tree | 6643c6b9777d720c6f8c30654790c75360589288 /src/FbTk/FbWindow.cc | |
parent | b063688992c877a19556b36e8140e4d4b6890a0c (diff) | |
download | fluxbox-28c32c087adde2b7b1ede54fd3d4db796259ec9f.zip fluxbox-28c32c087adde2b7b1ede54fd3d4db796259ec9f.tar.bz2 |
more X error fixing
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r-- | src/FbTk/FbWindow.cc | 6 |
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 | ||
112 | FbWindow::~FbWindow() { | 112 | FbWindow::~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); |