feh
                                
                                 feh copied to clipboard
                                
                                    feh copied to clipboard
                            
                            
                            
                        Native Wayland support
Hi and thanks a lot for feh!
I can see that feh works great on Wayland (specifically Sway). I assume it uses XWayland for compatibility.
I was wondering if there are plans to have feh run without XWayland, supporting Wayland natively, like imv does.
Wow, it's been more than a year, 😅. I wait it for Wayland too.
@ahmadraniri1994: I assume porting feh takes quite a bit of effort and it might not be a priority for enough developers to implement it since feh works pretty well on Sway as well, non-natively.
I had a quick look at feh code that uses X11-specific features, if you or someone else tries to have a go at implementing native Sway support:
- https://github.com/derf/feh/blob/master/src/feh.h
- https://github.com/derf/feh/blob/master/src/winwidget.c
- https://github.com/derf/feh/blob/master/src/keyevents.c
I am happy to test it. None of the Wayland solutions I have seen are as good…