Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exwm does not resize correctly in Xephyr without manually calling xrandr #88

Open
KhalfaniW opened this issue Nov 25, 2024 · 0 comments

Comments

@KhalfaniW
Copy link

Description

When running EXWM inside a nested X session with Xephyr, the window size doesn't update properly when resizing the Xephyr window, even after calling (exwm-randr-refresh). However, running xrandr command manually allows it calling (exwm-randr-refresh) to work.

Steps to Reproduce

  1. Start EXWM inside Xephyr
  2. Resize the Xephyr window
  3. Call (exwm-randr-refresh)

  • Current Behavior
    Window size remains unchanged after exwm-randr-refresh when resizing Xephyr window.

  • Expected Behavior
    Window size should update properly after resizing and calling exwm-randr-refresh.
    Or it should resize automatically because exwm-randr--on-ConfigureNotify should "Refresh when any RandR 1.5 monitor changes."

Workaround

Running the following code works as expected:

(progn
  (shell-command-to-string "xrandr")
  (exwm-randr-refresh))

version details

$ xrandr --version
xrandr program version       1.5.1
Server reports RandR version 1.6

$ emacs --version
GNU Emacs 29.4

  xserver-xephyr             2:21.1.4-2ubuntu1.7~22.04.12     

[latest exwm version]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant