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

Drag.icon can also return None if clients don't provide icons to render #107

Merged
merged 1 commit into from
Oct 29, 2022

Conversation

m-col
Copy link
Collaborator

@m-col m-col commented Oct 28, 2022

Drags provided by clients might not provide icons for rendering (e.g. google chrome), so trying to create Icons for ffi.NULL causes segfaults.

E.g. see qtile/qtile#3894

Drags provided by clients might not provide icons for rendering (e.g.
google chrome), so trying to create Icons for ffi.NULL causes segfaults.

E.g. see qtile/qtile#3894
m-col added a commit to m-col/qtile that referenced this pull request Oct 28, 2022
Sometimes they don't provide icons when dragging (e.g. chrome when
dragging tabs). Thus `wlr_drag.icon` can be `None`.

Requires flacjacket/pywlroots#107

Fixes qtile#3894
@flacjacket flacjacket merged commit f826f20 into flacjacket:main Oct 29, 2022
m-col added a commit to m-col/qtile that referenced this pull request Oct 29, 2022
Sometimes they don't provide icons when dragging (e.g. chrome when
dragging tabs). Thus `wlr_drag.icon` can be `None`.

Requires flacjacket/pywlroots#107

Fixes qtile#3894
m-col added a commit to qtile/qtile that referenced this pull request Oct 30, 2022
Sometimes they don't provide icons when dragging (e.g. chrome when
dragging tabs). Thus `wlr_drag.icon` can be `None`.

Requires flacjacket/pywlroots#107

Fixes #3894
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.

2 participants