events: Allow resizing regardless of modifiers
xfwm4 expects no keyboard modifiers (other than the usual locks) in button events to allow interactive resizing. There is no reason to be so picky, especially considering there is no such check when moving windows. Relax the requirements for resizing and allow interactive resize with the mouse regardless of the modifiers being pressed. Signed-off-by:Olivier Fourdan <fourdan@xfce.org> Closes: #487
-
This was really quick, chapeau! Is there a reason to not relax that on other things too? I built this commit on Arch and the window resizing on borders work now. But the problems with modifier key + left/right button for moving/resizing and alt + tab remain. Is that something what is planned to be changed or do you think I have just configured something on my system which causes this behavior and is fixable with configuration?
I just figured out that disabling num lock solves all this issues but I have no clue how to get the num lock without this strange behaviors, although I can understand why this happens.
-
Maintainer
Yes, modifiers are part of keyboard shortcuts, you can't just ignore them there.
The fix here just hide the underlying problem on your system, that still need to be addressed. Could be anything, from a broken keyboard or even sticky keys. That can be determined with
xev
when the issue occurs, to determine at least which modifier remains active. -
Maintainer
Indeed, NumLock is a modifier, but it should be accounted for automatically and not cause any trouble. Do you have any peculiar xkb setting? Specific keyboard layout?
-
I understand, that is true I have a custom keyboard layout as the Austrian layout is not suitable for programming. I do not think that I messed up with any modifier keys but I can share it tomorrow. I did not modify anything except of alphanumeric keys and the rotated colon key.
But as you said it is a problem with numlock on my system. Interesting that it seems to be the fault although it should not be considered.
-
I have attached my custom keyboard layout. In addition, I tried switching it to the Austrian layout which does not have the numlock problem in both modes. The weird thing is that when I switched back to my custom layout everything worked as intended and there were no problems with numlock ch