Changeset 6fbd1f9 in mainline for uspace/srv/hid/display/main.c


Ignore:
Timestamp:
2024-10-14T16:30:24Z (4 days ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
514108e
Parents:
b3b79981
Message:

Combine successive move/abs. move events in display server

Helps avoid the cursor lagging if re-drawing cannot keep up
with the rate of move events.

File:
1 edited

Legend:

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

    rb3b79981 r6fbd1f9  
    5454#include "display.h"
    5555#include "dsops.h"
     56#include "ievent.h"
    5657#include "input.h"
    5758#include "main.h"
     
    156157        output->def_display = disp;
    157158        rc = ds_output_start_discovery(output);
     159        if (rc != EOK)
     160                goto error;
     161
     162        rc = ds_ievent_init(disp);
    158163        if (rc != EOK)
    159164                goto error;
     
    211216                ds_input_close(disp);
    212217#endif
     218        ds_ievent_fini(disp);
    213219        if (output != NULL)
    214220                ds_output_destroy(output);
Note: See TracChangeset for help on using the changeset viewer.