wlr_surface: condition is always false

This commit is contained in:
Antonin Décimo 2019-08-09 16:26:28 +02:00 committed by Drew DeVault
parent b400c26b23
commit 8f3d73e3a3

View file

@ -828,10 +828,6 @@ static void subsurface_consider_map(struct wlr_subsurface *subsurface,
} }
// Now we can map the subsurface // Now we can map the subsurface
if (subsurface->mapped) {
return;
}
wlr_signal_emit_safe(&subsurface->events.map, subsurface); wlr_signal_emit_safe(&subsurface->events.map, subsurface);
subsurface->mapped = true; subsurface->mapped = true;