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

wayland: fix dunst crashing when sending notification with no outputs enabled #930

Merged
merged 2 commits into from
Oct 12, 2021

Conversation

fwsmit
Copy link
Member

@fwsmit fwsmit commented Oct 4, 2021

This commit does mess up the foreign toplevel support, however. So no fullscreen detection anymore. I'll fix that later.

Fixes #888

Edit: I also fixed the fullscreen detection

… enabled

This commit does mess up the foreign toplevel support, however. No
fullscreen detection anymore
@9ary
Copy link

9ary commented Oct 9, 2021

I can confirm this fixes the crash for me.

@codecov-commenter
Copy link

codecov-commenter commented Oct 12, 2021

Codecov Report

Merging #930 (d24d2a7) into master (9e712ae) will decrease coverage by 0.56%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #930      +/-   ##
==========================================
- Coverage   60.91%   60.35%   -0.57%     
==========================================
  Files          39       40       +1     
  Lines        6355     6414      +59     
==========================================
  Hits         3871     3871              
- Misses       2484     2543      +59     
Flag Coverage Δ
unittests 60.35% <0.00%> (-0.57%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/wayland/foreign_toplevel.c 0.00% <0.00%> (ø)
src/wayland/wl.c 0.00% <0.00%> (ø)
...gn-toplevel-management-unstable-v1-client-header.h 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e712ae...d24d2a7. Read the comment docs.

This is mostly taken from examples/foreign-toplevel.c of wlroots.
@fwsmit
Copy link
Member Author

fwsmit commented Oct 12, 2021

I can confirm this fixes the crash for me.

Thanks for testing, I'll merge it then

@fwsmit fwsmit merged commit a9d1330 into dunst-project:master Oct 12, 2021
@fwsmit fwsmit deleted the fix/wl_no_output_crash branch October 12, 2021 10:33
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.

segfault when receiving notifications while screen is off (Wayland)
3 participants