projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b7d995
)
shell: Remove elaborate if-statement with empty body
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 5 Feb 2014 06:44:57 +0000
(22:44 -0800)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 5 Feb 2014 21:36:01 +0000
(13:36 -0800)
desktop-shell/shell.c
patch
|
blob
|
history
diff --git
a/desktop-shell/shell.c
b/desktop-shell/shell.c
index
27a9ef5
..
89d908d
100644
(file)
--- 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: