Changeset 154728 in webkit
- Timestamp:
- Aug 28, 2013 2:34:50 AM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r154724 r154728 1 2013-08-28 Zan Dobersek <zdobersek@igalia.com> 2 3 [GTK][WK2] Disable accelerated compositing under Wayland 4 https://bugs.webkit.org/show_bug.cgi?id=120347 5 6 Reviewed by Martin Robinson. 7 8 Accelerated compositing is not yet supported under the Wayland display protocol, 9 so it should be disabled. Since it is enabled by default and the GTK WK2 API does 10 not provide any way to change that, it's enough to disable it when attaching the 11 WebKitSettings object to the WebPageGroup if running under Wayland. 12 13 * UIProcess/API/gtk/WebKitWebViewGroup.cpp: 14 (webkitWebViewGroupAttachSettingsToPageGroup): 15 1 16 2013-08-28 Alexandre Abreu <alexandre.abreu@canonical.com> 2 17 -
trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewGroup.cpp
r149219 r154728 28 28 #include <wtf/gobject/GRefPtr.h> 29 29 #include <wtf/text/CString.h> 30 31 #ifdef GDK_WINDOWING_WAYLAND 32 #include <gdk/gdkwayland.h> 33 #endif 30 34 31 35 using namespace WebKit; … … 127 131 { 128 132 group->priv->pageGroup->setPreferences(webkitSettingsGetPreferences(group->priv->settings.get())); 133 134 #ifdef GDK_WINDOWING_WAYLAND 135 GdkDisplay* display = gdk_display_manager_get_default_display(gdk_display_manager_get()); 136 if (GDK_IS_WAYLAND_DISPLAY(display)) 137 group->priv->pageGroup->preferences()->setAcceleratedCompositingEnabled(false); 138 #endif 129 139 } 130 140
Note: See TracChangeset
for help on using the changeset viewer.