GithubHelp home page GithubHelp logo

native wayland support about oculante HOT 2 OPEN

luiswirth avatar luiswirth commented on June 2, 2024
native wayland support

from oculante.

Comments (2)

woelper avatar woelper commented on June 2, 2024

Hi, and thanks for the report!

Could you have a quick look at this issue and see if it is related?

I am not a wayland user, but I was under the impression Oculante did work natively. Could you tell me how I find out if it is running under xwayland?

I am using notan under the hood, which uses winit - so I have one layer of indirection that might be massaged to work correctly.

from oculante.

luiswirth avatar luiswirth commented on June 2, 2024

I don't think this is related to the issue you mentioned. Since in this issue, the reporter at least gets a wayland error. For me oculante doesn't event try to run natively on wayland.

I can easily tell that oculante is using xwayland inside my wayland session, because of

  • this log message:
    [2024-05-24T13:53:43Z INFO  winit::platform_impl::platform::x11::window] Guessed window scale factor: 1
    
  • and using xorg-xeyes, I can see which windows send mouse events to xorg. xeyes usually can't track my mouse cursor, but when inside of the oculante window xeyes does track my cursor, proving that it's running under xwayland.

In order to find out if an application is running under xwayland, you need to be running some kind of wayland compositor of course. I'm not quite sure what's the easiest for you to test this.
It might be weston. Just run weston from the tty and you'll be inside of it. You should also be able to run weston inside of Xorg, by also just running it inside an existing Xorg session.

from oculante.

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.