Commit Graph

32378 Commits

Author SHA1 Message Date
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
Chris Michael cb6fb2280d ecore-wl2: Add a LAST member for enum of window type
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael f0fceeaa46 ecore-wl2: Don't use bitfields for public structure
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 5f7b0796c0 ecore-wl2: Add display to global event structure
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael df5d7b0485 ecore-wl2: Provide internal function to stop any cursor update timers
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael f0936d67f4 ecore-wl2: Create new event type for window configure
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 9c2b713a4c ecore-wl2: Update input serial when we get a mouse button event
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 34f49d3e01 ecore-wl2: Add event type and structure for sending window configure
events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 5e8d9bc6c6 ecore-wl2: Set window input on pointer enter/leave events
Summary: This is so that we can still change mouse cursor (to indicate resize)
even when the window does not have focus

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 080e2c8613 ecore-evas-wayland: Re-enable interface functions for window get and
type set

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 3682bc6348 ecore-wl2: Remove window animator callback when we free a window
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 14f53ae171 ecore-wl2: Remove test for no-op move/resize
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 4dbfcae2a0 ecore-wl2: Fix compiler warning
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 6c2a497f7b ecore-wl2: Reduce noise of ERR messages which are not that important
when trying to set pointer cursor images

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 5171d7d92a ecore-wl2: Fix issue of never getting keyboard focus
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 8f8f47d933 ecore-wl2: Fix issue of animators not starting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael bfa04ca6c7 ecore-wl2: Finish off internal dnd code to actually send events
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 454d91c005 ecore-wl2: Add API function to clear a dnd selection
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael 7a762d87dc ecore-wl2: Add API function to return if a dnd selection exists
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00
Chris Michael d15dfad898 ecore-wl2: Add API function to set a dnd selection
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-11 10:34:45 -05:00