Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cross-tie cursor over terrain is missing under linux/wayland #275

Open
savelov opened this issue Mar 13, 2021 · 0 comments
Open

cross-tie cursor over terrain is missing under linux/wayland #275

savelov opened this issue Mar 13, 2021 · 0 comments

Comments

@savelov
Copy link
Contributor

savelov commented Mar 13, 2021

when running under wayland (command line "XyGrib -platform wayland"), error is printed instead of displaying cross-tie cursor - QWaylandShmBuffer: mmap failed (Invalid argument).
This is caused by invalid pixmap inside cursor object, and at qwaylandcursor.cpp:251 img is invalid:
const QImage &img = cursor->pixmap().toImage();
Workaround is to use pixmap constructor for cursor instead of bitmap/mask constructor
pull request #276

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

No branches or pull requests

1 participant