mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 14:24:14 +01:00
Fixed synchronization problem between hair cursor and mouse cursor in
wmagnify with mouse cursor at the screen edge.
This commit is contained in:
@@ -232,7 +232,7 @@ updateImage(BufferData *data, int rx, int ry)
|
||||
for (x = 0; x < data->width; x++) {
|
||||
unsigned long pixel;
|
||||
|
||||
pixel = getpix(image, x-xoffs, y-yoffs, xoffs, yoffs);
|
||||
pixel = getpix(image, x, y, xoffs, yoffs);
|
||||
|
||||
if (drawpoint(data, pixel, x, y))
|
||||
changedPixels++;
|
||||
|
||||
Reference in New Issue
Block a user