dunst icon indicating copy to clipboard operation
dunst copied to clipboard

Allow to build without dependency on X11, i.e. Wayland-only build

Open jirutka opened this issue 3 years ago • 2 comments

Currently, dunst can be built without Wayland support, but not the opposite – without X11. It’d be nice to provide this option.

jirutka avatar Jan 03 '22 21:01 jirutka

Yeah that'd be cool. Shouldn't be too hard to do, I think. We already split the x11-specific code in it's own directory.

Edit: Of course, there also needs to be a check for X11 support then if you enable the option force_xwayland and an error message when X11 is not enabled.

fwsmit avatar Jan 05 '22 16:01 fwsmit

Yeah that'd be cool.

Indeed. That should also get rid of X11 issues within Wayland. I've had this issue— for example, in which dunst was expecting an X11 display and completely crashed the daemon. It would evidently reduce bloat of X11 when you're just using Wayland.

LeCodingWolfie avatar Sep 17 '22 10:09 LeCodingWolfie

I dont know if we are there yet, but maybe this can be added to the milestone @fwsmit

bynect avatar Feb 21 '24 12:02 bynect

I made a pr making X11 optional. If someone with wayland could test if everything works (it should work) it would be great

bynect avatar Feb 23 '24 18:02 bynect