emacs-exwm / exwm

Emacs X Window Manager
https://elpa.gnu.org/packages/exwm.html
GNU General Public License v3.0
284 stars 14 forks source link

corfu and external monitor #86

Closed 11111000000 closed 3 weeks ago

11111000000 commented 3 weeks ago

When external monitor attached, then corfu (triggered from notebook screen) shown on external monitor. How to fix that?

minad commented 3 weeks ago

This is a Corfu issue, unfortunately still not fixed. See https://github.com/minad/corfu/discussions/408.

Stebalien commented 3 weeks ago

It may also be possible to fix it in EXWM by making the frame the root window instead of making a separate root window, making child frames siblings of X windows. See https://github.com/emacs-exwm/exwm/issues/64. But... that's mostly a guess at this point, I don't know enough about X programming to know if that'll work (and it would complicate EXWM.

minad commented 3 weeks ago

It would be nice if EXWM-specific hacks could be removed from Corfu/Posframe and similar packages. It could be that child frames will see more usage in the future, also given that a terminal port is in the works. In any case we would first need an implementation and we should carefully weigh the pros and cons, avoiding unnecessarily complicating EXWM.