unset _NET_SUPPORTING_WM_CHECK when shutting down
This commit is contained in:
parent
eed3245b1b
commit
11d0d207fd
@ -264,6 +264,13 @@ set_wm_check_hint (MetaScreen *screen)
|
|||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
unset_wm_check_hint (MetaScreen *screen)
|
||||||
|
{
|
||||||
|
XDeleteProperty (screen->display->xdisplay, screen->xroot,
|
||||||
|
screen->display->atom__NET_SUPPORTING_WM_CHECK);
|
||||||
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
set_supported_hint (MetaScreen *screen)
|
set_supported_hint (MetaScreen *screen)
|
||||||
{
|
{
|
||||||
@ -850,6 +857,8 @@ meta_screen_free (MetaScreen *screen,
|
|||||||
meta_warning (_("Could not release screen %d on display \"%s\"\n"),
|
meta_warning (_("Could not release screen %d on display \"%s\"\n"),
|
||||||
screen->number, screen->display->name);
|
screen->number, screen->display->name);
|
||||||
|
|
||||||
|
unset_wm_check_hint (screen);
|
||||||
|
|
||||||
XDestroyWindow (screen->display->xdisplay,
|
XDestroyWindow (screen->display->xdisplay,
|
||||||
screen->wm_sn_selection_window);
|
screen->wm_sn_selection_window);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user