platform/upstream/efl.git
8 years agoecore-wl2: Always create cursor surface for pointer
Chris Michael [Thu, 3 Dec 2015 16:40:27 +0000 (11:40 -0500)]
ecore-wl2: Always create cursor surface for pointer

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas wayland: enforce frame/state change triggering before move/resize
Mike Blumenkrantz [Tue, 17 Nov 2015 23:21:11 +0000 (18:21 -0500)]
ecore-evas wayland: enforce frame/state change triggering before move/resize

if a state change occurs on the ee, related callbacks must be run prior to
performing any resizes in order to ensure that the correct csd sizes are
calculated

@fix

ref T2841

8 years agoecore-evas-wl: Fix issue of resize jumping
Chris Michael [Mon, 9 Nov 2015 16:55:21 +0000 (11:55 -0500)]
ecore-evas-wl: Fix issue of resize jumping

Summary: When an initial client application was shown and we tried to
resize it, the resize would jump by the amount of framespace. This was
because the xdg_surface@configure event would be sending window
geometry as the width/height params in the event. We need to account
for that in the callback of window configure and adjust size
accordingly.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Port Ecore_Evas engines to use Ecore_Wl2 code
Chris Michael [Mon, 28 Sep 2015 17:42:38 +0000 (13:42 -0400)]
ecore-wl2: Port Ecore_Evas engines to use Ecore_Wl2 code

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore_cocoa: add support for system cursors
Jean Guyomarc'h [Thu, 8 Oct 2015 09:58:46 +0000 (11:58 +0200)]
ecore_cocoa: add support for system cursors

- Ecore_Cocoa_Cursor enum which references system cursors;
- API to show/hide cursor: ecore_cocoa_window_cursor_show();
- API to set system cursor: ecore_cocoa_window_cursor_set();
- Ecore_Evas interface to get Ecore_Cocoa_Window from Ecore_Evas.

@feature

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore-evas-wl: Fix issue of improper window geometry
Chris Michael [Tue, 17 Nov 2015 18:51:19 +0000 (13:51 -0500)]
ecore-evas-wl: Fix issue of improper window geometry

This fixes an issue where maximizing a window would set improper xdg
surface window geometry. We receive window configure sizes based on
xdg surface window geometry, so we need to subtract framespace there
or else window size grows when maximizing/unmaximizing multiple times.
This also adjusts the call to xdg_surface_set_window_geometry to
account for framespace (Fixes T2842).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas wayland: use correct values when updating wayland window size
Mike Blumenkrantz [Fri, 13 Nov 2015 20:09:03 +0000 (15:09 -0500)]
ecore-evas wayland: use correct values when updating wayland window size

by using the geometry from after the request size has been updated,
scenarios such as the following can be avoided:

[4208305.332] xdg_surface@46.set_window_geometry(0, 0, 1778, 1)
[4208305.370] xdg_surface@46.set_window_geometry(0, 0, 1778, 250)

@fix

8 years agoecore-wl2: Add start of code to support wl_keyboards
Chris Michael [Mon, 30 Nov 2015 16:32:15 +0000 (11:32 -0500)]
ecore-wl2: Add start of code to support wl_keyboards

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add private Ecore_Wl2_Keyboard structure
Chris Michael [Mon, 30 Nov 2015 15:31:22 +0000 (10:31 -0500)]
ecore-wl2: Add private Ecore_Wl2_Keyboard structure

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Remove unnecessary use of MIN macro
Chris Michael [Mon, 30 Nov 2015 15:11:08 +0000 (10:11 -0500)]
ecore-wl2: Remove unnecessary use of MIN macro

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Fix calling wl_surface_frame with proper Ecore_Wl2 window
Chris Michael [Mon, 19 Oct 2015 14:42:09 +0000 (10:42 -0400)]
ecore-wl2: Fix calling wl_surface_frame with proper Ecore_Wl2 window
frame

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas-wl: Fix ecore-evas wl common code due to botched rebase
Chris Michael [Tue, 13 Oct 2015 17:01:52 +0000 (13:01 -0400)]
ecore-evas-wl: Fix ecore-evas wl common code due to botched rebase

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Port Ecore_Evas engines to use Ecore_Wl2 code
Chris Michael [Mon, 28 Sep 2015 17:42:38 +0000 (13:42 -0400)]
ecore-wl2: Port Ecore_Evas engines to use Ecore_Wl2 code

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas wayland: enforce frame/state change triggering before move/resize
Mike Blumenkrantz [Tue, 17 Nov 2015 23:21:11 +0000 (18:21 -0500)]
ecore-evas wayland: enforce frame/state change triggering before move/resize

