Window: use content_view as DecorView if available

This commit is contained in:
Julian Winkler
2023-11-04 17:00:12 +01:00
parent 7bb5a1e33a
commit 1cef28f086

View File

@@ -47,6 +47,8 @@ public class Window {
}
public View getDecorView() {
if (contentView != null)
return contentView;
return new View(); // FIXME: this can probably backfire
}