X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=f424ca041c13480c076eea71840da70878bb3649;hb=5a1fa9210d8d2ba483fe790750af34b0ce511da6;hp=b7cb41c85d8722a040f396598d19fc59bf69f9d4;hpb=9d0dfca7b09cd8189d2f51b68a1346b2b31b5d12;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index b7cb41c8..f424ca04 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -533,7 +533,8 @@ void screen_set_desktop(guint num, gboolean dofocus) } } - if (focus_client && (focus_client->desktop == DESKTOP_ALL || + if (focus_client && ((client_normal(focus_client) && + focus_client->desktop == DESKTOP_ALL) || focus_client->desktop == screen_desktop)) dofocus = FALSE;