Searched refs:SNAP_DISTANCE (Results 1 – 1 of 1) sorted by relevance
1382 const int SNAP_DISTANCE = 15; in MainWindowProc() local1384 if (abs(pos->x - mi.rcMonitor.left) <= SNAP_DISTANCE) in MainWindowProc()1387 if (abs(pos->x + pos->cx - mi.rcMonitor.right) <= SNAP_DISTANCE) in MainWindowProc()1390 if (abs(pos->y - mi.rcMonitor.top) <= SNAP_DISTANCE) in MainWindowProc()1393 if (abs(pos->y + pos->cy - mi.rcMonitor.bottom) <= SNAP_DISTANCE) in MainWindowProc()