Created attachment 228636 [details] patch to enable gmrun on multihead deployments. For those of us who use x11/gmrun on multi-headed Xorg rigs, running gmrun without this proposed patch places the app on a statically configured location. It'd be nice if it would follow the way other apps do, based on currently selected desktop and/or "follow mouse". This 'ancient' patch available on Arch Linux's AUR does the trick. It compiles cleanly & functions as intended, along with the necessary adjustment to the GMrun config file (.gmrunrc / setting both Top & Left to "-1"). Link to patch file on AUR: https://aur.tuna.tsinghua.edu.cn/cgit/aur.git/plain/center-and-multihead.patch?h=gmrun-multihead I've also attached the functional patch file, which needs to be copied to /usr/ports/x11/gmrun/files && the usual # make patch / make install clean etc
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=edcb5d3860b77b8df6995a17cbdcee75bca5ae70 commit edcb5d3860b77b8df6995a17cbdcee75bca5ae70 Author: fgorter <fgorter@gmail.com> AuthorDate: 2022-02-25 11:52:56 +0000 Commit: Renato Botelho <garga@FreeBSD.org> CommitDate: 2022-02-25 11:52:56 +0000 x11/gmrun: Fix position on multihead Add a patch to make gmrun to show on current desktop instead of a static place to help people using it on multihead environment. PR: 259115 Obtained from: https://aur.archlinux.org/cgit/aur.git/tree/center-and-multihead.patch?h=gmrun-multihead Sponsored by: Rubicon Communications, LLC ("Netgate") x11/gmrun/Makefile | 2 +- x11/gmrun/files/patch-config_gmrunrc (new) | 12 ++++++++++++ x11/gmrun/files/patch-src_main.cc (new) | 22 ++++++++++++++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-)