summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/screen.c')
-rw-r--r--openbox/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index 11d5ae13..c9b05a51 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -485,7 +485,7 @@ void screen_show_desktop(gboolean show)
if (show) {
/* focus desktop */
for (it = focus_order[screen_desktop]; it; it = it->next)
- if (((ObClient*)it->data)->type == Type_Desktop &&
+ if (((ObClient*)it->data)->type == OB_CLIENT_TYPE_DESKTOP &&
client_focus(it->data))
break;
} else {