projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eecc457
)
add a (temporary?) check to client_activate to make client_list_menu not crash openbo...
author
Mikael Magnusson
<mikachu@comhem.se>
Mon, 25 Jul 2005 14:15:16 +0000
(14:15 +0000)
committer
Mikael Magnusson
<mikachu@comhem.se>
Mon, 25 Jul 2005 14:15:16 +0000
(14:15 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
59622c3
..
4d6a580
100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-2788,6
+2788,9
@@
void client_unfocus(ObClient *self)
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)