repaint after notify_button() ?

Josh Simonot jsimonot at
Mon Feb 10 21:49:54 UTC 2020


I'm using compositor-drm.c as a starting point and am injecting remote input events, using compositor-rdp.c as an example.

Currently the output doesn't repaint after "clicking" on a button by calling:
    notify_motion_absolute(seat, evtime, x, y);
    notify_button(seat, evtime, btn, state);

I finally see the result of the button press after the clock updates, or if I run any gl app in the background (ex.  weston-simple-egl).  The buttons I'm clicking on is to launch weston-terminal and close the terminal.  Same results when clicking within weston-clickdot app's window.  I tried calling: weston_output_schedule_repaint(&output->base); with no success.

How can I get these apps to trigger repaint when clicked?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the wayland-devel mailing list