Mike Blumenkrantz
5292b3de05
ecore-wl2: redo Ecore_Wl2_Event_Window_Configure entirely
...
this is an event representing the "new" state of the surface after a
configure event. it must contain the exact states which could potentially
have changed in the configure in order to ensure synchronization between
csd states and window size.
ecore events for xdg-shell configures must be sent only upon receiving a
configure event since states are set by the compositor and not by the client
@fix
#hoorayforbeta
2016-04-07 14:19:25 -04:00
Mike Blumenkrantz
af1c7d3407
ecore-wl2: remove maximized/fullscreen/transient from window types enum
...
these aren't real window types and only complicate internals/api
#hoorayforbeta
2016-04-07 14:19:25 -04:00
Chris Michael
5499a53c75
ecore-wl2: API expose ecore_wl2_input_grab function
...
This input_grab function should have been exposed via EAPI for use in
enlightenment, but was missed before the push
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-01-07 11:57:07 -05:00
Chris Michael
67044ae214
ecore-wl2: Mark API as Beta before 1.17 gets released
...
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-01-06 12:16:33 -05:00
Stefan Schmidt
6451c174db
ecore_wl2: add since tag to all new symbols in 1.17 missing it
2016-01-06 15:08:13 +01:00
Derek Foreman
ddae80af1d
wayland: use wl_surface.damage_buffer if available
...
Summary:
wl_surface.damage_buffer() takes surface damage in buffer co-ordinates.
Right now since we don't use wayland's scaling, transforms, or viewports
it's exactly the same as wl_surface.damage(). In the future if we start
using those features it's much easier to do so with damage_buffer().
Reviewers: zmike, devilhorns
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3457
2015-12-28 09:09:04 -05:00
Chris Michael
8c85a89303
ecore-wl2: Add new event for sync done
...
This removes the usage of ecore_main_loop_iterate inside of the
display_connect function. It creates a new event type for when display
sync is done, this was we can defer surface creation and EE showing
until the compositor has had a chance to synchronize globals. We need
this for Enlightenment so that it does not try to create error dialogs
too early and thus crash due to not having sync'd globals yet
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-11 11:24:32 -05:00
Mike Blumenkrantz
8fb4840479
ecore-wl2: add function for getting display from window
2015-12-05 13:05:15 -05:00
Chris Michael
f0342a5ffe
ecore-wl2: Add start of code to support wl_keyboards
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:05:49 -05:00
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
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
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
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
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
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
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
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
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
Chris Michael
0b8d2f1f24
ecore-wl2: Add API function to set the position of a subsurface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
32bb1237c6
ecore-wl2: Add API function to return the wl_surface of a subsurface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ed8287bdba
ecore-wl2: Add API function to delete a subsurface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
434fbd6fb9
ecore-wl2: Start on preliminary subsurface support
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
10efbbd416
ecore-wl2: Add subsurface structure type
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
76da2e3063
ecore-wl2: Add doxygen for ecore_wl2_window functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d22b6c581c
ecore-wl2: Add support for input region setting for an Ecore_Wl2_Window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
35710fa919
ecore-wl2: Add API function to return the registry of a display
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
206914aa32
ecore-wl2: Add API funtion declarations need for Elementary
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
63004b492c
ecore-wl2: Add a LAST member for enum of window type
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1a38e1a9f4
ecore-wl2: Don't use bitfields for public structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
41f6e1f505
ecore-wl2: Add display to global event structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
961a5fa478
ecore-wl2: Add event type and structure for sending window configure
...
events
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
597426e606
ecore-wl2: Fix compiler warning
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
26db25b5ff
ecore-wl2: Add API function to clear a dnd selection
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e44f85cc3c
ecore-wl2: Add API function to return if a dnd selection exists
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
00fd750d7d
ecore-wl2: Add API function to set a dnd selection
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
4559aa15a4
ecore-wl2: Add API function to determine if an input has a selection
...
owner
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d1cc93f046
ecore-wl2: Add API function to end a dnd drag operation
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9fdd4758fb
ecore-wl2: Add API function to get a dnd drag
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
b877b18980
ecore-wl2: Add API function to start a dnd operation
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00