diff options
author | Ondrej Zoder <ozoder@redhat.com> | 2018-07-17 10:26:25 +0200 |
---|---|---|
committer | Ondrej Zoder <ozoder@redhat.com> | 2018-07-17 10:26:25 +0200 |
commit | 77c05527ad919531f096af05b53f2e48c5b2091f (patch) | |
tree | f663035788a055e3d84e4c159410799b784880c6 /mozilla-1467125.patch | |
parent | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild (diff) | |
parent | Added wayland patches (diff) | |
download | librewolf-fedora-ff-77c05527ad919531f096af05b53f2e48c5b2091f.tar.gz librewolf-fedora-ff-77c05527ad919531f096af05b53f2e48c5b2091f.tar.bz2 librewolf-fedora-ff-77c05527ad919531f096af05b53f2e48c5b2091f.zip |
Merge branch 'f27'
Diffstat (limited to 'mozilla-1467125.patch')
-rw-r--r-- | mozilla-1467125.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mozilla-1467125.patch b/mozilla-1467125.patch new file mode 100644 index 0000000..375ac49 --- /dev/null +++ b/mozilla-1467125.patch @@ -0,0 +1,26 @@ +diff --git a/widget/gtk/WindowSurfaceWayland.cpp b/widget/gtk/WindowSurfaceWayland.cpp +--- a/widget/gtk/WindowSurfaceWayland.cpp ++++ b/widget/gtk/WindowSurfaceWayland.cpp +@@ -146,18 +146,19 @@ static StaticMutex gWaylandDisplaysMutex + // + // nsWaylandDisplay is our interface to wayland compositor. It provides wayland + // global objects as we need (wl_display, wl_shm) and operates wl_event_queue on + // compositor (not the main) thread. + static nsWaylandDisplay* WaylandDisplayGet(wl_display *aDisplay); + static void WaylandDisplayRelease(wl_display *aDisplay); + static void WaylandDisplayLoop(wl_display *aDisplay); + +-// TODO: is the 60pfs loop correct? +-#define EVENT_LOOP_DELAY (1000/60) ++// TODO: Bug 1467125 - We need to integrate wl_display_dispatch_queue_pending() with ++// compositor event loop. ++#define EVENT_LOOP_DELAY (1000/240) + + // Get WaylandDisplay for given wl_display and actual calling thread. + static nsWaylandDisplay* + WaylandDisplayGetLocked(wl_display *aDisplay, const StaticMutexAutoLock&) + { + nsWaylandDisplay* waylandDisplay = nullptr; + + int len = gWaylandDisplays.Count(); + |