1
0
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:
dan
2003-09-29 23:44:51 +00:00
parent 3d6d775f08
commit 1dfaec332e
2 changed files with 4 additions and 1 deletions

View File

@@ -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++;