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

Nothing happens when I do these #5

Open
foryoung2018 opened this issue Jan 16, 2024 · 1 comment
Open

Nothing happens when I do these #5

foryoung2018 opened this issue Jan 16, 2024 · 1 comment

Comments

@foryoung2018
Copy link

Alt + Left Click: Move window
Alt + Right Click: Resize window
Alt + F4: Close window
Alt + Tab: Switch window

ctrl+shift grabs mouse and keyboard showing in Xephyr window title

@little-populus
Copy link

little-populus commented Apr 10, 2024

If you are using a keyboard which has a numLock key, note that key binding will be viewed as Mod1Mask | ... | Mod2Mask instead, all thing you need to do is to turn off NumLock or just add Mask like this
XGrabButton(
display_,
Button1,
Mod1Mask | Mod2Mask, //you should add Mod2Mask in every grab function if don't want to turn off NumLock
w,
false,
ButtonPressMask | ButtonReleaseMask | ButtonMotionMask,
GrabModeAsync,
GrabModeAsync,
None,
None);

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

2 participants