I found a few bugs in the current patch on the wiki for warp
(dwm-6.1-warp.diff):
1. If mouse cursor is on focused window's border, it'll warp to window
center anyway
2. If topbar = 1 and mouse cursor is touching the screen's top edge,
it'll warp to the window center anyway
I additionally cleaned up a few lines of code.
I have attached the patch. Please consider replacing dwm-6.1-warp.diff
with this fixed version.
--
Winny
Received on Tue Dec 15 2015 - 02:39:47 CET