Reimplement _NET_WM_SYNC_REQUEST inside X11 backend
Deprecate gdk_window_enable_synchronized_configure() and gdk_window_configure_done() and make them no-ops. Implement the handling of _NET_WM_SYNC_REQUEST in terms of the frame cycle - we know that all processing will be finished in the next frame cycle after the ConfigureNotify is received.
This commit is contained in:
@ -3248,18 +3248,6 @@ gdk_win32_window_lookup_for_display (GdkDisplay *display,
|
||||
return (GdkWindow*) gdk_win32_handle_table_lookup (anid);
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_win32_window_enable_synchronized_configure (GdkWindow *window)
|
||||
{
|
||||
/* nothing - no window manager to cooperate with */
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_win32_window_configure_finished (GdkWindow *window)
|
||||
{
|
||||
/* nothing - no window manager to cooperate with */
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_win32_window_set_opacity (GdkWindow *window,
|
||||
gdouble opacity)
|
||||
@ -3618,8 +3606,6 @@ gdk_window_impl_win32_class_init (GdkWindowImplWin32Class *klass)
|
||||
|
||||
impl_class->begin_resize_drag = gdk_win32_window_begin_resize_drag;
|
||||
impl_class->begin_move_drag = gdk_win32_window_begin_move_drag;
|
||||
impl_class->enable_synchronized_configure = gdk_win32_window_enable_synchronized_configure;
|
||||
impl_class->configure_finished = gdk_win32_window_configure_finished;
|
||||
impl_class->set_opacity = gdk_win32_window_set_opacity;
|
||||
//impl_class->set_composited = gdk_win32_window_set_composited;
|
||||
impl_class->destroy_notify = gdk_win32_window_destroy_notify;
|
||||
|
||||
Reference in New Issue
Block a user