intel-virtual-output: Remember to mark the timer as active when moving the mouse

Otherwise we throttle mouse updates to the next display update...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-09-02 23:52:52 +01:00
parent 91aca61c83
commit 6f090044d1
1 changed files with 4 additions and 0 deletions

View File

@ -1061,6 +1061,8 @@ static void display_load_visible_cursor(struct display *display, XFixesCursorIma
DBG(("%s marking cursor changed\n", DisplayString(display->dpy)));
display->cursor_moved++;
display->cursor_visible += display->cursor != display->invisible_cursor;
context_enable_timer(display->ctx);
}
static void display_cursor_move(struct display *display, int x, int y, int visible)
@ -1073,6 +1075,8 @@ static void display_cursor_move(struct display *display, int x, int y, int visib
display->cursor_x = x;
display->cursor_y = y;
}
context_enable_timer(display->ctx);
}
static void display_flush_cursor(struct display *display)