diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2014-02-04 22:44:57 -0800 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-02-05 13:36:01 -0800 |
commit | 4c72f5721e00ae6914f0f40518cf83233ed15b32 (patch) | |
tree | 12305c262d9f93db1d8488af939889cc2c28185f | |
parent | 0b7d9958a8dfdac47bca6b3d08ec46f2ee48b9ae (diff) |
shell: Remove elaborate if-statement with empty body
-rw-r--r-- | desktop-shell/shell.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 27a9ef5c..89d908d5 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -4737,10 +4737,6 @@ map(struct desktop_shell *shell, struct shell_surface *shsurf, } } - if ((shsurf->type == SHELL_SURFACE_XWAYLAND || shsurf->state.relative) && - shsurf->transient.flags == WL_SHELL_SURFACE_TRANSIENT_INACTIVE) { - } - switch (shsurf->type) { /* XXX: xwayland's using the same fields for transient type */ case SHELL_SURFACE_XWAYLAND: |