add XFlush() after setting cursor, #149413

2004-08-07  Havoc Pennington  <hp@redhat.com>

	* src/screen.c (meta_screen_set_cursor): add XFlush() after
	setting cursor, #149413
This commit is contained in:
Havoc Pennington 2004-08-07 16:33:11 +00:00 committed by Havoc Pennington
parent c127a4691c
commit 7bcc485701
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-08-07 Havoc Pennington <hp@redhat.com>
* src/screen.c (meta_screen_set_cursor): add XFlush() after
setting cursor, #149413
2004-08-06 Elijah Newren <newren@math.utah.edu>
* src/display.c (event_callback): Focusing a window upon unshowing

View File

@ -1123,6 +1123,7 @@ meta_screen_set_cursor (MetaScreen *screen,
xcursor = meta_display_create_x_cursor (screen->display, cursor);
XDefineCursor (screen->display->xdisplay, screen->xroot, xcursor);
XFlush (screen->display->xdisplay);
XFreeCursor (screen->display->xdisplay, xcursor);
}