shell: Remove elaborate if-statement with empty body
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 5 Feb 2014 06:44:57 +0000 (22:44 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 5 Feb 2014 21:36:01 +0000 (13:36 -0800)
desktop-shell/shell.c

index 27a9ef5..89d908d 100644 (file)
@@ -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: