+ if (con == maybe_floating_con) {
+ DLOG("It was in floating mode before, set scratchpad state to changed.\n");
+ con->scratchpad_state = SCRATCHPAD_CHANGED;
+ } else {
+ DLOG("It was in tiling mode before, set scratchpad state to fresh.\n");
+ con->scratchpad_state = SCRATCHPAD_FRESH;
+ }