diff --git a/tiling.js b/tiling.js index 5756eb0..976241d 100644 --- a/tiling.js +++ b/tiling.js @@ -370,14 +370,16 @@ add_handler = (ws, meta_window) => { } if (winprop.scratch_layer) { meta_window.stick(); + meta_window.make_above(); return; } } - // If we're focusing a scratch window make the new window scratch + // If we're focusing a scratch window make on top and return let focus_window = global.display.focus_window; if (focus_window && focus_window.is_on_all_workspaces()) { - meta_window.stick() + meta_window.stick(); + meta_window.make_above(); return; }