mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
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:
parent
2e0bb772ea
commit
5f1de4bf7a
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user