diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-09-22 19:51:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-22 19:51:02 -0500 |
commit | 68395f34f686aa1901077505405775ba5bafe6ee (patch) | |
tree | 0c3a2cff652b212830efb9d674c1b8d6d305bcac /sway/desktop/xdg_shell.c | |
parent | ae2055dcf1d389b0acefad4c55cb6030731e9c51 (diff) | |
parent | cb66bbea42adeabd7bd87132a66589e14a46940f (diff) |
Merge pull request #2688 from RyanDwyer/exec-commands-without-focus
Allow running commands on containers without focusing them
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r-- | sway/desktop/xdg_shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index 00448be7..6d1ccdd7 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c @@ -401,7 +401,7 @@ static void handle_map(struct wl_listener *listener, void *data) { } else { if (view->container->parent) { arrange_container(view->container->parent); - } else { + } else if (view->container->workspace) { arrange_workspace(view->container->workspace); } } |