feh icon indicating copy to clipboard operation
feh copied to clipboard

Native Wayland support

Open mb720 opened this issue 5 years ago • 3 comments

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.

mb720 avatar Jun 14 '20 16:06 mb720

Wow, it's been more than a year, 😅. I wait it for Wayland too.

ahmadraniri1994 avatar Nov 12 '21 11:11 ahmadraniri1994

@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

mb720 avatar Nov 12 '21 11:11 mb720

I am happy to test it. None of the Wayland solutions I have seen are as good…

kierun avatar Oct 11 '23 12:10 kierun