Title: [170696] trunk/Source/WebKit2
Revision
170696
Author
[email protected]
Date
2014-07-01 21:49:27 -0700 (Tue, 01 Jul 2014)

Log Message

[EFL] Fix occurrence of two cursors on WK2 EFL.
https://bugs.webkit.org/show_bug.cgi?id=134436

Patch by KwangHyuk Kim <[email protected]> on 2014-07-01
Reviewed by Anders Carlsson.

ecore_x_window_cursor is released when ecore_evas_object_cursor should be shown in order to avoid occurrence of two cursors.

* UIProcess/API/efl/EwkView.cpp:
(EwkView::updateCursor):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (170695 => 170696)


--- trunk/Source/WebKit2/ChangeLog	2014-07-02 03:44:17 UTC (rev 170695)
+++ trunk/Source/WebKit2/ChangeLog	2014-07-02 04:49:27 UTC (rev 170696)
@@ -1,3 +1,15 @@
+2014-07-01  KwangHyuk Kim  <[email protected]>
+
+        [EFL] Fix occurrence of two cursors on WK2 EFL.
+        https://bugs.webkit.org/show_bug.cgi?id=134436
+
+        Reviewed by Anders Carlsson.
+
+        ecore_x_window_cursor is released when ecore_evas_object_cursor should be shown in order to avoid occurrence of two cursors.
+
+        * UIProcess/API/efl/EwkView.cpp:
+        (EwkView::updateCursor):
+
 2014-07-01  Gyuyoung Kim  <[email protected]>
 
         Fix build break on EFL and GTK ports since r170683

Modified: trunk/Source/WebKit2/UIProcess/API/efl/EwkView.cpp (170695 => 170696)


--- trunk/Source/WebKit2/UIProcess/API/efl/EwkView.cpp	2014-07-02 03:44:17 UTC (rev 170695)
+++ trunk/Source/WebKit2/UIProcess/API/efl/EwkView.cpp	2014-07-02 04:49:27 UTC (rev 170696)
@@ -469,6 +469,10 @@
     if (data)
         hotspotY = atoi(data);
 
+#ifdef HAVE_ECORE_X
+    ecore_x_window_cursor_set(getEcoreXWindow(ecoreEvas), 0);
+#endif
+
     // ecore_evas takes care of freeing the cursor object.
     ecore_evas_object_cursor_set(ecoreEvas, cursorObject.release(), EVAS_LAYER_MAX, hotspotX, hotspotY);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to