void scratchpad_move(Con *con) {
if (con->type == CT_WORKSPACE) {
LOG("'move scratchpad' used on a workspace \"%s\". Calling it "
- "recursively on all windows on this workspace.\n", con->name);
+ "recursively on all windows on this workspace.\n",
+ con->name);
Con *current;
current = TAILQ_FIRST(&(con->focus_head));
while (current) {
if (!con && (floating = con_inside_floating(walk_con)) &&
floating->scratchpad_state != SCRATCHPAD_NONE &&
floating != con_inside_floating(focused)) {
- DLOG("Found an unfocused scratchpad window on this workspace\n");
- DLOG("Focusing it: %p\n", walk_con);
- /* use con_descend_tiling_focused to get the last focused
+ DLOG("Found an unfocused scratchpad window on this workspace\n");
+ DLOG("Focusing it: %p\n", walk_con);
+ /* use con_descend_tiling_focused to get the last focused
* window inside this scratch container in order to
* keep the focus the same within this container */
- con_focus(con_descend_tiling_focused(walk_con));
- return;
- }
+ con_focus(con_descend_tiling_focused(walk_con));
+ return;
+ }
}
/* If this was 'scratchpad show' without criteria, we check if there is a