shell: Remove elaborate if-statement with empty body
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user