With X11 + Xdbe, deallocate the Fl_Double_Window's back buffer at window close.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
c9e114945e
commit
d01ff3864f
@ -506,7 +506,10 @@ void Fl_Double_Window::hide() {
|
||||
Fl_X* myi = Fl_X::i(this);
|
||||
if (myi && myi->other_xid) {
|
||||
#if USE_XDBE
|
||||
if (!use_xdbe)
|
||||
if (use_xdbe) {
|
||||
XdbeDeallocateBackBufferName(fl_display, myi->other_xid);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
fl_delete_offscreen(myi->other_xid);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user