mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 09:28:11 +02:00
shell: Remove elaborate if-statement with empty body
This commit is contained in:
parent
0b7d9958a8
commit
4c72f5721e
1 changed files with 0 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue