Changeset 978c9bc5 in mainline for uspace/srv/hid/display/display.c


Ignore:
Timestamp:
2020-06-04T16:18:04Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d70e7b7b
Parents:
dbef30f
Message:

Pointer needs to be drawn as part of ds_display_paint

Everything needs to be painted from ds_display_paint. The pointers were
painted in an immediate fashion when they changed. Any window update
would wipe them.

File:
1 edited

Legend:

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

    rdbef30f r978c9bc5  
    553553        errno_t rc;
    554554        ds_window_t *wnd;
     555        ds_seat_t *seat;
    555556
    556557        /* Paint background */
     
    569570        }
    570571
     572        seat = ds_display_first_seat(disp);
     573        while (seat != NULL) {
     574                rc = ds_seat_paint_pointer(seat, rect);
     575                if (rc != EOK)
     576                        return rc;
     577
     578                seat = ds_display_next_seat(seat);
     579        }
     580
    571581        return EOK;
    572582}
Note: See TracChangeset for help on using the changeset viewer.