summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-05-22 12:33:36 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-05-22 12:33:36 -0400
commit249ae8e5f0fa21843929e114be6a7dcc4df8dade (patch)
tree1b9f01e35a50f00fce078dc58bb1eb040f1e1434 /src/lib/ecore_wl2
parent1673b620b0137a8e2f85a69f90822417077594e4 (diff)
ecore_wl2_window: Silence early commit ERR for mouse cursors
Summary: Our wayland mouse cursor code can trigger commits with commit pending when mousing into a window across CSD, which results in quickly setting the default cursors then an animated resize cursor before the first commit has finished. Fixing this is non trivial, and the bug is just a harmless inefficiency of little impact, so just disable the ERR for that specific case instead. Reviewers: zmike Reviewed By: zmike Subscribers: cedric, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6184
Diffstat (limited to 'src/lib/ecore_wl2')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index 8895adaed5..b7593e1604 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -1610,7 +1610,10 @@ ecore_wl2_window_commit(Ecore_Wl2_Window *window, Eina_Bool flush)
1610 if (window->callback) 1610 if (window->callback)
1611 wl_callback_destroy(window->callback); 1611 wl_callback_destroy(window->callback);
1612 window->callback = NULL; 1612 window->callback = NULL;
1613 ERR("Commit before previous commit processed"); 1613 /* The elm mouse cursor bits do some harmless but weird stuff that
1614 * can hit this, silence the warning for that case only. */
1615 if (window->type != ECORE_WL2_WINDOW_TYPE_NONE)
1616 ERR("Commit before previous commit processed");
1614 } 1617 }
1615 if (!window->pending.configure) 1618 if (!window->pending.configure)
1616 { 1619 {