Chris Michael
ba10e3547c
ecore-wl2: Start on implementing support for multi-seat
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:05:01 -05:00
Chris Michael
2aecd1ec48
ecore-wl2: Cancel data callback if we have a fatal error
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:05:01 -05:00
Chris Michael
e9fab75178
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>
2015-12-03 12:05:01 -05:00
Chris Michael
3201d67183
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>
2015-12-03 12:05:01 -05:00
Chris Michael
14229e0709
ecore-wl2: Add missing @since for all existing doxygen
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:03:35 -05:00
Chris Michael
684429099e
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>
2015-12-03 12:03:35 -05:00
Chris Michael
de08c10253
ecore-wl2: Add missing EINA_UNUSED for function parameters
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:03:35 -05:00
Chris Michael
93afb3ed07
ecore-wl2: Add function to get a windows rotation
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:03:35 -05:00
Chris Michael
9aaada21c3
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>
2015-12-03 12:03:35 -05:00
Chris Michael
31dac90f9d
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>
2015-12-03 12:03:35 -05:00
Chris Michael
0d7305ae95
ecore-wl2: Add doxygen for more ecore_wl2_window functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:03:35 -05:00
Chris Michael
cb04220ca3
ecore-wl2: Add support for handling Fatal Errors
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:03:35 -05:00
Chris Michael
e839035bfa
ecore-wl2: Fix formatting
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:03:35 -05:00
Chris Michael
d30e9c6f97
ecore-wl2: Add note about calling ecore_wl2_display_globals_get
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:03:35 -05:00
Chris Michael
8196913b15
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>
2015-12-03 12:03:35 -05:00
Chris Michael
ad5f93b521
ecore-wl2: Client connections do not need to listen for a write event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:03:35 -05:00
Chris Michael
be32567dfb
ecore-wl2: Also listen for write events when creating a compositor
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:03:35 -05:00
Chris Michael
59d1491929
ecore-wl2: Fix event processing for client connections
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:03:35 -05:00
Chris Michael
5a13b093b5
ecore-wl2: Connect to proper name during ecore_wl2_display_connect
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:03:35 -05:00
Chris Michael
482668451d
ecore-wl2: Add safety trap for null compositor
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:03:35 -05:00
Chris Michael
ede679b7bd
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>
2015-12-03 12:03:35 -05:00
Chris Michael
8f338af511
ecore-wl2: Remove all code relating to custom window animators
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:03:35 -05:00
Chris Michael
d29acc3613
ecore-wl: Remove setting window animator in server mode
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
02afb0dc28
ecore-wl2: Rename anim_listener to avoid confusion with ecore_wayland
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
652fa87169
ecore-wl2: Remove duplicate window_find API function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
dbb862299b
ecore-wl2: Re-order window API function to be with window group
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
0272154007
ecore-wl2: Add doxygen group for Subsurface functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9a871106db
ecore-wl2: Fix typo in doxy group definition for Dnd Group
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
57e19e1fd8
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-12-03 12:02:40 -05:00
Chris Michael
7fb55f5789
ecore-wl2: Add doxy group for output functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
24aa08ede7
ecore-wl2: Add API function to get the DPI of a given output
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
47cd4d4168
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-12-03 12:02:40 -05:00
Chris Michael
6d78355ccc
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-12-03 12:02:40 -05:00
Chris Michael
055b398e8d
ecore-wl2: Implement ecore_animators for windows instead of using a
...
custom animator
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
0f49297c18
ecore-wl2: Fix dnd to function when source window and target window
...
are same
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8683c6ecf6
ecore-wl2: Implement reference counting for client connected displays
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
3dc45d4945
ecore-wl2: Cache client displays and reuse them to reduce memory usage
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
acf97100db
ecore-wl2: Reset Ecore_Wl2 events to 0 on shutdown
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
fbfe60751d
ecore-wl2: Set WAYLAND_DISPLAY env variable when we create a display
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
68527379e2
ecore-wl2: Don't reset window->input on keyboard or pointer leave events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
b7804b6877
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-12-03 12:02:40 -05:00
Chris Michael
89c973eba8
ecore-wl2: Adjust keyboard repeat delay and rate
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Derek Foreman
497b9c045e
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-12-03 12:02:40 -05:00
Chris Michael
b89c45dbf9
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-12-03 12:02:40 -05:00
Chris Michael
c5dba8cd32
ecore-wl2: Free internal mouse down info when we delete an input
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
3e1b71b3d8
ecore-wl2: Add API function to set opaque region of a subsurface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
475ade8bf8
ecore-wl2: Add API function to set sync/desync on a subsurface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d50af2db70
ecore-wl2: Add API function to place a subsurface below a surface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
44b2153a42
ecore-wl2: Add API function to place a subsurface above a surface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
25505626ad
ecore-wl2: Add API function to get the position of a subsurface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00