if a state change occurs on the ee, related callbacks must be run prior to
performing any resizes in order to ensure that the correct csd sizes are
calculated

@fix

ref T2841

8 years agoecore-evas-wl: Fix issue of improper window geometry
Chris Michael [Tue, 17 Nov 2015 18:51:19 +0000 (13:51 -0500)]
ecore-evas-wl: Fix issue of improper window geometry

This fixes an issue where maximizing a window would set improper xdg
surface window geometry. We receive window configure sizes based on
xdg surface window geometry, so we need to subtract framespace there
or else window size grows when maximizing/unmaximizing multiple times.
This also adjusts the call to xdg_surface_set_window_geometry to
account for framespace (Fixes T2842).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas wayland: use correct values when updating wayland window size
Mike Blumenkrantz [Fri, 13 Nov 2015 20:09:03 +0000 (15:09 -0500)]
ecore-evas wayland: use correct values when updating wayland window size

by using the geometry from after the request size has been updated,
scenarios such as the following can be avoided:

[4208305.332] xdg_surface@46.set_window_geometry(0, 0, 1778, 1)
[4208305.370] xdg_surface@46.set_window_geometry(0, 0, 1778, 250)

@fix

8 years agoecore-evas-wl: Fix bad merge
Chris Michael [Sun, 22 Nov 2015 23:48:00 +0000 (18:48 -0500)]
ecore-evas-wl: Fix bad merge

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Start on implementing support for multi-seat
Chris Michael [Sun, 22 Nov 2015 21:13:36 +0000 (16:13 -0500)]
ecore-wl2: Start on implementing support for multi-seat

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Cancel data callback if we have a fatal error
Chris Michael [Wed, 18 Nov 2015 14:21:23 +0000 (09:21 -0500)]
ecore-wl2: Cancel data callback if we have a fatal error

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Remove setting custom wl_log handler
Chris Michael [Wed, 18 Nov 2015 14:20:02 +0000 (09:20 -0500)]
ecore-wl2: Remove setting custom wl_log handler

Seems EINA_LOG_DOM has a problem printing out wayland protocol logs,
so allow wayland to handle that itself.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Fix maximized & fullscreen functions to use window flag
Chris Michael [Wed, 18 Nov 2015 14:18:04 +0000 (09:18 -0500)]
ecore-wl2: Fix maximized & fullscreen functions to use window flag

Rather than rely on window->type for maximized & fullscreen, use the
cooresponding window flag

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Fix calling wl_surface_frame with proper Ecore_Wl2 window frame
Chris Michael [Mon, 19 Oct 2015 14:42:09 +0000 (10:42 -0400)]
ecore-wl2: Fix calling wl_surface_frame with proper Ecore_Wl2 window frame

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas-wl: Fix ecore-evas wl common code due to botched rebase
Chris Michael [Tue, 13 Oct 2015 17:01:52 +0000 (13:01 -0400)]
ecore-evas-wl: Fix ecore-evas wl common code due to botched rebase

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Port Ecore_Evas engines to use Ecore_Wl2 code
Chris Michael [Mon, 28 Sep 2015 17:42:38 +0000 (13:42 -0400)]
ecore-wl2: Port Ecore_Evas engines to use Ecore_Wl2 code

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas wayland: enforce frame/state change triggering before move/resize
Mike Blumenkrantz [Tue, 17 Nov 2015 23:21:11 +0000 (18:21 -0500)]
ecore-evas wayland: enforce frame/state change triggering before move/resize

if a state change occurs on the ee, related callbacks must be run prior to
performing any resizes in order to ensure that the correct csd sizes are
calculated

@fix

ref T2841

8 years agoecore-evas wayland: use correct values when updating wayland window size
Mike Blumenkrantz [Fri, 13 Nov 2015 20:09:03 +0000 (15:09 -0500)]
ecore-evas wayland: use correct values when updating wayland window size

