+ SLIST_FOREACH(client, &(ws->focus_stack), focus_clients) {
+ client->force_reconfigure = true;
+ if (!client_is_floating(client))
+ continue;
+ /* For floating clients we need to translate the
+ * coordinates (old workspace to new workspace) */
+ DLOG("old: (%x, %x)\n", client->rect.x, client->rect.y);
+ client->rect.x -= ws->rect.x;
+ client->rect.y -= ws->rect.y;
+ client->rect.x += ws->output->rect.x;
+ client->rect.y += ws->output->rect.y;
+ DLOG("new: (%x, %x)\n", client->rect.x, client->rect.y);
+ }
+