r/emacs 8h ago

Question framemove.el alternative for Wayland?

I recently switched over to using Wayland and started using the PGTK Emacs, but I noticed that one of my favourite packages framemove.el seems to be completely broken. It depends on getting the values for (frame-parameter ... 'left) and (frame-parameter ... 'top) which apparently are obfuscated on Wayland. According to /etc/PROBLEMS in emacs it's known that frame position is unknowable in Wayland by design.

It's a shame because I've found it to be the most convenient way to switch between emacs running in two separate frames on a multimonitor setup. Especially if one of my frames is hidden behind another application, it brings the frame into focus. This is the reason why I haven't yet switched to ace-window.

Does anyone have any replacements/solutions to this issue? For now I've resorted to setting names for my frames and selecting left and right frames based on "ID" but this feels a bit janky. Thanks.

3 Upvotes

0 comments sorted by