Commit graph

30 commits

Author SHA1 Message Date
Drew DeVault
7bc36596ea Update wlr-export-dmabuf
This contains several changes.

The XML format and naming conventions have been tweaked to meet
established Wayland conventions. I also updated the docs (they were
outdated in several places) and clarified more of the edge cases.

The surface_info event has been split into new_surface and new_output.
The former is now able to describe a hiearchy of surfaces and can be
used for subsurfaces, popups, etc. It is also used for hardware cursors.
The capturing client is now responsible for compositing these surfaces
if it desires, or omitting subsurfaces, popups, cursors, etc if it
prefers to. The new_output event is now tied to wl_output, and the
capture requests are combined into one.

The frame interface has been tweaked to support using a single frame
resource to receive several frames over the lifetime of your capture. It
seems like we were already moving in this direction, but some details
were lacking.

The frame interface has also been tweaked to more closely resemble
dmabuf import, but backwards. Despite how some people may feel about
the dmabuf import protocol, I think it's better to be consistent across
Wayland than to push that agenda. Regardless, most of the crappier
details of that protocol were left behind. The most important changes in
this respect were to change how planes were sent and described and to
unify the naming and language of the protocols.

Something I have left out is what to do about wl_subsurface. The
new_surface::parent argument should be limited to wl_surfaces like
xdg_popups. wl_subsurfaces behave differently enough that I want to
deal with them in a separate patch.

I also still have to write up the protocol error enums, but I'm lazy and
will do it after hearing some feedback on these changes.
2018-05-23 20:40:16 -04:00
Rostislav Pehlivanov
99a7742957 Add a DMABUF export protocol 2018-05-23 21:28:32 +01:00
Drew DeVault
c73ec02b29
Merge pull request #7 from emersion/surface-layers
[WIP] surface-layers redesign
2018-04-18 08:34:48 -04:00
Drew DeVault
2a6a44e8da
Merge pull request #9 from swaywm/input-inhibitor
Add wlr-input-inhibitor-unstable-v1
2018-04-18 08:34:43 -04:00
Drew DeVault
ed0768cd8b Allow wl_output to be null 2018-04-10 20:22:49 -04:00
Drew DeVault
926e897f9f Explain what happens to other clients 2018-04-03 22:10:30 -04:00
Drew DeVault
07ac9ba7bc Add wlr-input-inhibitor-unstable-v1 2018-04-03 10:16:11 -04:00
Drew DeVault
4f6f706dfa Update protocol per emersion's feedback 2018-03-26 22:01:24 -04:00
Drew DeVault
eb8deebdc9 Extend exclusive zone specification 2018-03-26 16:56:12 -04:00
Drew DeVault
ecc604fb07 Address review feedback 2018-03-18 13:50:46 -04:00
Drew DeVault
9fbdced4f2 Use uint for margin, add an error 2018-03-17 20:52:04 -04:00
Drew DeVault
30c6664ecc Rename wlr-layer-surfaces -> wlr-layer-shell 2018-03-17 14:57:14 -04:00
Drew DeVault
e98b28d87b Use in-house input_device enum
We'll likely need to extend this beyond wl_seat in the future.
2018-03-17 14:32:01 -04:00
Drew DeVault
514303af37 Remove passthrough 2018-03-17 13:21:06 -04:00
Drew DeVault
69f9344295 Add zwlr_layer_input_v1 interface 2018-03-13 23:06:27 -04:00
emersion
fdec836720 Overhaul surface layers 2018-03-12 20:51:13 -04:00
Drew DeVault
281577b521 Remove README.md 2018-03-12 18:42:22 -04:00
Drew DeVault
4ca136ce1f Add .build.yml, fixes #4 2017-10-11 08:44:06 -04:00
Drew DeVault
1f475c3f19 Merge pull request #3 from emersion/fix-desc-tags
Fix typo in description tags
2017-10-11 08:41:46 -04:00
emersion
b26e306d05 Enums come after requests, remove <arg> tag in enums 2017-10-11 09:20:16 +02:00
emersion
2aff7db8a4 Fix typo in description tags 2017-10-11 09:12:35 +02:00
Drew DeVault
4a8b28346b Clarify surface-layers, remove input-injection 2017-09-28 16:27:26 -04:00
Drew DeVault
8548b3a177 Update surface-layers wrt wayland-devel feedback 2017-01-24 19:39:44 -05:00
Drew DeVault
f17c524d54 Clarify the interaction of exclusivity and anchors 2016-12-30 14:16:36 -05:00
Drew DeVault
ae1f9fe9c7 Add margins 2016-12-30 14:14:51 -05:00
Drew DeVault
041e8ff125 Drop manual positioning 2016-12-30 14:07:19 -05:00
Drew DeVault
fd5ffb53a1 Add anchoring and tweak exclusivity 2016-12-30 14:04:06 -05:00
Drew DeVault
b1b97a9f4c Fix typo 2016-12-30 11:39:40 -05:00
Drew DeVault
8584ad04eb Update README.md 2016-12-29 23:58:14 -05:00
Drew DeVault
4e099fc887 Initial commit 2016-12-29 23:50:44 -05:00