Fix Fl_Xdbe_Window_Driver::destroy_double_buffer() for an Fl_Overlay_Window.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2016-03-20 19:20:30 +00:00
parent 02edfc29b7
commit e4c90deee8
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ public:
};
void Fl_Xdbe_Window_Driver::destroy_double_buffer() {
if (pWindow->as_overlay_window()) return Fl_X11_Window_Driver::destroy_double_buffer();
Fl_X *i = Fl_X::i(pWindow);
XdbeDeallocateBackBufferName(fl_display, i->other_xid);
i->other_xid = 0;