path: root/src/lib/ecore_wayland/ecore_wl_private.h (unfollow)
AgeCommit message (Collapse)Author
2020-05-04remove arguments of LOGFN in ecre_x and ecore_wayland as the are always the sameVincent Torri
Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2015-12-18ecore_wayland: rename session recovery to align namespaceStefan Schmidt
Align out extension naming with other unstable wayland protocols. The unstable protocols from the wayland-protocols repo are prefixed with a zwp additionally we keep a e prefix for now as we are still developing this here. No functional change, just rename. Pointed out by Derek that the session-recovery interface name is a bit to generic here.
2015-12-16ecore_wayland: store uuid received from compositorStefan Schmidt
If we get an uuid assigned from the compositor we will store them locally to provide it later on if needed. ref T2922
2015-12-03ecore-wl: Make "server mode" a globalChris Michael
Signed-off-by: Chris Michael <>
2015-10-19ecore-wayland: defer shell surface creation for windows if shell is not boundMike Blumenkrantz
in the case where a surface is created before the compositor binds its shell(s), a shell surface would never be created fixes case where internal windows would not create frames in enlightenment @fix
2015-10-16Revert "ecore-wayland: Redo window animators to not use Custom source animators"Mike Blumenkrantz
This reverts commit bd83d4c03ab9f6f6ae225976b9595a1dfde61237. adding an animator (and then not managing its ticks) causes the animator to fire constantly. in this case, it was causing 100% cpu usage and forcing a compositor re-render for every frame regardless of damages
2015-10-14ecore-wayland: Redo window animators to not use Custom source animatorsChris Michael
Summary: This moves window animators (for frame callbacks) to not use a custom animator source but rather use a timer-based source. This also moves animators to be per-window based (in that an animator is created per-window). @fix Signed-off-by: Chris Michael <>
2015-08-04ecore-wl: Support wl_keyboard_send_repeat_info for adjusting keyboard repeat ↵Chris Michael
rate and delay Summary: This adds support for allowing a client/compositor to adjust the keyboard repeat rate and delay via a call to wl_keyboard_send_repeat_info. @feature Signed-off-by: Chris Michael <>
2015-06-29ecore_wl: Hookup wl listener for uuid event from session recovery protocolStefan Schmidt
This should listen for events containing the assigned UUID from the compositor.
2015-05-12ecore-wayland: Add a grab_count variable for synchronization ↵jhyuni.kang
wl_input_grab/ungrab with pointer and touch event Summary: The touch screen device generates touch events. But in some special enviroments, a first finger will be matched to a pointer event(not touch event). And other fingers (second, third, ...) will be matched touch events. In that case ecore_wl_input_ungrab() is called abnormally. A first finger pressed, _ecore_wl_input_cb_pointer_button() call ecore_wl_input_grab(). A second finger pressed, _ecore_wl_input_cb_touch_down() is called but not grab. But when a second finger is released, _ecore_wl_input_cb_touch_up() call ecore_wl_input_ungrab() So ungrab function generate two mouse up events and a first finger is released. In other case, first finger pressed -> second finger pressed -> first finger release. That case when a first finger released a second finger release event is generated. So after that application doesn't get a release event about a second finger when a second finger is really released. I think in a multitouch case, ungrab function will be called when a all finger are released. So I add a grab_count variable for count currently touched fingers. And only called a ungrab funtion all fingers are released. Test Plan: In a touch screen supported multitouch, press two or more fingers and release. And watch events generation. Reviewers: raster, devilhorns Subscribers: cedric Differential Revision:
2015-04-27ecore-wayland: Fix issue of efl/elm apps not setting opaque & input regionsChris Michael
Summary: Since evas handles surface damage & surface commit roles now, we no longer are calling ecore_wl_commit inside ecore_evas. This was causing the surface opaque & input regions to no longer be set. We fix that here by creating and setting opaque/input regions whenever the appropriate ecore_wl region functions are called. @fix Signed-off-by: Chris Michael <>
2015-03-12ecore-wl cursor setup no longer triggers errors on startupMike Blumenkrantz
@fix T2202
2015-01-07ecore-wayland: Simplify opaque and input region handling.Chris Michael
Summary: We can make opaque and input region handling simplier if we just use one opaque & input region per window. Previous code would always create a new region, set it to the surface, then destroy it. This code works much nicer in that it hammers the protocol with less region create/destroy calls. @fix Signed-off-by: Chris Michael <>
2014-10-01ecore-wayland: Add minimized field to window structureChris Michael
Signed-off-by: Chris Michael <>
2014-10-01Added support for xdg-shell protocol in ecore-waylandChris Michael
Summary: Signed-off-by: vivek <> Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision:
2014-09-26ecore_wayland: Added cursor_name to Ecore_Wl_Window.Srivardhan Hebbar
Summary: Added cursor_name to Ecore_Wl_Window so that we can compare with input cursor name and avoid unnecessary cursor set calls to wayland. Signed-off-by: Srivardhan Hebbar <> Reviewers: devilhorns Subscribers: cedric Differential Revision:
2014-09-18ecore_wayland: Added cursor_theme_name in Ecore_Wl_input.Srivardhan Hebbar
Summary: 1. Added cursor_theme_name to Ecore_Wl_Input struct. 2. Made it configurable through environment variable ECORE_WL_INPUT_CURSOR_THEME_NAME. 3. Added a API ecore_wl_cursor_theme_name_set for user to set manually. Signed-off-by: Srivardhan Hebbar <> Reviewers: devilhorns Subscribers: cedric Differential Revision:
2014-09-17ecore_wayland: Added cursor_size in Ecore_Wl_Input.Srivardhan Hebbar
Summary: 1. Added cursor_size to Ecore_Wl_Input struct. 2. Made it configurable through environment variable ECORE_WL_INPUT_CURSOR_SIZE. 3. Added a API ecore_wl_input_cursor_size_set for user to set manually. Signed-off-by: Srivardhan Hebbar <> Reviewers: devilhorns Subscribers: cedric Differential Revision: Conflicts: src/lib/ecore_wayland/ecore_wl_private.h
2014-09-17ecore-wayland: Move external variable below structureChris Michael
This commit moves the typedef struct to just above the structure, and moves the external variable below the structure definition. No real functional changes, just some cleanup. Signed-off-by: Chris Michael <>
2014-09-17ecore-wayland: Moving Ecore_Wl_Display to private.Srivardhan Hebbar
Summary: Moving "typedef _Ecore_Wl_Display Ecore_Wl_Display" from Ecore_Wayland.h to ecore_wl_private.h. Signed-off-by: Srivardhan Hebbar <> Reviewers: devilhorns Subscribers: cedric Differential Revision:
2014-08-25ecore-wayland: Implement ivi-shell support for Ecore_WaylandChris Michael
IVI-Shell is a wayland shell implementation for in-vehicle infotainment. Summary: This is a set of patches proposed to implement IVI-Shell ( Reviewers: ntanibata, devilhorns Subscribers: mbachmann Projects: #efl Differential Revision: @feature
2014-08-13Revert "Added support for xdg-shell protocol in ecore-wayland"Chris Michael
This reverts commit 2f4db577b524e0813ee0777642a2690d252977fd.
2014-08-13Added support for xdg-shell protocol in ecore-waylandvivek
Summary: Signed-off-by: vivek <> Reviewers: devilhorns Subscribers: cedric Differential Revision:
2014-04-09ecore-wl: Store window input region into structureChris Michael
Signed-off-by: Chris Michael <>
2013-12-26efl: Unified eina critical manro to CRI.Daniel Juyung Seo
Being annoyed by different types of eina critical macros - CRI, CRIT, CRITICAL -, I concluded to unify them to one. Discussed on IRC and finally, CRI was chosen to meet the consistency with other macros - ERR, WRN, INF, DBG - in terms of the number of characters. If there is any missing bits, please let me know.
2013-11-29ecore/wayland: Send a mouse up event when the implicit grab starts.Rafael Antognolli
The previous workaround used to send a mouse up event to the application, using the pointer enter callback to determine when an implicit grab has finished. This was "simulating" a mouse up event when the surface move or resize finished. However, this doesn't work for touch-based move. The pointer enter isn't emitted, because the wl_touch interface doesn't have the concept of a pointer. Changing this code to make it more similar to what Weston's toytoolkit does, the mouse up event is sent as soon as the move or resize grab starts. After that, the compositor takes care of the move/resize almost entirely. Should fix T468.
2013-11-29ecore/wayland: Remove list of touch points from input structure.Rafael Antognolli
We already have the "Ecore_Wl_Mouse_Down_Info" list, that contains this information.
2013-11-19Add list of touch points to input structure, and a pointer to theChris Michael
"touch" focused surface. Signed-off-by: Chris Michael <>
2013-11-07Add some additional keyboard masksChris Michael
This adds support for Windows logo, caps lock, num lock, scroll lock and AltGr as keyboard modifiers Signed-off-by: Chris Michael <>
2013-11-04ecore/wayland: Use eina_inlist instead of wl_list for inputs too.Rafael Antognolli
2013-11-04ecore/wayland: Use eina_inlist instead of wl_list for outputs too.Rafael Antognolli
2013-11-04ecore/wayland: Use eina_inlist instead of wl_list for globals.Rafael Antognolli
Since we are allocating this list and returning it, let's make it more EFL-like.
2013-11-04ecore/wayland: Move Ecore_Wl_Output to a private header.Rafael Antognolli
This is just not being used outside of ecore_wayland library, so just move it and nothing breaks.
2013-11-01ecore/wayland: Finally move Ecore_Wayland internals to private header.Rafael Antognolli
2013-10-31ecore/wayland: Make Ecore_Wl_Input private.Rafael Antognolli
It's mostly only used inside ecore_wayland library anyway. The only bit needed outside of the library is the "seat" pointer, but a new function was added to retrieve such pointer from Ecore_Wl_Input.
2013-10-31ecore/wayland: Hide Ecore_Wl_Display.Rafael Antognolli
This struct is only used inside ecore_wayland itself, so there's no real reason to expose it. Apparently, hiding it doesn't break anything, except for the ecore_imf wayland module, which was easily fixed. If anyone notices a breakage, please let me know.
2013-10-29ecore/wayland: Using underscore on private functions.Rafael Antognolli
2013-10-29ecore/wayland: Add some getters.Rafael Antognolli
This centralizes the place where we have to wait for the init to have finished before first using the compositor. It's also part of the later step of hiding Ecore_Wl_* private structs.
2013-10-11Revert "Revert "Revert "eina: use Eina_Spinlock for Eina_Chained_Mempool."""Stefan Schmidt
Is there a title for the commiter with the longest revert of a revert list? I screwed this one up. Had other local changes that sneaked in. Resetting and doing it right now. This reverts commit ee155b771ddb8f063105f013c652b65f2ff663c1.
2013-10-11Revert "Revert "eina: use Eina_Spinlock for Eina_Chained_Mempool.""Stefan Schmidt
You can bet on reverting makes people speed up the process in fixing it. Revert the revert here now that Cedric fixed it in eina. This reverts commit 875e7cf74de68d05f6fd28d26ad8bddab7782316.
2013-10-10ecore/wayland: Add subsurface handling APIs.Rafael Antognolli
2013-10-05Revert "ecore/wayland: Add subsurface handling APIs."discomfitor
This reverts commit 65b960f4a60442edcd66082ccc1828b80a49885c. Conflicts: src/lib/ecore_wayland/ecore_wl.c
2013-10-04ecore/wayland: Add subsurface handling APIs.Rafael Antognolli
2013-06-07Add private function to get the window hash.Chris Michael
Signed-off-by: Chris Michael <>
2013-05-28Deprecate/remove some internal functions that were just not needed.Chris Michael
Add a wl_data_offer to Ecore_Wl_Dnd_Source Signed-off-by: Chris Michael <>
2013-04-10ecore/wayland: Add support for double and triple click.Rafael Antognolli
It's implemented exactly the same way as on the X11 backend. It does handle multiple devices, though may need some adjustments when multi-touch is added, since there's no support for multi-touch on EFL-wayland yet.
2012-12-02merge: add escape ecore, fix several bugsVincent Torri
SVN revision: 79995
2012-11-29Ecore: more __UNUSED__ fixesVincent Torri
SVN revision: 79812
2012-08-29Ecore_Wayland: Add Copy-n-Paste support for Ecore Wayland.Christopher Michael
NB: Based on initial work from Alex <> (thanks for the patch), but modified to clean up compiler warnings, fixed function declarations, fixed function namespacing. SVN revision: 75809
2012-07-04Ecore_Wayland: Updates to work with latest Wayland:Christopher Michael
Add pointer frame callback. Add pointer surface listener. Use doubles for input surface position. Fix dnd function prototype to use wl_data_offer now. Fix dnd_add function to not use proxy_create anymore. Fix regression where window resizing down would leave artifacts. - Need to update the window allocation size before attaching the new buffer. Fix set_transient & set_popup to use the parent surface, not the shell surface. SVN revision: 73254