Giter Site home page Giter Site logo

Winit backend window resize about smithay HOT 4 CLOSED

smithay avatar smithay commented on May 25, 2024
Winit backend window resize

from smithay.

Comments (4)

elinorbgr avatar elinorbgr commented on May 25, 2024

This is potentially related to the fact that we are a few versions behind on winit, so it may possibly be a winit bug that has been fixed since.

from smithay.

csnewman avatar csnewman commented on May 25, 2024

Updating to winit 0.19.5 seemed to make the problem worse, with the resize event constantly being triggered after a resize: (the height is also still wrong.)

Dec 23 19:10:38.202 INFO Resizing window to LogicalSize { width: 1280.0, height: 819.0 }, smithay_winit_component: input, smithay_module: backend_winit
Dec 23 19:10:38.202 INFO Resizing window to LogicalSize { width: 1280.0, height: 1004.0 }, smithay_winit_component: input, smithay_module: backend_winit
Dec 23 19:10:38.218 INFO Resizing window to LogicalSize { width: 1280.0, height: 819.0 }, smithay_winit_component: input, smithay_module: backend_winit
Dec 23 19:10:38.219 INFO Resizing window to LogicalSize { width: 1280.0, height: 1004.0 }, smithay_winit_component: input, smithay_module: backend_winit
....

Until the program crashes.

from smithay.

elinorbgr avatar elinorbgr commented on May 25, 2024

Hmm, indeed. It looks like this line is a leftover from a previous time, when the winit semantics where different.

While it does nothing problematic on Wayland, it is not needed either. So if it poses problems on x11 I guess we can remove this.

from smithay.

elinorbgr avatar elinorbgr commented on May 25, 2024

This was removed in #172, so I'm going to close this for now. Feel free to reopen if you hit this again from master.

from smithay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.