diff options
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 5 | ||||
-rw-r--r-- | vcl/unx/gtk/window/gtkobject.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/window/gtksalframe.cxx | 5 |
3 files changed, 1 insertions, 11 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 4be20a723b8b..0b55e286acb5 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -2289,11 +2289,6 @@ void X11SalFrame::Flush() XFlush( GetDisplay()->GetDisplay() ); } -void X11SalFrame::Sync() -{ - XSync( GetDisplay()->GetDisplay(), False ); -} - // Keyboard void X11SalFrame::SetInputContext( SalInputContext* pContext ) diff --git a/vcl/unx/gtk/window/gtkobject.cxx b/vcl/unx/gtk/window/gtkobject.cxx index 3de060bdc843..463c3c1ff486 100644 --- a/vcl/unx/gtk/window/gtkobject.cxx +++ b/vcl/unx/gtk/window/gtkobject.cxx @@ -78,7 +78,7 @@ GtkSalObject::GtkSalObject( GtkSalFrame* pParent, bool bShow ) g_signal_connect( G_OBJECT(m_pSocket), "destroy", G_CALLBACK(signalDestroy), this ); // #i59255# necessary due to sync effects with java child windows - pParent->Sync(); + pParent->Flush(); } } diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx index 95a33f0db29b..3e0749fd0d0d 100644 --- a/vcl/unx/gtk/window/gtksalframe.cxx +++ b/vcl/unx/gtk/window/gtksalframe.cxx @@ -2642,11 +2642,6 @@ void GtkSalFrame::Flush() #endif } -void GtkSalFrame::Sync() -{ - gdk_display_sync( getGdkDisplay() ); -} - #ifndef GDK_Open #define GDK_Open 0x1008ff6b #endif |