Allow marked containers to be moved out of the scratchpad via move command

This commit is contained in:
Ryan Dwyer 2018-09-05 17:59:31 +10:00
parent 1f2e0ff54b
commit dbf4aa3e33
3 changed files with 30 additions and 17 deletions

View file

@ -164,6 +164,10 @@ uint32_t view_configure(struct sway_view *view, double lx, double ly, int width,
}
void view_autoconfigure(struct sway_view *view) {
if (!view->container->workspace) {
// Hidden in the scratchpad
return;
}
struct sway_output *output = view->container->workspace->output;
if (view->container->is_fullscreen) {