by using the geometry from after the request size has been updated,
scenarios such as the following can be avoided:

[4208305.332] xdg_surface@46.set_window_geometry(0, 0, 1778, 1)
[4208305.370] xdg_surface@46.set_window_geometry(0, 0, 1778, 250)

@fix

8 years agoecore-wl2: Add missing @since for all existing doxygen
Chris Michael [Tue, 10 Nov 2015 16:04:24 +0000 (11:04 -0500)]
ecore-wl2: Add missing @since for all existing doxygen

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Change name of ecore_wl2_window_class_name_set function
Chris Michael [Tue, 10 Nov 2015 14:50:19 +0000 (09:50 -0500)]
ecore-wl2: Change name of ecore_wl2_window_class_name_set function

It makes more sense to have this function be called
ecore_wl2_window_class_set.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add missing EINA_UNUSED for function parameters
Chris Michael [Tue, 10 Nov 2015 14:37:07 +0000 (09:37 -0500)]
ecore-wl2: Add missing EINA_UNUSED for function parameters

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add function to get a windows rotation
Chris Michael [Tue, 10 Nov 2015 14:35:25 +0000 (09:35 -0500)]
ecore-wl2: Add function to get a windows rotation

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Fix issue of not unsetting move mouse pointer
Chris Michael [Mon, 9 Nov 2015 20:49:18 +0000 (15:49 -0500)]
ecore-wl2: Fix issue of not unsetting move mouse pointer

Summary: When we finish moving a window, previously the mouse cursor
would never get unset from the hand cursor. This is due to the way
that grabs work in wayland, and not ever getting an event notification
for the move being completed. This patch works around that issue

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Fix maximized and fullscreen functions to restore geometry
Chris Michael [Mon, 9 Nov 2015 16:57:42 +0000 (11:57 -0500)]
ecore-wl2: Fix maximized and fullscreen functions to restore geometry

Previously, when we maximized or fullscreen a window, we were sending
the improper geometry to the window_configure callback

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas-wl: Fix issue of resize jumping
Chris Michael [Mon, 9 Nov 2015 16:55:21 +0000 (11:55 -0500)]
ecore-evas-wl: Fix issue of resize jumping

Summary: When an initial client application was shown and we tried to
resize it, the resize would jump by the amount of framespace. This was
because the xdg_surface@configure event would be sending window
geometry as the width/height params in the event. We need to account
for that in the callback of window configure and adjust size
accordingly.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add doxygen for more ecore_wl2_window functions
Chris Michael [Mon, 26 Oct 2015 14:46:19 +0000 (10:46 -0400)]
ecore-wl2: Add doxygen for more ecore_wl2_window functions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add support for handling Fatal Errors
Chris Michael [Mon, 26 Oct 2015 14:44:44 +0000 (10:44 -0400)]
ecore-wl2: Add support for handling Fatal Errors

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Fix formatting
Chris Michael [Mon, 26 Oct 2015 14:36:59 +0000 (10:36 -0400)]
ecore-wl2: Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add note about calling ecore_wl2_display_globals_get
Chris Michael [Mon, 26 Oct 2015 14:08:16 +0000 (10:08 -0400)]
ecore-wl2: Add note about calling ecore_wl2_display_globals_get

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add caching of server displays and fix issue of client
Chris Michael [Fri, 23 Oct 2015 16:03:08 +0000 (12:03 -0400)]
ecore-wl2: Add caching of server displays and fix issue of client
connecting to same server pid

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Client connections do not need to listen for a write event
Chris Michael [Thu, 22 Oct 2015 17:12:04 +0000 (13:12 -0400)]
ecore-wl2: Client connections do not need to listen for a write event

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Also listen for write events when creating a compositor
Chris Michael [Thu, 22 Oct 2015 17:11:32 +0000 (13:11 -0400)]
ecore-wl2: Also listen for write events when creating a compositor

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Fix event processing for client connections
Chris Michael [Thu, 22 Oct 2015 17:11:02 +0000 (13:11 -0400)]
ecore-wl2: Fix event processing for client connections

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Connect to proper name during ecore_wl2_display_connect
Chris Michael [Wed, 21 Oct 2015 19:39:16 +0000 (15:39 -0400)]
ecore-wl2: Connect to proper name during ecore_wl2_display_connect

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas-wl: Update frame callbacks to use Ecore_Wl2
Chris Michael [Wed, 21 Oct 2015 16:51:43 +0000 (12:51 -0400)]
ecore-evas-wl: Update frame callbacks to use Ecore_Wl2

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add safety trap for null compositor
Chris Michael [Tue, 20 Oct 2015 15:04:31 +0000 (11:04 -0400)]
ecore-wl2: Add safety trap for null compositor

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Don't re-add existing globals
Chris Michael [Tue, 20 Oct 2015 13:53:22 +0000 (09:53 -0400)]
ecore-wl2: Don't re-add existing globals

