Add #ifdef around XSYNC code; fixes compile problem if XSYNC is disabled.

2004-08-08  Rob Adams  <readams@readams.net>

	* src/window.c (meta_window_move_resize_internal): Add #ifdef
	around XSYNC code; fixes compile problem if XSYNC is disabled.
	Path for #149314 from Peter O'Shea and independently Mike Castle.
This commit is contained in:
Rob Adams 2004-08-08 16:18:52 +00:00 committed by Rob Adams
parent 2e0bb772ea
commit 5f1de4bf7a
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2004-08-08 Rob Adams <readams@readams.net>
* src/window.c (meta_window_move_resize_internal): Add #ifdef
around XSYNC code; fixes compile problem if XSYNC is disabled.
Path for #149314 from Peter O'Shea and independently Mike Castle.
Sun Aug 8 14:20:00 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* src/frame.c (meta_frame_set_screen_cursor): Flush after setting

View File

@ -2761,6 +2761,7 @@ meta_window_move_resize_internal (MetaWindow *window,
meta_error_trap_push (window->display);
#ifdef HAVE_XSYNC
if (window->sync_request_counter != None &&
window->display->grab_sync_request_alarm != None &&
window->sync_request_time.tv_usec == 0 &&
@ -2768,6 +2769,7 @@ meta_window_move_resize_internal (MetaWindow *window,
{
send_sync_request (window);
}
#endif
XConfigureWindow (window->display->xdisplay,
window->xwindow,