Christopher Michael
8fd255c45c
e_comp_wl: Remove wayland wobbly windows stuffs
...
This never worked properly, is unsupported by upstream wayland, and
just general clutter so let's remove it. There are no plans to support
this and is just extra overhead...
2 years ago
Carsten Haitzler
b7cc2a065f
e wl - guarad against possible null comp_data
...
not reproducable so the best solution i can see is some guarads
against a NULL ec->comp_data.
4 years ago
Mike Blumenkrantz
99db9e2557
more E_BITFIELD conversions
5 years ago
Mike Blumenkrantz
d7a08ed74e
block relative motion event sending when pointer is outside input area
...
stop sending events to xwl clients at all times
5 years ago
Mike Blumenkrantz
5694d7af96
add action router action to route specific key presses to specified clients
5 years ago
Mike Blumenkrantz
541e33fc73
don't arbitrarily bind version=1 for wl extension resources
6 years ago
Mike Blumenkrantz
c1cf0249a0
make action routes usable in subcompositors
6 years ago
Mike Blumenkrantz
862b02adc8
extend key action routing for general action contexts
...
this allows authorized clients to activate validated actions
6 years ago
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>
6 years ago
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
6 years ago
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
6 years ago
Mike Blumenkrantz
c196ef110e
re-place transient wl clients when parent is first sized
...
this should ensure more reliable centering using a nonzero geometry
6 years ago
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
6 years ago
Mike Blumenkrantz
e23bf0cf68
do not use animations for wl clients with initial maximize state
...
this looks fugly and breaks all kinds of things
6 years ago
Mike Blumenkrantz
e2f8d2ba69
implement pointer-constraints v1
...
xwayland nyi
6 years ago
Mike Blumenkrantz
186cf73294
implement relative-pointer v1
6 years ago
Mike Blumenkrantz
5aadf3b3ff
implement xdg-foreign v1
...
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
6 years ago
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
6 years ago
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
6 years ago
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.
6 years ago
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.
7 years ago
Derek Foreman
f30ad5a48b
Fix wayland extension global creation
...
The globals are singletons, but the bindings are per wl_client.
7 years ago
Mike Blumenkrantz
36c486906d
apply client size for session recovery remember
...
fixes maximize restoring
7 years ago
Mike Blumenkrantz
3c9013eeb0
protect against crash when deleting wl session recovery remember
7 years ago
Chris Michael
bd1847162e
remove unused variables in _dmabuf_add function
...
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
7 years ago
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.
7 years ago
Mike Blumenkrantz
ef1772b8cb
implement wl client session recovery
...
another small feature patch brought to you by insomnia
#SamsungFeatures
7 years ago
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
7 years ago
Mike Blumenkrantz
c70054174e
implement www wayland extension handling for clients
...
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
7 years ago
Mike Blumenkrantz
e919734df7
extend wl extension macros to store globals into extension data
7 years ago
Derek Foreman
e9751f4d57
Free pixel data after taking a wayland screen shot
7 years ago
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
7 years ago
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
7 years ago