From 4c72f5721e00ae6914f0f40518cf83233ed15b32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 4 Feb 2014 22:44:57 -0800 Subject: [PATCH] shell: Remove elaborate if-statement with empty body --- desktop-shell/shell.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 27a9ef5c5..89d908d5a 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: