Commit Graph

33 Commits

Author SHA1 Message Date
Mike Blumenkrantz 2510afe821 efl-wl: match nested wl seats based on display ordering
a nested compositor will have a mismatch between canvas seat id and
compositor seat id, so this attempts to perform matching based on the
order that they are listed, which should be identical

@fix
2017-08-25 14:48:11 -04:00
Mike Blumenkrantz e40435a1b0 efl-wl: max size of 0x0 from shell is -1x-1 in efl 2017-08-11 18:43:13 -04:00
Mike Blumenkrantz 0303805ef7 efl-wl: initialize seat keymap fd to -1
@fix
2017-08-11 18:43:13 -04:00
Mike Blumenkrantz 302237fa77 efl-wl: handle case where eglBindWaylandDisplay fails
@fix
2017-08-11 18:43:13 -04:00
Mike Blumenkrantz 8052b90d20 efl-wl: always dismiss popups on hide
@fix
2017-08-11 18:43:13 -04:00
Mike Blumenkrantz 60449b48dc efl-wl: use correct accessor method for keyboard resource hash
@fix
2017-08-11 18:43:13 -04:00
Mike Blumenkrantz 2d1e5da35d efl-wl: add functionality for extracting surfaces for external use
@feature
2017-08-11 18:43:13 -04:00
Mike Blumenkrantz dc250e6101 efl-wl: add EFL_WL_DEBUG env variable for enabling wayland debug
@feature
2017-08-11 18:43:13 -04:00
Derek Foreman 49bdba8505 efl_wl: Update to latest dmabuf protocol version
Weston's dmabuf code continues to be modular enough that we can pull
it in with little change.

This updates us to version 3 of the protocol.

Currently only contains stubs for format queries.
2017-08-10 11:36:38 -05:00
Mike Blumenkrantz fb153fc57a efl-wl: no-op the re-setting of minmax/aspect handling 2017-08-04 16:17:33 -04:00
Mike Blumenkrantz 29b99a8e88 efl-wl: add handling for external protocol interfaces
@feature
2017-08-04 16:17:33 -04:00
Mike Blumenkrantz be20f7d96c efl-wl: support min/max hinting
@feature
2017-08-04 16:17:33 -04:00
Mike Blumenkrantz 9a189d29d0 wayland: add efl-hints protocol for setting aspect on surfaces
@feature
2017-08-04 16:15:43 -04:00
Mike Blumenkrantz 106e1d4318 efl-wl: set cursor surface roles
ensure cursor surfaces without buffers will be mapped if a buffer is
attached

@fix
2017-08-04 16:10:49 -04:00
Mike Blumenkrantz 514fefe2d4 efl-wl: add handling for commit during canvas render
prevent release of pre-existing buffers during a render cycle

@fix
2017-08-04 16:10:47 -04:00
Mike Blumenkrantz 2961cb2550 efl-wl: do shm pool ref/unref for bm safety
@fix
2017-08-04 16:10:43 -04:00
Mike Blumenkrantz 70c118fab6 efl-wl: block connection attempts from unmanaged clients
I guess posting an oom error is security

@fix
2017-08-04 16:10:39 -04:00
Carsten Haitzler ed947fad81 efl_wl - fix warning for possible uninitted list access
could potentially be an issue in one theoretical case. less warnings
is better anyway
2017-08-02 18:48:06 +09:00
Mike Blumenkrantz 84ae9d82d0 efl-wl: hide popup surface before unsetting attrs during destructor
ensure focus remains with the popup parent
2017-07-28 15:40:47 -04:00
Mike Blumenkrantz e24bc7517b efl-wl: simplify refocus on popup hide 2017-07-28 15:40:47 -04:00
Mike Blumenkrantz b32ae04306 efl-wl: use correct window when requesting x11 clipboard selection 2017-07-28 15:40:47 -04:00
Mike Blumenkrantz 46f024bbe3 efl-wl: initialize variable
CID 1377573
2017-07-12 13:41:23 -04:00
Mike Blumenkrantz 1cc9748c61 efl-wl: change x11 atom name var to normal char* 2017-07-12 11:59:21 -04:00
Mike Blumenkrantz 9940cabd13 efl-wl: free atom name when sending selection
CID 1377542
2017-07-12 11:59:21 -04:00
Mike Blumenkrantz 39c70f1fa7 efl-wl: free x11 pipe read buf on read fail
CID 1377520
2017-07-12 11:59:21 -04:00
Mike Blumenkrantz bad0d9dbd6 efl-wl: return if pipe reading fails in x11 bridge
CID 1377526, 1377534
2017-07-12 11:59:20 -04:00
Mike Blumenkrantz 7c80d82f25 efl-wl: check returns in x11 selection request handler
CID 1377518
2017-07-12 11:59:20 -04:00
Mike Blumenkrantz 74bd1d4000 efl-wl: mmap byte for nul terminator in keymap string
CID 1377545
2017-07-12 11:59:20 -04:00
Mike Blumenkrantz c6f41d8e10 efl-wl: check return of ecore_main_fd_handler_fd_get
CID 1377541, 1377546, 1377519, 1377529, 1377543
2017-07-12 11:59:20 -04:00
Mike Blumenkrantz 8c2afaf251 efl_wl: check mkstemp return
CID 1377533
2017-07-12 11:59:20 -04:00
Mike Blumenkrantz 98e14ef3d4 efl_wl: error and cleanup on CLOEXEC fail
CID 1377530, 1377531
2017-07-12 11:59:20 -04:00
Chris Michael 627fc6842a efl_wl: Fix resource leak
Coverity reports that 'name' is leaked here, so free the return
ecore_x_atom_name_get.

Fixes CID1377537

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-07-12 11:24:37 -04:00
Mike Blumenkrantz c2fde93c9e efl_wl: a multiseat wayland compositor in an evas smart object
build when wayland support is enabled and provide two test/demo cases

beta api

@feature

Reviewed-By: Cedric BAIL <cedric@osg.samsung.com>
2017-06-30 14:59:55 -04:00