summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2007-05-25 15:36:26 +0000
committerMikael Magnusson <mikachu@comhem.se>2007-05-25 15:36:26 +0000
commitcca8a9030154a13c05d63ab700bc94c578707891 (patch)
treebe1392b4788376b42ac276639d8f5948d68bcfd9
parent91dbbeb65eccf9ee41156417c2394bd51bd59f0e (diff)
haha typo etc
-rw-r--r--openbox/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index 1c058d99..2e8965e2 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -537,8 +537,8 @@ void screen_set_desktop(guint num, gboolean dofocus)
with us, they don't get hidden
*/
if (dofocus
- && (!focus_client || (focus->client.desktop != DESKTOP_ALL
- && focus->client.desktop != num))
+ && (!focus_client || (focus_client->desktop != DESKTOP_ALL
+ && focus_client->desktop != num))
&& (c = focus_fallback(TRUE)))
{
/* only do the flicker reducing stuff ahead of time if we are going