stefansundin / altdrag

:file_folder: Easily drag windows when pressing the alt key. (Windows)
https://stefansundin.github.io/altdrag/
GNU General Public License v3.0
1.42k stars 94 forks source link

Ramon unch snap in rc work #134

Open RamonUnch opened 3 years ago

RamonUnch commented 3 years ago

Fix Windows not snapping on task-bars on secondary monitors. Also allows to have other bars that are not the standard window taskbar.

The rcWork field of the monitor is used instead of the lprcMonitor parameter in the EnumMonitorsProc function. This also removes the need to specifically search for the Taskbar window. in the Enum() function

Fixes: https://github.com/stefansundin/altdrag/issues/108