diff --git a/ChangeLog b/ChangeLog index 5037b231e..541e0b01a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-08-08 Rob Adams + + * 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 * src/frame.c (meta_frame_set_screen_cursor): Flush after setting diff --git a/src/window.c b/src/window.c index 87ed674e5..d88e5b130 100644 --- a/src/window.c +++ b/src/window.c @@ -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,