all repos — openbox @ 03cad5d97cedc87728ec1ba8e39cbdba12ad756c

openbox fork - make it a bit more like ryudo

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
Mikael Magnusson mikachu@comhem.se
commit

03cad5d97cedc87728ec1ba8e39cbdba12ad756c

parent

eecc4572922ba2b9f7556bfcf50b91b29d42e074

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -2788,6 +2788,9 @@ }

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) screen_show_desktop(FALSE); if (self->iconic)