Skip to content

Conversation

@mmstick
Copy link
Contributor

@mmstick mmstick commented Nov 16, 2022

The patch was accepted into winit early this year. Iced has also already pulled a winit release that contains it. So it's just a matter of utilizing it here.

Requires iced-rs/winit#8
Implements iced-rs/rfcs#14

@hecrj hecrj added this to the 1.0.0 milestone Apr 12, 2023
@mmstick mmstick changed the title Client-side window cursor resize support feat(winit): client-side window drag resize support Aug 18, 2023
@n1ght-hunter
Copy link
Contributor

is there a reason this isnt merged yet?

) -> Option<
impl FnMut(&winit::window::Window, &winit::event::WindowEvent<'_>) -> bool,
> {
if window.drag_resize_window(ResizeDirection::East).is_ok() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its worth mentioning that this line appears to be the source of the libcosmic Windows resizing on start bug. I don't see another way of checking for this support in winit at runtime, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants