Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
gtk-vnc2
gtk-vnc-Enable-double-buffering-on-GTK3.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gtk-vnc-Enable-double-buffering-on-GTK3.patch of Package gtk-vnc2
From 3bbaa914d9bfafaf5a4d78867a578bddf5fc9134 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" <berrange@redhat.com> Date: Wed, 29 Oct 2014 16:13:46 +0000 Subject: [PATCH] Enable double buffering on GTK3 --- src/vncdisplay.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/vncdisplay.c /bsrc/vncdisplay.c deleted file mode 100644 index c47f8ee..b990f97 100644 --- a/src/vncdisplay.c +++ /bsrc/vncdisplay.c @@ -2186,7 +2186,19 @@ static void vnc_display_init(VncDisplay *display) GDK_LEAVE_NOTIFY_MASK | GDK_SCROLL_MASK | GDK_KEY_PRESS_MASK); + /* We already have off-screen buffers we render to + * but with GTK-3 there are problems with overlaid + * windows. We end up rendering over the top of the + * child overlaid windows despite having a clip + * mask set :-( We've turned on GTK3's built-in + * double buffering to work around this until we + * find a better idea. + */ +#if GTK_CHECK_VERSION(3, 0, 0) + gtk_widget_set_double_buffered(widget, TRUE); +#else gtk_widget_set_double_buffered(widget, FALSE); +#endif priv = display->priv = VNC_DISPLAY_GET_PRIVATE(display); memset(priv, 0, sizeof(VncDisplayPrivate)); -- 2.1.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor