Mike Blumenkrantz
7da4d8a4ae
ecore-wl2: isolate regular selection requests from dnd-specific code
...
fix T3455
2016-04-22 11:32:08 -04:00
Chris Michael
262ac55287
ecore-wl2: Fix formatting
...
NB: No functional changes
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-22 09:36:54 -04:00
Chris Michael
98e8183b1b
ecore-wl2: Port session recovery protocol to work with Ecore_Wl2
...
This patch ports the existing session recovery protocol from
Ecore_Wayland so that it is used inside Ecore_Wl2.
@feature
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-22 09:32:45 -04:00
Mike Blumenkrantz
d36c931fac
ecore-wl2: more dnd v3 updates
...
ref d34b5958051c87fe491e358b24e9f25238fda10f
#gladthiswasabetaapi
2016-04-21 13:58:45 -04:00
Mike Blumenkrantz
74ed3fbe74
ecore-wl2: use fd handler for receiving selection data
...
not sure what trac ticket was referenced here, but probably the issue was
not using ecore_main_fd_handler_file_add()
2016-04-21 13:58:45 -04:00
Mike Blumenkrantz
46666de75d
ecore-wl2: return some copied code back to its original state
...
this will make future rebases easier
2016-04-21 13:58:45 -04:00
Mike Blumenkrantz
19239b9251
ecore-wl2: update wl dnd/clipboard support to v3 of protocol
...
this code is mostly copied from weston:
78d4bf9a3ec990dceee23fd53962a69891352a0e
9c93179023fe894e417ccd20533d72d672d976fc
credit to Carlos Garnacho <carlosg@gnome.org> as original author
fix T3455
@feature
2016-04-21 13:58:45 -04:00
Mike Blumenkrantz
1f6746cedb
ecore-wl2: correct the name and type of some function params
2016-04-21 13:58:45 -04:00
Mike Blumenkrantz
ad9ae67e46
ecore-wl(2): add copyright headers (MIT) from weston
...
these files were created containing code which was very obviously copied from
weston. when copying code, copyright headers must also be copied in order to
comply with licenses.
2016-04-20 08:47:01 -04:00
Derek Foreman
f7cbb12fd4
ecore_wl2: Add API to get dmabuf protocol object
2016-04-19 15:11:09 -04:00
Derek Foreman
d6e5bdf428
ecore_wl2: Bind dmabuf global if available
...
Bind the dmabuf global so we can make use of it later.
2016-04-19 15:11:09 -04:00
Derek Foreman
7514d08ae6
ecore_wl2: Add generated dmabuf files
...
This adds the framework for the dmabuf protocol for wayland - the files
are generated with wayland-scanner.
2016-04-19 15:11:09 -04:00
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
5713463ff3
ecore-wl2: Enable releasing keyboard, pointer, and touch if supported
...
This removes a fixme where we were not using wl_(pointer, keyboard,
touch)_release functions as they rely on newer versions of the wayland
protocol. As we now rely on 1.10 of wayland, these can be enabled now.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-01 12:22:02 -04:00
Chris Michael
2035931ba7
ecore-wl2: Move structures above functions
...
NB: This is just a cosmetic issue, no functional changes
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-01 07:34:43 -04:00
Mike Blumenkrantz
eb1a422d63
ecore_wl2: implement www extension for client-side use
...
handling for global binding and signal prop
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
2016-04-01 06:49:49 -04:00
Mike Blumenkrantz
f70649a13d
wayland: ignore resize from no-op surface configure events, send events always
...
this fixes the case where a configure event with the current window geometry
would cause (inaccurate) resizes
@fix
2016-03-30 15:42:21 -04:00
Derek Foreman
9646f8e9ec
ecore_wl2: Don't treat EINVAL as a recoverable condition
...
EINVAL is bad, we can't go on. If we treat it like it's not a fatal
error we'll end up spinning on the fd and constantly retrying sends
on the dead wayland connection.
@fix
2016-03-10 15:55:04 -05:00
Mike Blumenkrantz
358a204491
ecore-wl2: set fd handler active flags correctly for connect/create
...
@fix
2016-03-10 14:23:43 -05:00
Mike Blumenkrantz
f85504cd6c
ecore-wl2: do not send double mouse up events during input ungrab
...
if the ungrab is triggered from a mouse up event, this ensures that a
mouse up will be sent from the ungrab function. continuing to send a
mouse up event in addition to this will guarantee multiple mouse events
are emitted
@fix
2016-02-17 13:16:04 -05:00
Derek Foreman
943f2df006
ecore_drm/ecore_wl2: logging: remove errant usage of %m
...
Summary:
printf %m stringifies and prints errno. I've tried to remove its use
anywhere that the immediately preceding function might not set errno
or is a complicated function for which knowing errno doesn't really
give any useful information.
I've left a few of the drmMode calls because they're just wrappers
around ioctl, which legitimately sets errno.
@fix
Reviewers: zmike, devilhorns
Reviewed By: zmike, devilhorns
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3572
2016-01-14 13:06:02 -05:00
Marcel Hollerbach
63a410667a
ecore_wl2: fix key down event called to often
...
if many events are coming in, a release event can be skipped. if this happens
the timer continues with the new keycode. so if a new key pressed event
enter checks for the old timer and delete the timer if there is one.
If the timer kicks in and emits additional key down events dont call the
callback which gets called by wl, and emit the signal directly.
2016-01-13 19:40:44 +01: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
Chris Michael
6967aa1457
ecore-wl2: Fix support for nested compositors
...
When trying to create nested compositors, we were failing here due to
trying to read the WAYLAND_DISPLAY env variable and find an existing
server display to match. In order for nested compositors to function,
we cannot reuse that environment variable for server display hash.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-01-05 13:49:51 -05:00
Chris Michael
6afbd272bd
ecore-wl2: Remove blank line
...
NB: No functional changes
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-01-05 13:49:51 -05:00
Chris Michael
e4dd691432
ecore-wl2: Remove extra blank line
...
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-01-04 11:06:21 -05:00
Chris Michael
d91e403a98
ecore-wl2: Fix MIN() macro comparing int vs unsigned int
...
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2015-12-28 09:15:01 -05: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
Tom Hacohen
374b795683
Ecore wl2: Limit scope of variable (fix shadow warning).
2015-12-21 11:15:24 +00:00
Mike Blumenkrantz
a3dcf7a0ba
ecore-wl2: do not flush wl_display during cleanup
...
this serves no functional purpose and deadlocks compositors
2015-12-17 13:11:46 -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
0d1179abe3
ecore-wl2: ensure client display hash is freed and set NULL on connect failure
2015-12-10 11:19:08 -05:00
Chris Michael
e50d228882
ecore-wl2: rewrite iconified set function for consistency
...
* santize boolean params
* enforce window state flag setting
@fix
ref T2919
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-08 12:00:13 -05:00
Chris Michael
880a76a75b
ecore-wl2: rewrite maximize/fullscreen set functions for consistency
...
* sanitize boolean params
* enforce window state flag setting
* use window flag instead of window type for state
@fix
ref T2919
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-07 15:36:42 -05:00
Chris Michael
7469261d2f
ecore-wl2: Fix issue of cleanup function always removing from client
...
display hash
As the cleanup function is a generic helper to cleanup things in the
Ecore_Wl2_Display structure, we cannot always just explicitly the
display from the client_displays hash.
The removal from the appropriate hashes should be done by the calling
function(s) (ecore_wl2_display_disconnect for clients, and
ecore_wl2_display_destroy for servers)
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-07 15:36:42 -05:00
Chris Michael
33d0c8cdcf
ecore-wl2: Fix formatting and remove extra blank line
...
NB: no functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-07 15:36:42 -05:00
Chris Michael
8287202c43
ecore-wl2: Don't free display structure during display cleanup function
...
Due to reference caching, we cannot free the display structure here
yet. During calls to ecore_wl2_display_destroy (or others), if the
number of references reaches zero, then we end up calling
wl_display_destroy (or equivelant). If we free our display structure
during cleanup function, then calls to wl_display_destroy will cause a
segfault as our display->wayland_display has already been freed from
the structure
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-07 10:00:23 -05:00
Mike Blumenkrantz
d2a7882b73
ecore-wl2: fix use after free and leak when deleting display object
...
ref T2919
2015-12-05 13:06:03 -05:00
Mike Blumenkrantz
8fb4840479
ecore-wl2: add function for getting display from window
2015-12-05 13:05:15 -05:00
Mike Blumenkrantz
f50a434bd1
ecore-wl2: apply same deferred shell surface creation as ecore-wayland
...
new wheel meets old wheel.
ref 265ad8b5d0
2015-12-04 19:06:51 -05:00
Mike Blumenkrantz
022dda2f68
ecore-wl2: handle null global has in ecore_wl2_display_globals_get()
2015-12-04 19:06:48 -05:00
Chris Michael
298d66377e
ecore-wl2: Implement function pointer for configure acknowledge
...
We need a way to store the configure serial, and make the
xdg_surface_ack_configure callback be callable by Ecore_Evas at the
appropriate time. This fixes an issue where previously we were
(potentially) sending a configure acknowledgment while not applying
the configure due to deferred rendering.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2015-12-04 14:12:06 -05:00
Chris Michael
b566360de2
ecore-wl2: Always create cursor surface for pointer
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:07:45 -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
5869b4afa1
ecore-wl2: Add private Ecore_Wl2_Keyboard structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:05:49 -05:00
Chris Michael
2e00a5ebbd
ecore-wl2: Remove unnecessary use of MIN macro
...
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
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
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
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
6c16d7967b
ecore-wl2: Use proper wayland function to get display registry
...
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
d4c312ecce
ecore-wl2: Cleanup wayland objects on display cleanup
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9a9d120c44
ecore-wl2: Cleanup inputs on display disconnect/destroy
...
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
98f0a245ce
ecore-wl2: Add subsurface protocol files to support subsurfaces
...
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
518b97cc1c
ecore-wl2: Add API function to find a window given a window id
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f3e5800d58
ecore-wl2: Add API function to issue an ungrab on an input
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8df60cef9e
ecore-wl2: Check if a window is transparent or alpha when setting
...
opaque region
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
a084891013
ecore-wl2: Cleanup dnd drag and selection sources when we delete an
...
input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
a4b28e0375
ecore-wl2: Send window configure event when we un-maximize/fullscreen
...
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
84a01216e7
ecore-wl2: Provide internal function to stop any cursor update timers
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
bb0f3ab62a
ecore-wl2: Create new event type for window configure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
324a7e545a
ecore-wl2: Update input serial when we get a mouse button event
...
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
4b0aaca962
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-12-03 12:02:40 -05:00
Chris Michael
4bd535e3a1
ecore-wl2: Remove window animator callback when we free a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
70867d9dc7
ecore-wl2: Remove test for no-op move/resize
...
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
2f57854e8b
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-12-03 12:02:40 -05:00
Chris Michael
9cc1ba045c
ecore-wl2: Fix issue of never getting keyboard focus
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
76a06f300f
ecore-wl2: Fix issue of animators not starting
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e0f7c7a648
ecore-wl2: Finish off internal dnd code to actually send events
...
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
Chris Michael
915d0653c3
ecore-wl2: Add API function to set dnd drag types
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
695b8cec9e
ecore-wl2: Add missing TODO for doxygen
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ccb8061841
ecore-wl2: Add API function to return the Ecore_Wl2_Input from a given
...
window
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6ad9dc0e10
ecore-wl2: Add API function to set the type of window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
dfffabb224
ecore-wl2: Add API function to return surface id of a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
3fe735f0c1
ecore-wl2: Add API function to set a cursor for a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7b383e267d
ecore-wl2: Add support for setting cursor images to input code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
a83ba427a9
ecore-wl2: Add event structure and event type for selection data ready
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9e8b79b43f
ecore-wl2: Add remaining events and event structures for data source
...
(dnd)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
199d762e57
ecore-wl2: Add event structure for dnd end event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
590c278a46
ecore-wl2: Add API function to set pointer surface on a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d8f72b6c32
ecore-wl2: Implement ecore_wl2_window_raise for xdg surfaces also
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
462d86486f
ecore-wl2: Add API function to return pointer position
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
25390920be
ecore-wl2: Add API function to retrieve screen size
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9a008a9a69
ecore-wl2: Add API function to set window minimized state
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ecd8808918
ecore-wl2: Add API function to return if a window is iconified
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
b0f65024ff
ecore-wl2: Add API function to set if a window is fullscreen
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6a6b56ce24
ecore-wl2: Add API function to set if a window is maximized
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
b02d5a1922
ecore-wl2: Add API function to set window geometry
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9a1435796d
ecore-wl2: Add API function to return window geometry
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ffa12c3820
ecore-wl2: Fix not sending compositor reguests when we use
...
ecore_wl2_display_connect
Summary: If we do Not listen for ECORE_FD_WRITE on the file descriptor
handler, then we never send a wl_display_flush which means we don't
send requests to the compositor and thus nothing ever renders. Fix
that by listening for FD_WRITE and calling wl_display_flush.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f8e3bc944f
ecore-wl2: Add API function to set window class name
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
41a74fda94
ecore-wl2: Add API function to set window title
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f372d11f99
ecore-wl2: Add API function to set window rotation
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
c7206d5687
ecore-wl2: Add API function to return if a window is fullscreen or not
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
c1109dd25c
ecore-wl2: Add API function to return if a window is maximized
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
0d0b7f9979
ecore-wl2: Add API function to set if a window is transparent
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
35cbc0d737
ecore-wl2: Add API function to set window opaque region
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
795627ab51
ecore-wl2: Add API function to set if a window is alpha or not
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f1d2f7c8da
ecore-wl2: Add API function to return if a window is alpha or not
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
fda3c80ee0
ecore-wl2: Add API function to find a window by id
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
90217c80fc
ecore-wl2: Add implementation for supporting custom tick animators
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e04ab79ecc
ecore-wl2: Raise dnd drop event when we get the event from the data
...
listener
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
25f199969c
ecore-wl2: Add dnd drop event type and event structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
2758d6fcba
ecore-wl2: Add event and structure for dnd motion events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
568f3cf617
ecore-wl2: Raise event for dnd leave
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
60aee3e03c
ecore-wl2: Add event and structure for event dnd leave
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
05856a0ebf
ecore-wl2: Add calls to dnd functions for drag listener
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
0ede9c3c7d
ecore-wl2: Add source file for dnd functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8b42bc4ae7
ecore-wl2: Add private function declarations for dnd functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ad54caeeda
ecore-wl2: Add structure and event type for dnd enter
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
dfdac191ff
ecore-wl2: Add TODO notes for dnd
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ffe14478de
ecore-wl2: Support window raise function for wl_shell_surface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
cfce071a34
ecore-wl2: Implement support for window resizing
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
4d193552a8
ecore-wl2: Improve popup support to be able to use the parent windows
...
seat
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e0b3d1250b
ecore-wl2: Add support for window moving
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
34a4787402
ecore-wl2: Add support for xdg popups
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d2816fa45f
ecore-wl2: Assign an input to a window when the window gets focus
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
df670ae859
ecore-wl2: Finish up touch support. Record touch motion coordinates
...
into input->pointer.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
28fafc0ea7
ecore-wl2: Add support for double/triple click in mouse events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
08c804f5bb
ecore-wl2: Send key press/release events when we get wayland event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7918f40fcc
ecore-wl2: Raise focus in/out events when we get wayland events for
...
keyboard enter/leave
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f811cc85d5
ecore-wl2: Add event structures for focus in/out
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7e5ccc3862
ecore-wl2: Reset pointer and keyboard focus when a window gets deleted
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
5254b1a327
ecore-wl2: Call input ungrab when window operations occur
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6d3e8a8558
ecore-wl2: Finish send ecore events for any wayland touch related events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
68b36dfde3
ecore-wl2: Send mouse up event when we ungrab input
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
16864aa2c4
ecore-wl2: Send mouse button down/up events when we get a wayland
...
pointer button event
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
32838d1db4
ecore-wl2: Add internal functions for sending mouse button down/up
...
events
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8360fcaa58
ecore-wl2: Set display serial during keyboard events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
c0e03359e5
ecore-wl2: Add code to send mouse wheel events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ed7429f62d
ecore-wl2: Issue input grab/ungrab during pointer button events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8a2b8ed76a
ecore-wl2: Add code to send mouse move events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
52996b1cf4
ecore-wl2: Add functions to send mouse in/out events and call them
...
during pointer enter/leave
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
22c069ef82
ecore-wl2: Add internal input functions to initiate/release a grab
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
31b014de6b
ecore-wl2: Add prototype functions to support data listener
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7eabcd955e
ecore-wl2: Add placeholders for touch listener functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6062fa4f68
ecore-wl2: Add initial support for keyboard events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
debc8c5aba
ecore-wl2: Add placeholders for functions of the keyboard listener
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
df1032676a
ecore-wl2: Add TODO note for handling mouse wheel event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
4731bb6eed
ecore-wl2: Add start of code for pointer button event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1f4b386664
ecore-wl2: Start on code for pointer motion event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
bb0c94d04a
ecore-wl2: Start on code for pointer leave event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1fd5a0f9b9
ecore-wl2: Destroy cursor theme when input is destroyed
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
08594f2b3c
ecore-wl2: Add start of pointer handling code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
2a973da77b
ecore-wl2: Add function to find a window based on surface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
0a2bcb775b
ecore-wl2: Add pointer fields to input structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9009367421
ecore-wl2: Add placeholder touch listener structure and setup touch
...
listener
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6869782c27
ecore-wl2: Add placeholder keyboard listener structure and setup
...
keyboard listener
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1e7be23084
ecore-wl2: Add placeholder pointer listener structure and setup
...
pointer listener
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
330ac83004
ecore-wl2: Add support for initial setup of pointer cursor
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
bcd949fa03
ecore-wl2: Add start of Ecore_Wl2_Input code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e497abb4a6
ecore-wl2: Fix doxygen comment
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
70aa5a9a34
ecore-wl2: Add support for xdg shell listener
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d722b41e1a
ecore-wl2: Add start of Ecore_Wl2_Output code for outputs
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
dd5b7e0046
ecore-wl2: Free window when surface gets deleted
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
b3ca3c7880
ecore-wl2: Add placeholder API for ecore_wl2_window_raise
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8079f5cf9d
ecore-wl2: Update doxygen for window move and resize functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
5c6376fa29
ecore-wl2: Add API function to resize a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e9b6c5d4b7
ecore-wl2: Add API function to move a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
a5739c5ded
ecore-wl2: Add API function to free a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
639a1a24ae
ecore-wl2: Add API function to hide a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
02671a1a4b
ecore-wl2: Add API function for ecore_wl2_window_show
...
Summary: This adds preliminary support for wl_shell and xdg_shell
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
5df31145ad
ecore-wl2: Add a listener for display sync when connect is called
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
2b41f198db
ecore-wl2: Add bool fields to window structure to store state
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7fe8a28aca
ecore-wl2: Add function to create/get a wl_surface for a window
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
167e8d074b
ecore-wl2: Add support for window types
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d02da903fe
ecore-wl2: Add function to return window id
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8eda8449de
ecore-wl2: Add start of ecore_wl2_window code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
88e47d7def
ecore-wl2: Add API function to return an iterator for display globals
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f5e35519b3
ecore-wl2: Group connect and disconnect functions together
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
93ea0b172c
ecore-wl2: Add internal function to cleanup Ecore_Wl2_Display when closed
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
98706f0157
ecore-wl2: Add API function for servers to terminate wayland display main loop
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6b14714b56
ecore-wl2: Create new xkb context for each display when connected
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
a079b10224
ecore-wl2: Add API function for servers to destroy a wayland display
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
5e3a9860aa
ecore-wl2: Add API function for clients to disconnect from a Wayland display
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
3a708abdf4
ecore-wl2: Add API function to return the wl_shm interface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
fcbadece87
ecore-wl2: Remove unused wl_registry field in display structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
963b1da5f1
ecore-wl2: Call wl_event_loop_dispatch with a 0 timeout
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
54a0345503
ecore-wl2: Add support for binding various wayland interfaces
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
26844165a1
ecore-wl2: Add xdg_shell protocol files
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
31bf92dbbd
ecore-wl2: Add API function to return wl_display
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
93f17dec58
ecore-wl2: Modify ecore_wl2_display_create to take an optional socket name
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f875c8ba67
ecore-wl2: Use Eina_Stringshare type instead of const char
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
81c120db14
ecore-wl2: Start on code to handle globals being added or removed
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
e4f4d52cf3
ecore-wl2: Add start of opaque Ecore_Wl2_Display structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1af91f3c61
ecore-wl2: Add wayland log handler callback to print wl log messages
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8c8334ad2d
ecore-wl2: Add ecore_wl2_display file to build order
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
2065766bb5
ecore-wl2: Add start of doxygen infrastructure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
b085e688d5
ecore-wl2: Add API function for ecore_wl2_shutdown
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d769724ccc
ecore-wl2: Add events for adding and removing globals
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1132afd78a
ecore-wl2: Add API function for ecore_wl2_init
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
b3eaf9be3a
ecore-wl2: Add start of headers for ecore_wl2 library
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00