aboutsummaryrefslogtreecommitdiff
path: root/stable
AgeCommit message (Collapse)Author
2020-01-22xdg-shell: add missing enum attribute to resizeIvan Molodetskikh
This helps binding generators such as the one in wayland-rs. Signed-off-by: Ivan Molodetskikh <yalterz@gmail.com>
2019-09-06presentation-time: add missing bitfield markerIvan Molodetskikh
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com> Reviewed-by: Simon Ser <contact@emersion.fr> Acked-by: Daniel Stone <daniels@collabora.com> Acked-by: Victor Berger <victor.berger@m4x.org>
2019-07-17xdg-shell: use case to change the app ID at runtimeJan-Marek Glogowski
LibreOffice is one big binary with explicit brandings for different application modules. This is represented in X11 by a different WM_CLASS setting for a window. The WM_CLASS is changed based on the loaded document at runtime. As a result LibreOffice already offers multiple desktop files with different icons, StartupWMClass entries and application names. This amendment of the set_app_id request just explicitly specifies the use case to change a surfaces' app ID at runtime, so a compositor implementor is made aware of it. Just as the WM_CLASS, a change of the app ID should result in an update of the propertes of a surface depending on the app ID, like the window icon specified in the desktop file or a re-grouping of the surfaces in a task manager. Signed-off-by: Jan-Marek Glogowski <glogow@fbihome.de> Reviewed-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Simon Ser <contact@emersion.fr>
2019-05-22xdg-shell/README: Update E-mail addressJonas Ådahl
As requested by Mike, update the E-mail address listed in the README. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2019-01-17xdg-shell: fix a typoSebastian Krzyszkowiak
Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2018-07-30xdg-shell: Make sure wording reflects expectationsMarkus Ongyerth
The wording in xdg-shell's `set_*` requests implies the compositor *will* honour the client's request. This would give clients the control over their actual state, while the general expectation is that clients kindly ask for state changes which the compositor may follow. This patch ensures the actual protocol text reflects these expectations. Reviewed-by: Simon Ser <contact@emersion.fr> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2018-07-30xdg-shell: move maximized state definition togetherMarkus Ongyerth
The xdg-shell documentation had part of the maximized state render implications in the `set_maximized` request documentation, not the actual state. This moves the relevant lines into the state description. Signed-off-by: Markus Ongyerth <wl@ongy.net> Reviewed-by: Mike Blumenkrantz <zmike@osg.samsung.com> Reviewed-by: Simon Ser <contact@emersion.fr> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2018-07-04xdg-shell: remove constraint on popup parentsDrew DeVault
It seems that this was partially done in a3cf97ff982638bf7ed23b4303eba280c521b54d; this patch just corrects an oversight. Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2018-05-03xdg-shell: add enums for tiled window state to toplevel configureMike Blumenkrantz
this adds implementation from a related discussion long ago in which it was decided that it would be useful for clients to know if/where their windows were tiled so that various behaviors and visuals could be modified to improve UX a window which is e.g., tiled on the right side of the screen would set the right|top|bottom tiled states in configure Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com> Reviewed-by: Jonas Ådahl <jadahl@gmail.com> [Jonas: Minor formatting fixes] Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Changes since v2: simplified docs Changes since v1: added since=2 to enum members
2018-01-19xdg-shell: remove harmless typoMike Blumenkrantz
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-11-22xdg-shell: Soften fullscreen geometry requirementsJonas Ådahl
Having a strict requirement on clients obeying the configured window geometry for fullscreen toplevel surfaces might have the side effect of making it harder or impossible to implement various hardware optimizations on certain system configurations. By softening requirements on the geometry while loosely defining the border fill, we remove that restriction. Clients that still want total control of the surrounding area can still for example prepare the attached buffers to match the configured surface size, or use subsurfaces in combination with wp_viewporter to make up a surface matching the fullscreen window geometry dimensions. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Arnaud Vrac <rawoul@gmail.com> Reviewed-by: Mike Blumenkrantz <zmike@samsung.com>
2017-11-21xdg-shell: Add unset_fullscreen descriptionJonas Ådahl
The description for xdg_toplevel.unset_fullscreen was completely missing, so add it. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Mike Blumenkrantz <zmike@samsung.com>
2017-11-21xdg-shell: Clarify set_fullscreen semanticsJonas Ådahl
It was not explicitly specified (as it is in set/unset_maximize) that the compositor will respond with a configure event when a client asks to be fullscreened, and the meaning of the output parameter was somewhat awkwardly described. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Mike Blumenkrantz <zmike@samsung.com>
2017-11-21xdg-shell: Specify what happens when (un)maximizing while fullscreenJonas Ådahl
Specify that the maximize/unmaximize state requests only affects the state a surface will return to if it is currently fullscreen. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Mike Blumenkrantz <zmike@samsung.com>
2017-11-21xdg-shell: Fix typoJonas Ådahl
There is no configure 'request' only configure 'events'. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Mike Blumenkrantz <zmike@samsung.com>
2017-11-21xdg-shell/positioner: Clarify flip semantics with anchor offsetJonas Ådahl
While there is no currently known usages of setting an anchor offset on the same axis as the 'flip' constraint action is set, it must still be specified so compositors behave the same. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2017-11-21xdg-shell/positioner: Replace edge bitfield with extended enumDavid Edmundson
Bitfields allowed for impossible combinations of anchor edges, such as being on the left and right edge. Use of explicit enumerations means we don't need to handle that case. Signed-off-by: David Edmundson <davidedmundson@kde.org> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2017-11-21xdg-shell: clarify map/unmap wordingMike Blumenkrantz
ensure that this is as precise and explicit as possible for all useful cases and also define previously-unspecified behavior Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2017-11-21xdg-shell/popup: Allow custom parent by passing null as parentJonas Ådahl
Allow using some other protocol (custom, or future xdg_* based) to set up the parent-child relationship of a popup. This allows future protocols to use xdg_popup when mapping popups over surfaces not based on xdg_surface. An example use case for this is the window menu, where a shells UI client can use xdg_popup to create popup menus over windows it does not have a xdg_surface of by having a custom protocol setting up the proper parent-child relationship. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-By: Mike Blumenkrantz <zmike@osg.samsung.com>
2017-11-21xdg-shell/toplevel: Chain multiple parent-child relationshipsJonas Ådahl
Change the semantics of xdg_toplevel.set_parent to allow chaining multiple parent-child relationships together, while allowing arbitrarily unmapping parents, while keeping what is left over of the chain intact. This makes things easier to manage when parent-child relationships cross client borders, for example when using xdg_foreign. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2017-11-21xdg-shell/toplevel: Clarify xdg_toplevel.set_parent(null)Jonas Ådahl
Setting a null-surface as a toplevel parent should unset the parent-child relationship. This was not specified, so lets do that. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2017-11-21xdg-shell/surface: Add note about window position and geometryJonas Ådahl
A client might want to change the window geometry without wanting the window to be moved, for example when changing the width of the border. Point out that the compositor should treat the (x,y) coordinate of the geometry as the top-left corner of the window, and not change the position of the window as it appears on the screen if the (x,y) coordinate changes. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-By: Mike Blumenkrantz <zmike@osg.samsung.com>
2017-11-21xdg-shell: Replace 'monitor' with 'output'Jonas Ådahl
There is no such thing as 'monitor' in Wayland, only outputs. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-By: Mike Blumenkrantz <zmike@osg.samsung.com>
2017-11-21xdg-shell/positioner: Allow empty anchor_rectJonas Ådahl
Allow setting an empty anchor rectangle, so that one can map a popup against a coordinate, not a pixel. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-By: Mike Blumenkrantz <zmike@osg.samsung.com>
2017-11-21xdg-shell: Reword the xdg_wm_base introductionJonas Ådahl
Don't refer to things as "traditional desktop" as it is not defined nor clear what that refers to; instead reword things in a more explicit way. A reason for this is that xdg-shell is not strictly meant only for traditional window stacking based desktop environments, but should be equally suitable for stacking, tiling and potentially other styles as well. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-By: Mike Blumenkrantz <zmike@osg.samsung.com>
2017-11-21xdg-shell: Update copyright noticesJonas Ådahl
Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Acked-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2017-11-21xdg-shell: Rename interfacesJonas Ådahl
Rename the interfaces according to the wayland-protocols policy. Since the name 'xdg_shell' as an interface was already taken (by xdg-shell-unstable-v5) zxdg_shell_v6 was renamed xdg_wm_base. The surface role related interfaces were not renamed, as naming collision is only unmanagable when exposed as globals via the registry. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-By: Mike Blumenkrantz <zmike@osg.samsung.com>
2017-11-21Add xdg-shell to stable/Jonas Ådahl
Add a copy of xdg-shell unstable v6 to stable/xdg-shell/xdg-shell.xml. Folliwing this commit, it will go through a set of changes, before being declared stable. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: David Edmundson <davidedmundson@kde.org>
2016-11-21(multiple): Remove inconsistent line breaksYong Bakos
Enum entries and message arguments are sometimes preceded by a blank line, but often aren't. Standardize the format of the protocol specification by removing blank lines preceding a list of message arguments and enum entries. Signed-off-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
2016-05-06stable/viewporter: add more error casesPekka Paalanen
Rather than silenty doing things, make them explicit and error if anything is not quite right. Suggested by Daniel Stone. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Daniel Stone <daniels@collabora.com> [Pekka: updated copyright years] Reviewed-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Acked-by: Bryce Harrington <bryce@osg.samsung.com>
2016-05-06stable/viewporter: rephrase a wp_viewport paragraphPekka Paalanen
Cc: Yong Bakos <ybakos@humanoriented.com> Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Daniel Stone <daniels@collabora.com> [Pekka: s/culled/ignored/] Reviewed-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Acked-by: Bryce Harrington <bryce@osg.samsung.com>
2016-05-06stable/viewporter: rename and buildPekka Paalanen
Rename interfaces and the protocol to follow the policy. Reset interface versions. Replace "surface coordinates" with "surface local coordinates". Hook up to build and install. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Acked-by: Bryce Harrington <bryce@osg.samsung.com>
2016-05-06stable/viewporter: remove wp_viewport.set requestPekka Paalanen
Remove the old, redundant request. The new way is to call both wp_viewport.set_source and wp_viewport.set_destination when you want to set everything. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Acked-by: Bryce Harrington <bryce@osg.samsung.com>
2016-05-06stable: add viewporter draftPekka Paalanen
This XML file has been copied verbatim from Weston 1.10.0 release, protocol/scaler.xml. The interfaces still need renaming according to wayland-protocols policy. Also a redundant request needs to be removed. These will be done in a follow-up patch to clearly show the changes. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Acked-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-14stable/presentation-time: rephrase request introPekka Paalanen
Attempting to clarify the paragraph. The key points are that feedback is double-buffered, part of a commit as all double-buffered state is, and it defines the term "content update" used later. The new phrasing defines not only a content update, but also content submission which is used further on in the spec. It implies the double-buffered state semantics without actually using the term (it's not really state to be applied), and makes a link with the very next paragraph describing the prensentation time. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-14stable/presentation-time: reorganize clock_id documentationPekka Paalanen
Move compositor implementors' guidelines to the end. Recombine the affected paragraphs. No changes to the wording are made. Suggested-by: Bryce Harrington <bryce@osg.samsung.com> Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-14stable/presentation-time: grammatical improvements by BrycePekka Paalanen
Suggested-by: Bryce Harrington <bryce@osg.samsung.com> Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-14stable/presentation-time: swap two paragraphs in 'presented'Pekka Paalanen
Associates better with the surrounding paragraphs by not jumping topics back and forth. Suggested-by: Bill Spitzak <spitzak@gmail.com> Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13presentation-time: Correct minor grammar errorsYong Bakos
Signed-off-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-03-01presentation-time: finish stabilizationPekka Paalanen
Rename interfaces and the protocol to follow the policy. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2016-03-01stable: add presentation-time draftPekka Paalanen
This XML file has been copied verbatim from Weston 1.10.0 release, protocol/presentation_timing.xml. The last behavioral change to that file was in December 2014, so the behaviour is considered stable. Interfaces still need to be renamed according wayland-protocols policy. That will be done in a follow-up patch to clearly show the changes. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>