mirror of
https://github.com/danbulant/appit
synced 2026-07-05 11:00:47 +00:00
attempting to work around Wayland resize bug
This commit is contained in:
parent
57acfd2e15
commit
ade531605e
2 changed files with 3 additions and 2 deletions
|
|
@ -14,8 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
the event loop such as monitor information. The affected APIs are:
|
the event loop such as monitor information. The affected APIs are:
|
||||||
|
|
||||||
- `PendingApp::new_with_event_callback`
|
- `PendingApp::new_with_event_callback`
|
||||||
- `WindowBehavior::run_witH_event_callback`
|
- `WindowBehavior::run_with_event_callback`
|
||||||
- `WindowBehavior::run_witH_context_and_event_callback`
|
- `WindowBehavior::run_with_context_and_event_callback`
|
||||||
- `RunningWindow::position` has been split into `RunningWindow::inner_position`
|
- `RunningWindow::position` has been split into `RunningWindow::inner_position`
|
||||||
and `RunningWindow::outer_position`. `RunningWindow::set_position` has been
|
and `RunningWindow::outer_position`. `RunningWindow::set_position` has been
|
||||||
renamed to `RunningWindow::set_outer_position`.
|
renamed to `RunningWindow::set_outer_position`.
|
||||||
|
|
|
||||||
|
|
@ -491,6 +491,7 @@ where
|
||||||
// been initialized.
|
// been initialized.
|
||||||
if let Some(activate) = self.show_after_init {
|
if let Some(activate) = self.show_after_init {
|
||||||
self.next_redraw_target = None;
|
self.next_redraw_target = None;
|
||||||
|
self.inner_size = self.window.inner_size();
|
||||||
behavior.redraw(&mut self);
|
behavior.redraw(&mut self);
|
||||||
self.window.set_visible(true);
|
self.window.set_visible(true);
|
||||||
if activate {
|
if activate {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue