aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-22 19:51:02 -0500
committerGitHub <noreply@github.com>2018-09-22 19:51:02 -0500
commit68395f34f686aa1901077505405775ba5bafe6ee (patch)
tree0c3a2cff652b212830efb9d674c1b8d6d305bcac /sway/desktop/xwayland.c
parentae2055dcf1d389b0acefad4c55cb6030731e9c51 (diff)
parentcb66bbea42adeabd7bd87132a66589e14a46940f (diff)
Merge pull request #2688 from RyanDwyer/exec-commands-without-focus
Allow running commands on containers without focusing them
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 3619f202..a12ac854 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -394,7 +394,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);
}
}