add a (temporary?) check to client_activate to make client_list_menu not crash openbox when selecting a window that has closed since the menu opened
This commit is contained in:
parent
eecc457292
commit
03cad5d97c
1 changed files with 3 additions and 0 deletions
|
@ -2788,6 +2788,9 @@ void client_unfocus(ObClient *self)
|
||||||
|
|
||||||
void client_activate(ObClient *self, gboolean here)
|
void client_activate(ObClient *self, gboolean here)
|
||||||
{
|
{
|
||||||
|
/* This check is for the client_list_menu trying to activate
|
||||||
|
* a closed client. */
|
||||||
|
if (!g_list_find(client_list, self)) return;
|
||||||
if (client_normal(self) && screen_showing_desktop)
|
if (client_normal(self) && screen_showing_desktop)
|
||||||
screen_show_desktop(FALSE);
|
screen_show_desktop(FALSE);
|
||||||
if (self->iconic)
|
if (self->iconic)
|
||||||
|
|
Loading…
Reference in a new issue