EXWM always show candidates childframe on one monitor #408
Replies: 3 comments 12 replies
-
Hi! Unfortunately I do not know how to improve this and I cannot test EXWM on multiple monitors. Help with this would be welcome. In commit 1c53066, I made sure that the Corfu child frame is always visible, and not occluded by EXWM windows. In #235 there is a potential solution, but it looks a little bit ugly. I think the problem is that under EXWM the frame is decoupled from its parent and as such the relative positioning is computed always to the frame which was first used to create the popup. |
Beta Was this translation helpful? Give feedback.
-
Yes, you are right, if the frame is decoupled from its parent, the position is always relative to the top left corner of your monitors setup. With the reference to #235, I quickly draft a solution. Just add the x position when there is a exwm-connection in the set-frame-position function.
This is a quick and dirty solution, but it works well. Just check if it is in exwm when setting frame position, add the x y position with the window geometry. To be clear, this is the only thing I modified.
|
Beta Was this translation helpful? Give feedback.
-
In the past week or so I have started to get an error with this fix.
|
Beta Was this translation helpful? Give feedback.
-
I have a dual monitor setup with EXWM.
I have read the wiki that commit 1c53066 fixed EXWM.
However, after this commit, the completion candidates only show on my left monitor even I am typing on my right monitor.
Before this commit, everything was fine. I am not sure what is causing the issue. I am currently at commit 497c853, one commit before the "exwm fix" commit, everything is back to normal.
I am using the HEAD of Emacs built from source.
Beta Was this translation helpful? Give feedback.
All reactions