Commit Graph

32397 Commits

Author SHA1 Message Date
Chris Michael cc384c26e7 ecore-wl2: Re-order API functions for input to be located next to the
group definition

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:39:02 -05:00
Chris Michael 84f58faa20 ecore-wl2: Add doxy group for output functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:39:02 -05:00
Chris Michael 0afc5a2ab4 ecore-wl2: Add API function to get the DPI of a given output
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:39:02 -05:00
Chris Michael e53f74787e ecore-wl2: Fix issue of compositors not flushing clients properly
Summary: When we use ecore_wl2 for creating compositors (E), we need
to flush clients before we dispatch events on the wl loop, so add a
prepare_callback for the fd handlers and flush clients there.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:39:01 -05:00
Chris Michael 8f2512c9a3 ecore-evas-wl: Fix ecore-evas wl common code due to botched rebase
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:39:01 -05:00
Chris Michael 40ba19a73c ecore-evas-wl: Fix calls to ecore_wl2_window_resize (due to botched
rebase)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:39:01 -05:00
Chris Michael b87652b8bc ecore-imf-wayland: Disconnect display when we close the module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:39:01 -05:00
Chris Michael 26e8935205 ecore-imf-wayland: Port ecore_imf_wayland to use Ecore_Wl2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:38:56 -05:00
Chris Michael 70db0a5b19 ecore-wl2: Add API function to return a wl_seat from an Ecore_Wl2_Input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 8149404d62 ecore-wl2: Implement ecore_animators for windows instead of using a
custom animator

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 6ed5a5fabb ecore-evas-wayland: Comment out calls to set custom animator
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 2be0a40129 ecore-wl2: Fix dnd to function when source window and target window
are same

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael aa232d0a61 ecore-wl2: Implement reference counting for client connected displays
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 110a210c6e ecore-wl2: Cache client displays and reuse them to reduce memory usage
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael bda1b1d731 ecore-wl2: Reset Ecore_Wl2 events to 0 on shutdown
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael ba5e5ab667 ecore-wl2: Set WAYLAND_DISPLAY env variable when we create a display
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 0d9ce71b39 ecore-wl2: Don't reset window->input on keyboard or pointer leave events
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 54077f460c ecore-wl2: Don't check twice if a key repeats and also fix issue of
repeating keys getting delayed

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 9bfe2b4392 ecore-wl2: Adjust keyboard repeat delay and rate
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Derek Foreman a83de3e1fe ecore-wl2: cache the registry
wl_get_registry() returns a new object that we must destroy, so
we should cache one at connect and never call that again.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 0d598da53b ecore-wl2: Add support for idle_enterer
Summary: This fixes an issue where scrolling mouse wheel would not
actually perform any scroll until another event was received.

NB: Unsure if we need this for "server" connections yet

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael faf1f03101 ecore-wl2: Free internal mouse down info when we delete an input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael eb3823e891 ecore-wl2: Add API function to set opaque region of a subsurface
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 3fa374f09e ecore-wl2: Add API function to set sync/desync on a subsurface
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 2fa19739ed ecore-wl2: Add API function to place a subsurface below a surface
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 7b8431b93d ecore-wl2: Add API function to place a subsurface above a surface
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael fe8580cf6f ecore-wl2: Add API function to get the position of a subsurface
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 80cccbf8c4 ecore-wl2: Add API function to set the position of a subsurface
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 8e41ee62a9 ecore-wl2: Add API function to return the wl_surface of a subsurface
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael d532f5240c ecore-wl2: Add API function to delete a subsurface
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 407bbd0538 ecore-wl2: Use proper wayland function to get display registry
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael e39325929d ecore-wl2: Start on preliminary subsurface support
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael d5556753c9 ecore-wl2: Cleanup wayland objects on display cleanup
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael e103d86143 ecore-wl2: Cleanup inputs on display disconnect/destroy
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 7b981d0f79 ecore-wl2: Add subsurface structure type
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 8f715f090a ecore-wl2: Add subsurface protocol files to support subsurfaces
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael a466cef85f ecore-wl2: Add doxygen for ecore_wl2_window functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 5bf1015c29 ecore-wl2: Add support for input region setting for an Ecore_Wl2_Window
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael f7b4bf3775 ecore-wl2: Add API function to return the registry of a display
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 8b65a84759 ecore-wl2: Add API funtion declarations need for Elementary
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael ef016f5a65 ecore-wl2: Add API function to find a window given a window id
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael d4d9556bd4 ecore-wl2: Add API function to issue an ungrab on an input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael ba35c5acbd ecore-evas: Add API function to get an Ecore_Wl2_Window for an
ecore_evas

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 298989495b ecore-evas-wayland: Fix issue of using wrong structure for mouse
events, and bring back function to listen for window configure events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael c8e16b85bb ecore-evas: Add function to return Ecore_Wl2_Window
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 4aa3f7957c ecore-evas: Add ecore_evas_wayland_window_get2 to the Ecore_Evas
Wayland Interface

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 942684d8fc ecore-evas: Add new API to return a Ecore_Wl2_Window when requested
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 3299b9db4c ecore-wl2: Check if a window is transparent or alpha when setting
opaque region

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 5bf4141fac ecore-wl2: Cleanup dnd drag and selection sources when we delete an
input

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 0bb09e4a1a ecore-wl2: Send window configure event when we un-maximize/fullscreen
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00