If we already have seen this global, and it is in the globals hash,
then don't re-add it and just jump straight to sending the event

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas-wayland: Fix error message for connect failures
Chris Michael [Mon, 19 Oct 2015 19:18:41 +0000 (15:18 -0400)]
ecore-evas-wayland: Fix error message for connect failures

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Remove all code relating to custom window animators
Chris Michael [Mon, 19 Oct 2015 14:46:00 +0000 (10:46 -0400)]
ecore-wl2: Remove all code relating to custom window animators

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Fix calling wl_surface_frame with proper Ecore_Wl2 window
Chris Michael [Mon, 19 Oct 2015 14:42:09 +0000 (10:42 -0400)]
ecore-wl2: Fix calling wl_surface_frame with proper Ecore_Wl2 window
frame

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl: Remove setting window animator in server mode
Chris Michael [Mon, 19 Oct 2015 14:41:29 +0000 (10:41 -0400)]
ecore-wl: Remove setting window animator in server mode

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-imf-wayland: Remove trailing whitespace
Chris Michael [Mon, 19 Oct 2015 13:52:17 +0000 (09:52 -0400)]
ecore-imf-wayland: Remove trailing whitespace

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Rename anim_listener to avoid confusion with ecore_wayland
Chris Michael [Wed, 14 Oct 2015 19:11:24 +0000 (15:11 -0400)]
ecore-wl2: Rename anim_listener to avoid confusion with ecore_wayland

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-imf-wayland: Use ecore_wl2_display_window_find API function
Chris Michael [Tue, 13 Oct 2015 18:57:11 +0000 (14:57 -0400)]
ecore-imf-wayland: Use ecore_wl2_display_window_find API function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas-wl: Use ecore_wl2_display_window_find function
Chris Michael [Tue, 13 Oct 2015 18:56:20 +0000 (14:56 -0400)]
ecore-evas-wl: Use ecore_wl2_display_window_find function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Remove duplicate window_find API function
Chris Michael [Tue, 13 Oct 2015 18:55:59 +0000 (14:55 -0400)]
ecore-wl2: Remove duplicate window_find API function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Re-order window API function to be with window group
Chris Michael [Tue, 13 Oct 2015 18:36:52 +0000 (14:36 -0400)]
ecore-wl2: Re-order window API function to be with window group

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add doxygen group for Subsurface functions
Chris Michael [Tue, 13 Oct 2015 18:35:02 +0000 (14:35 -0400)]
ecore-wl2: Add doxygen group for Subsurface functions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Fix typo in doxy group definition for Dnd Group
Chris Michael [Tue, 13 Oct 2015 18:31:50 +0000 (14:31 -0400)]
ecore-wl2: Fix typo in doxy group definition for Dnd Group

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Re-order API functions for input to be located next to the
Chris Michael [Tue, 13 Oct 2015 18:29:12 +0000 (14:29 -0400)]
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>
8 years agoecore-wl2: Add doxy group for output functions
Chris Michael [Tue, 13 Oct 2015 18:24:56 +0000 (14:24 -0400)]
ecore-wl2: Add doxy group for output functions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to get the DPI of a given output
Chris Michael [Tue, 13 Oct 2015 18:22:06 +0000 (14:22 -0400)]
ecore-wl2: Add API function to get the DPI of a given output

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Fix issue of compositors not flushing clients properly
Chris Michael [Tue, 13 Oct 2015 18:12:59 +0000 (14:12 -0400)]
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>
8 years agoecore-evas-wl: Fix ecore-evas wl common code due to botched rebase
Chris Michael [Tue, 13 Oct 2015 17:01:52 +0000 (13:01 -0400)]
ecore-evas-wl: Fix ecore-evas wl common code due to botched rebase

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas-wl: Fix calls to ecore_wl2_window_resize (due to botched
Chris Michael [Tue, 13 Oct 2015 17:01:24 +0000 (13:01 -0400)]
ecore-evas-wl: Fix calls to ecore_wl2_window_resize (due to botched
rebase)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-imf-wayland: Disconnect display when we close the module
Chris Michael [Fri, 9 Oct 2015 16:23:10 +0000 (12:23 -0400)]
ecore-imf-wayland: Disconnect display when we close the module

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-imf-wayland: Port ecore_imf_wayland to use Ecore_Wl2
Chris Michael [Fri, 9 Oct 2015 16:22:08 +0000 (12:22 -0400)]
ecore-imf-wayland: Port ecore_imf_wayland to use Ecore_Wl2

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to return a wl_seat from an Ecore_Wl2_Input
Chris Michael [Fri, 9 Oct 2015 16:21:27 +0000 (12:21 -0400)]
ecore-wl2: Add API function to return a wl_seat from an Ecore_Wl2_Input

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Implement ecore_animators for windows instead of using a
Chris Michael [Fri, 9 Oct 2015 15:56:56 +0000 (11:56 -0400)]
ecore-wl2: Implement ecore_animators for windows instead of using a
custom animator

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas-wayland: Comment out calls to set custom animator
Chris Michael [Fri, 9 Oct 2015 15:54:07 +0000 (11:54 -0400)]
ecore-evas-wayland: Comment out calls to set custom animator

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Fix dnd to function when source window and target window
Chris Michael [Fri, 9 Oct 2015 15:41:07 +0000 (11:41 -0400)]
ecore-wl2: Fix dnd to function when source window and target window
are same

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Implement reference counting for client connected displays
Chris Michael [Fri, 9 Oct 2015 14:23:30 +0000 (10:23 -0400)]
ecore-wl2: Implement reference counting for client connected displays

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Cache client displays and reuse them to reduce memory usage
Chris Michael [Thu, 8 Oct 2015 19:24:56 +0000 (15:24 -0400)]
ecore-wl2: Cache client displays and reuse them to reduce memory usage

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Reset Ecore_Wl2 events to 0 on shutdown
Chris Michael [Thu, 8 Oct 2015 19:24:27 +0000 (15:24 -0400)]
ecore-wl2: Reset Ecore_Wl2 events to 0 on shutdown

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Set WAYLAND_DISPLAY env variable when we create a display
Chris Michael [Thu, 8 Oct 2015 18:13:05 +0000 (14:13 -0400)]
ecore-wl2: Set WAYLAND_DISPLAY env variable when we create a display

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Don't reset window->input on keyboard or pointer leave events
Chris Michael [Wed, 7 Oct 2015 14:33:32 +0000 (10:33 -0400)]
ecore-wl2: Don't reset window->input on keyboard or pointer leave events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Don't check twice if a key repeats and also fix issue of
Chris Michael [Wed, 7 Oct 2015 13:51:19 +0000 (09:51 -0400)]
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>
8 years agoecore-wl2: Adjust keyboard repeat delay and rate
Chris Michael [Wed, 7 Oct 2015 13:22:05 +0000 (09:22 -0400)]
ecore-wl2: Adjust keyboard repeat delay and rate

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: cache the registry
Derek Foreman [Tue, 6 Oct 2015 18:45:02 +0000 (13:45 -0500)]
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>
8 years agoecore-wl2: Add support for idle_enterer
Chris Michael [Tue, 6 Oct 2015 15:44:09 +0000 (11:44 -0400)]
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>
8 years agoecore-wl2: Free internal mouse down info when we delete an input
Chris Michael [Tue, 6 Oct 2015 15:24:50 +0000 (11:24 -0400)]
ecore-wl2: Free internal mouse down info when we delete an input

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to set opaque region of a subsurface
Chris Michael [Tue, 6 Oct 2015 14:36:35 +0000 (10:36 -0400)]
ecore-wl2: Add API function to set opaque region of a subsurface

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to set sync/desync on a subsurface
Chris Michael [Tue, 6 Oct 2015 14:31:25 +0000 (10:31 -0400)]
ecore-wl2: Add API function to set sync/desync on a subsurface

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to place a subsurface below a surface
Chris Michael [Tue, 6 Oct 2015 14:23:29 +0000 (10:23 -0400)]
ecore-wl2: Add API function to place a subsurface below a surface

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to place a subsurface above a surface
Chris Michael [Tue, 6 Oct 2015 14:21:51 +0000 (10:21 -0400)]
ecore-wl2: Add API function to place a subsurface above a surface

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to get the position of a subsurface
Chris Michael [Tue, 6 Oct 2015 14:19:05 +0000 (10:19 -0400)]
ecore-wl2: Add API function to get the position of a subsurface

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to set the position of a subsurface
Chris Michael [Tue, 6 Oct 2015 14:17:25 +0000 (10:17 -0400)]
ecore-wl2: Add API function to set the position of a subsurface

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to return the wl_surface of a subsurface
Chris Michael [Tue, 6 Oct 2015 14:14:06 +0000 (10:14 -0400)]
ecore-wl2: Add API function to return the wl_surface of a subsurface

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to delete a subsurface
Chris Michael [Tue, 6 Oct 2015 14:11:23 +0000 (10:11 -0400)]
ecore-wl2: Add API function to delete a subsurface

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Use proper wayland function to get display registry
Chris Michael [Thu, 1 Oct 2015 20:10:30 +0000 (16:10 -0400)]
ecore-wl2: Use proper wayland function to get display registry

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Start on preliminary subsurface support
Chris Michael [Thu, 1 Oct 2015 16:22:32 +0000 (12:22 -0400)]
ecore-wl2: Start on preliminary subsurface support

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Cleanup wayland objects on display cleanup
Chris Michael [Thu, 1 Oct 2015 16:03:41 +0000 (12:03 -0400)]
ecore-wl2: Cleanup wayland objects on display cleanup

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Cleanup inputs on display disconnect/destroy
Chris Michael [Thu, 1 Oct 2015 15:58:50 +0000 (11:58 -0400)]
ecore-wl2: Cleanup inputs on display disconnect/destroy

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add subsurface structure type
Chris Michael [Thu, 1 Oct 2015 15:43:35 +0000 (11:43 -0400)]
ecore-wl2: Add subsurface structure type

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add subsurface protocol files to support subsurfaces
Chris Michael [Thu, 1 Oct 2015 15:28:54 +0000 (11:28 -0400)]
ecore-wl2: Add subsurface protocol files to support subsurfaces

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add doxygen for ecore_wl2_window functions
Chris Michael [Thu, 1 Oct 2015 14:14:06 +0000 (10:14 -0400)]
ecore-wl2: Add doxygen for ecore_wl2_window functions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add support for input region setting for an Ecore_Wl2_Window
Chris Michael [Thu, 1 Oct 2015 14:06:35 +0000 (10:06 -0400)]
ecore-wl2: Add support for input region setting for an Ecore_Wl2_Window

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to return the registry of a display
Chris Michael [Thu, 1 Oct 2015 14:02:20 +0000 (10:02 -0400)]
ecore-wl2: Add API function to return the registry of a display

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API funtion declarations need for Elementary
Chris Michael [Thu, 1 Oct 2015 14:00:20 +0000 (10:00 -0400)]
ecore-wl2: Add API funtion declarations need for Elementary

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to find a window given a window id
Chris Michael [Thu, 1 Oct 2015 14:00:07 +0000 (10:00 -0400)]
ecore-wl2: Add API function to find a window given a window id

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to issue an ungrab on an input
Chris Michael [Thu, 1 Oct 2015 13:59:44 +0000 (09:59 -0400)]
ecore-wl2: Add API function to issue an ungrab on an input

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas: Add API function to get an Ecore_Wl2_Window for an
Chris Michael [Thu, 1 Oct 2015 13:59:16 +0000 (09:59 -0400)]
ecore-evas: Add API function to get an Ecore_Wl2_Window for an
ecore_evas

Signed-off-by: Chris Michael <cp.michael@samsung.com>