placemouse: adding options for tiled position being relative to client center
This commit is contained in:
@@ -1161,7 +1161,12 @@ static Button buttons[] = {
|
||||
#endif // BAR_STATUSCMD_PATCH
|
||||
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
|
||||
#if PLACEMOUSE_PATCH
|
||||
{ ClkClientWin, MODKEY|ControlMask, Button1, placemouse, {0} },
|
||||
/* placemouse options, choose which feels more natural:
|
||||
* 0 - tiled position is relative to mouse cursor
|
||||
* 1 - tiled postiion is relative to window center
|
||||
* 2 - mouse pointer warps to window center
|
||||
*/
|
||||
{ ClkClientWin, MODKEY|ControlMask, Button1, placemouse, {.i = 1} },
|
||||
#endif // PLACEMOUSE_PATCH
|
||||
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
|
||||
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
|
||||
|
Reference in New Issue
Block a user