mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
b=623380 destroy XtClient child window on unrealize r=stransky
--HG-- extra : rebase_source : 499c3f65e890bc1e327b40936cc2e781e0193251
This commit is contained in:
parent
6cf98de946
commit
bbbddbd3a9
@ -565,6 +565,11 @@ xt_client_create ( XtClient* xtclient ,
|
||||
void
|
||||
xt_client_unrealize ( XtClient* xtclient )
|
||||
{
|
||||
/* Explicitly destroy the child_widget window because this is actually a
|
||||
child of the socket window. It is not a child of top_widget's window
|
||||
when that is destroyed. */
|
||||
XtUnrealizeWidget(xtclient->child_widget);
|
||||
|
||||
#if XlibSpecificationRelease >= 6
|
||||
XtUnregisterDrawable(xtclient->xtdisplay,
|
||||
xtclient->top_widget->core.window);
|
||||
|
Loading…
Reference in New Issue
Block a user