mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
b=623380 destroy XtClient child window on unrealize r=stransky
--HG-- extra : transplant_source : u%8A%02%E1%C5%96%16%21ica%9A%80%AF%A3e%16%0C%7Dy
This commit is contained in:
parent
2cb5f45a27
commit
b7d6a27dce
@ -619,6 +619,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