aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonin Décimo <antonin.decimo@gmail.com>2019-08-09 16:26:28 +0200
committerDrew DeVault <sir@cmpwn.com>2019-08-12 09:37:21 +0900
commit8f3d73e3a30e88f293e8f588455486c696328942 (patch)
tree1265f5eb20cc54cfe33ddbb176506ba344394cdf
parentb400c26b236bdd462daabc88f44ee98720a1693c (diff)
wlr_surface: condition is always false
-rw-r--r--types/wlr_surface.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/types/wlr_surface.c b/types/wlr_surface.c
index 7b5cea95..ca10e08b 100644
--- a/types/wlr_surface.c
+++ b/types/wlr_surface.c
@@ -828,10 +828,6 @@ static void subsurface_consider_map(struct wlr_subsurface *subsurface,
}
// Now we can map the subsurface
- if (subsurface->mapped) {
- return;
- }
-
wlr_signal_emit_safe(&subsurface->events.map, subsurface);
subsurface->mapped = true;