I'm encountering issues getting Bevy to recognise window resizing on Sway (i didn't test it on any other wayland compositors)
It allows the resize, but the viewport doesn't change size to accomodate the changes.
Is this a bug or am I just missing something basic?
use bevy::prelude::*;
fn main() -> AppExit {
App::new()
.add_plugins(DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
title: "SineWave".into(),
fit_canvas_to_parent: true,
prevent_default_event_handling: false,
resizable: true,
..default()
}),
..default()
}))
.run()
}