mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Merge remote-tracking branch 'upstream/master' into output-damage
This commit is contained in:
commit
59c53e8333
16 changed files with 220 additions and 92 deletions
|
|
@ -64,8 +64,12 @@ static void handle_output_frame(struct output_state *output, struct timespec *ts
|
|||
|
||||
odata->x_offs += odata->x_vel * seconds;
|
||||
odata->y_offs += odata->y_vel * seconds;
|
||||
if (odata->x_offs > 128) odata->x_offs = 0;
|
||||
if (odata->y_offs > 128) odata->y_offs = 0;
|
||||
if (odata->x_offs > 128) {
|
||||
odata->x_offs = 0;
|
||||
}
|
||||
if (odata->y_offs > 128) {
|
||||
odata->y_offs = 0;
|
||||
}
|
||||
}
|
||||
|
||||
static void handle_output_add(struct output_state *output) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue