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 layer does not allow mouse clicks and (exwm-randr-enable) is not a function #16809

Open
KhalfaniW opened this issue Jan 30, 2025 · 2 comments

Comments

@KhalfaniW
Copy link

KhalfaniW commented Jan 30, 2025

I setup a new emacs home dir, setup spacemacs, and only added the exwm layer. Then i ran it in a vritual virtual console tty2 Ctrl+Alt+f2

The first error I encountered is (exwm-randr-enable) is not a function. There is no (exwm-randr-enable) function in the exwm library

So I replaced (exwm-randr-enable) with (exwm-randr-mode 1) as I inferred from the wiki .


The second problem the mouse not working in applications.

When I click in a window like Xterm or firefox i get the error message mouse-drag-region must be bound to an event with parameters and no click is registered.

When I change the value below to false in packages.el

broken: (exwm-input-line-mode-passthrough t "Pass all keypresses to emacs in line mode.")
working (exwm-input-line-mode-passthrough nil "Pass all keypresses to emacs in line mode.")

then it works


version info:

  • Spacemacs v.0.999.0
  • "GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-07-01, modified by Debian"
  • Ubuntu 24.10
@smile13241324
Copy link
Collaborator

Hmpf exwm is difficult, the interface is changing all the time and it requires X to be even tested.

I think we need someone using it on a regular basis to ensure its working. If we don't I am inclined to remove support for it until the package becomes more stable.

@bcc32 @fnussbaum

@fnussbaum
Copy link
Collaborator

I can try to get the layer into an acceptable state (see also #16642), but I won't get to it until mid-February.

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

3 participants