Changeset 6301a24f in mainline for uspace/srv/hid/display/seat.c


Ignore:
Timestamp:
2020-06-05T20:20:06Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8aef01c
Parents:
d70e7b7b
Message:

Window previews need to be drawn as part of ds_display_paint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/seat.c

    rd70e7b7b r6301a24f  
    251251{
    252252        gfx_rect_t new_rect;
    253         gfx_rect_t isect;
    254253        gfx_rect_t envelope;
    255254        errno_t rc;
     
    257256        ds_seat_get_pointer_rect(seat, &new_rect);
    258257
    259         gfx_rect_clip(old_rect, &new_rect, &isect);
    260         if (gfx_rect_is_empty(&isect)) {
     258        if (gfx_rect_is_incident(old_rect, &new_rect)) {
    261259                /* Rectangles do not intersect. Repaint them separately. */
    262260                rc = ds_display_paint(seat->display, &new_rect);
Note: See TracChangeset for help on using the changeset viewer.