Open ciampolo opened 5 years ago
For example Firefox also has such space ( the blank space around the urlbar) where you can move the window without having to hold another key.
I am unable to move any application without the modifier key, including Firefox.
I'm in the same boat, I moved to bspwm because I wanted less magic in my config files; there must be something about bspwm that lets it intercept window XMoveWindow or XMoveResizeWindow x11 calls.
UPDATE: A few searches later; it seems like bspwm does not handle the atom '_NET_WM_MOVERESIZE'. i3 has code here to handle it when clients request movement: https://github.com/i3/i3/blob/10646eb0021403c1f1448339603b24c50da0e604/src/handlers.c#L881 There's documentation on these atoms here: https://specifications.freedesktop.org/wm-spec/wm-spec-latest.html#idm46035372579808
I may take a stab at implementing this over the weekend; keyboard-driven automated window layouts are super powerful and make me productive but being able to forgo the restrictions and drag a window around is also nice.
In other Window managers (i tried Kwin, xfwm, i3) I can just left mouse click onto the mpv gui and move it around by just holding the left mouse button. In bspwm I have to use mouse + mod key.
I also noticed this only happens with mpv not with other applications that provide such a move/drag space. For example Firefox also has such space ( the blank space around the urlbar) where you can move the window without having to hold another key.
Any clue where the issue here lies? My bspwm version is 0.9.5. I really don't want to solve this with hacky scripts if possible. Thank you.