Open Litarvan opened 7 years ago
So ?
It is not obvious to me what you are trying to do. What application are you running the window manager in?
Xephyr, as it is described in https://github.com/jichu4n/basic_wm/blob/master/build_and_run.sh
Have your mouse pointer in the Xephyr window and do CTRL+SHIFT, then try the shortcuts like ALT+F4.
It does nothing, that's why I opened the issue
What @ajh123 is asking is if you pressed CTRL+SHIFT in the Xephyr window. This needs to happen so Xephyr captures your keyboard input rather than you normal window manager. The title of the Xephyr window will change to indicate if it is capturing input.
Same thing here. Xephyr is capturing my input and it is still not working. Any ideas on what I am doing wrong?
For some reason adding Mod2Mask
solved for me. Hope it's helpful for you guys too.
I'm having the same problem. I also got it to work by changing all occurrences of Mod1Mask to Mod2Mask. Mod 2 is supposed to be the number lock, so it causes my right clicks to resize the window, and right clicks to move it, I'm assuming since I have no numlock? That still doesn't explain why this doesn't work with alt.
I just tested it with a different keyboard, and turning off the numlock fixed the problem for me. Apparently with it on, the key combo becomes Mod2Mask + Mod1Mask + button1, which won't trigger the event.
I do CTRL + SHIFT to grab mouse/keyboard, but when i do the shortcuts in the README, nothing happen