Ignore:
Timestamp:
Jan 7, 2004, 7:15:10 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • src/io.c: + Do not report mouse motions if the coordinates did not change.
  • src/bitmap.c: + More documentation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/io.c

    r324 r325  
    139139                unsigned int newy = xevent.xmotion.y / x11_font_height;
    140140
    141                 if(x11_x == newx && x11_y == newy)
    142                     continue;
    143 
    144141                if(newx >= _caca_width)
    145142                    newx = _caca_width - 1;
    146143                if(newy >= _caca_height)
    147144                    newy = _caca_height - 1;
     145
     146                if(x11_x == newx && x11_y == newy)
     147                    continue;
    148148
    149149                x11_x = newx & 0xfff;
Note: See TracChangeset for help on using the changeset viewer.