[hackers] [DWM patch] warp-fixes

From: Winston Weinert <winston_AT_ml1.net>
Date: Mon, 14 Dec 2015 19:39:47 -0600

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

This archive was generated by hypermail 2.3.0 : Tue Dec 15 2015 - 02:48:14 CET