rootston: fix segfault when destroying unmapped xwayland view

This happens when closing chromium for instance.
master
emersion 7 years ago
parent bde255933e
commit bed7522108
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

@ -414,7 +414,9 @@ static void output_damage_whole_surface(struct roots_output *output,
void output_damage_whole_view(struct roots_output *output,
struct roots_view *view) {
if (view->wlr_surface != NULL) {
output_damage_whole_surface(output, view->wlr_surface, view->x, view->y);
}
// TODO: subsurfaces, popups, etc
}

Loading…
Cancel
Save