Flush after setting cursor. (Rest of #149413).

Sun Aug  8 14:20:00 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* src/frame.c (meta_frame_set_screen_cursor): Flush after setting
	cursor. (Rest of #149413).
This commit is contained in:
Soeren Sandmann 2004-08-08 12:23:34 +00:00 committed by Søren Sandmann Pedersen
parent 118a1fb76a
commit 2e0bb772ea
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Sun Aug 8 14:20:00 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* src/frame.c (meta_frame_set_screen_cursor): Flush after setting
cursor. (Rest of #149413).
2004-08-07 Elijah Newren <newren@math.utah.edu>
* src/display.c (event_callback): activating the current workspace

View File

@ -381,6 +381,7 @@ meta_frame_set_screen_cursor (MetaFrame *frame,
{
xcursor = meta_display_create_x_cursor (frame->window->display, cursor);
XDefineCursor (frame->window->display->xdisplay, frame->xwindow, xcursor);
XFlush (frame->window->display->xdisplay);
XFreeCursor (frame->window->display->xdisplay, xcursor);
}
}