Mike Blumenkrantz
99db9e2557
more E_BITFIELD conversions
2017-11-08 09:22:24 -05:00
Mike Blumenkrantz
d7a08ed74e
block relative motion event sending when pointer is outside input area
...
stop sending events to xwl clients at all times
2017-10-05 12:26:19 -04:00
Mike Blumenkrantz
5694d7af96
add action router action to route specific key presses to specified clients
2017-09-21 13:31:01 -04:00
Mike Blumenkrantz
541e33fc73
don't arbitrarily bind version=1 for wl extension resources
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
c1cf0249a0
make action routes usable in subcompositors
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
862b02adc8
extend key action routing for general action contexts
...
this allows authorized clients to activate validated actions
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
8748b197fa
implement action routing for wayland clients
...
this allows a wayland client to request that a given action name be bound
to the requested surface using a mode to restrict activation of the binding
modes include:
* shared
- activated when any surface from the client has focus
* topmost
- activated when the requested surface has focus and is the topmost client
* exclusive
- activated when the requested surface has focus; blocks other action routes
#SamsungFeatures
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
ab328c6512
implement support for wl aux hints
...
this is a direct copy of a feature from tizen git with no modifications other
than what was required for compilation and functionality
https://git.tizen.org/cgit/platform/upstream/enlightenment/commit/?id=8ea090222cee86b57e54f1444c5b63252380fba5
https://git.tizen.org/cgit/platform/upstream/enlightenment/commit/?id=2c5593325c3f32efa92da3c371a780e434a30efd
fix T5780
2017-07-28 15:45:01 -04:00
Mike Blumenkrantz
3055c0ecae
remove wl screenshooter protocol
...
this should never have existed, as it makes no sense for a compositor to
use protocol in order to allow itself to take screenshots
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
c196ef110e
re-place transient wl clients when parent is first sized
...
this should ensure more reliable centering using a nonzero geometry
2017-04-07 16:08:37 -04:00
Mike Blumenkrantz
d897f834ee
don't set wl xdg-foreign clients as modal
...
protocol says this should be the same as xdg_surface.set_parent which is
not the same as modal
2017-04-07 16:07:25 -04:00
Mike Blumenkrantz
e23bf0cf68
do not use animations for wl clients with initial maximize state
...
this looks fugly and breaks all kinds of things
2017-03-17 13:16:59 -04:00
Mike Blumenkrantz
e2f8d2ba69
implement pointer-constraints v1
...
xwayland nyi
2017-02-03 15:13:45 -05:00
Mike Blumenkrantz
186cf73294
implement relative-pointer v1
2017-02-03 15:13:45 -05:00
Mike Blumenkrantz
5aadf3b3ff
implement xdg-foreign v1
...
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-13 11:34:50 -05:00
Mike Blumenkrantz
f434891137
redo session recovery handling to use separate E_Remember
...
I tried to be too clever with the initial implementation of this and it was
a lot more complex and nonfunctional than expected
2016-10-27 11:22:27 -04:00
Mike Blumenkrantz
e365848406
apply non-session recovery remember to client when creating recovery remember
...
ensure that the attributes get applied before engaging SR mode
ref T4512
2016-10-20 12:14:16 -04:00
Derek Foreman
e4da5ba56a
Auto generate wayland protocol
...
Replaces any checked-in wayland protocol files with auto-generation.
In some cases this means renaming include files that didn't use "standard"
names, or adding missing xml files. Any source edits are simple search and
replace, there should be no functional changes.
2016-09-26 15:23:50 -05:00
Derek Foreman
6548fae9c6
Add versions to wayland extension setup macros
...
When we have a local extension with a version that isn't 1 this
will become necessary.
2016-07-29 16:45:38 -05:00
Derek Foreman
f30ad5a48b
Fix wayland extension global creation
...
The globals are singletons, but the bindings are per wl_client.
2016-07-29 16:45:30 -05:00
Mike Blumenkrantz
36c486906d
apply client size for session recovery remember
...
fixes maximize restoring
2016-06-20 16:04:11 -04:00
Mike Blumenkrantz
3c9013eeb0
protect against crash when deleting wl session recovery remember
2016-06-01 13:11:19 -04:00
Chris Michael
bd1847162e
remove unused variables in _dmabuf_add function
...
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-19 08:57:43 -04:00
Derek Foreman
2d1802375d
Add DMABuf support for wayland
...
This adds compositor handling of DMABuf buffers. DMAbuf capabilities
are advertised for the drm back-ends, and DMAbuf buffers are handled
as native surfaces.
2016-05-18 12:05:34 -05:00
Mike Blumenkrantz
ef1772b8cb
implement wl client session recovery
...
another small feature patch brought to you by insomnia
#SamsungFeatures
2016-05-05 15:47:55 -04:00
Mike Blumenkrantz
a3da199685
disable maximize anims for www-compatible wl surfaces
...
due to www modifying the csd region, animating resizes will trigger
unsolvable race conditions which break windows
2016-04-08 16:06:19 -04:00
Mike Blumenkrantz
c70054174e
implement www wayland extension handling for clients
...
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
2016-04-01 06:29:49 -04:00
Mike Blumenkrantz
e919734df7
extend wl extension macros to store globals into extension data
2016-03-21 17:24:24 -04:00
Derek Foreman
e9751f4d57
Free pixel data after taking a wayland screen shot
2016-03-11 11:19:29 -05:00
Mike Blumenkrantz
8f510bc228
add macros for creating and binding wayland globals in extensions file
...
wayland requires a ton of boilerplate code. anything that can be done to
reduce the amount of work (copy/pasting) required to handle extension adding
is a plus
2016-01-22 16:53:02 -05:00
Mike Blumenkrantz
542079d841
move all wayland extension implementations into e_comp_wl_extensions.c
...
e_comp_wl.c getting a bit hard to manage already, future extension additions
are going to make it a lot worse
2016-01-22 16:25:29 -05:00