Changeset 217838 in webkit
- Timestamp:
- Jun 6, 2017 10:13:00 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r217836 r217838 1 2017-06-06 Adrian Perez de Castro <aperez@igalia.com> 2 3 [GTK][Wayland] Do not pass value of $DISPLAY to wl_display_connect() 4 https://bugs.webkit.org/show_bug.cgi?id=172993 5 6 Reviewed by Žan Doberšek. 7 8 No new tests needed. 9 10 * platform/graphics/wayland/PlatformDisplayWayland.cpp: 11 (WebCore::PlatformDisplayWayland::create): Instead of using the "DISPLAY" environment variable (meant for X11), 12 pass a null pointer to "wl_display_connect()". This function checks the value of the "WAYLAND_DISPLAY" environment 13 variable itself and therefore we do not need to pass it ourselves. 14 1 15 2017-06-06 Antoine Quint <graouts@apple.com> 2 16 -
trunk/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp
r209064 r217838 53 53 std::unique_ptr<PlatformDisplay> PlatformDisplayWayland::create() 54 54 { 55 struct wl_display* display = wl_display_connect( getenv("DISPLAY"));55 struct wl_display* display = wl_display_connect(nullptr); 56 56 if (!display) 57 57 return nullptr;
Note: See TracChangeset
for help on using the changeset viewer.