mirror of
https://github.com/swaywm/sway.git
synced 2026-04-17 06:46:32 -04:00
Compare commits
13 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e51f9d7183 | ||
|
|
81246fc6dc | ||
|
|
1606311553 | ||
|
|
909a2ddb5f | ||
|
|
ec7e0186e0 | ||
|
|
f50f78c0d9 | ||
|
|
7ba11d6dee | ||
|
|
131045ce55 | ||
|
|
dea166a27c | ||
|
|
e4870d84a2 | ||
|
|
8378c560c1 | ||
|
|
82227d6103 | ||
|
|
85a4b19ac4 |
5 changed files with 26 additions and 26 deletions
|
|
@ -25,7 +25,7 @@ packages:
|
|||
- hwdata-dev
|
||||
sources:
|
||||
- https://github.com/swaywm/sway
|
||||
- https://gitlab.freedesktop.org/wlroots/wlroots.git#0.20
|
||||
- https://gitlab.freedesktop.org/wlroots/wlroots.git
|
||||
tasks:
|
||||
- wlroots: |
|
||||
cd wlroots
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ packages:
|
|||
- hwdata
|
||||
sources:
|
||||
- https://github.com/swaywm/sway
|
||||
- https://gitlab.freedesktop.org/wlroots/wlroots.git#0.20
|
||||
- https://gitlab.freedesktop.org/wlroots/wlroots.git
|
||||
tasks:
|
||||
- wlroots: |
|
||||
cd wlroots
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ packages:
|
|||
- misc/hwdata
|
||||
sources:
|
||||
- https://github.com/swaywm/sway
|
||||
- https://gitlab.freedesktop.org/wlroots/wlroots.git#0.20
|
||||
- https://gitlab.freedesktop.org/wlroots/wlroots.git
|
||||
tasks:
|
||||
- setup: |
|
||||
cd sway
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
project(
|
||||
'sway',
|
||||
'c',
|
||||
version: '1.12-rc2',
|
||||
version: '1.13-dev',
|
||||
license: 'MIT',
|
||||
meson_version: '>=1.3',
|
||||
default_options: [
|
||||
|
|
@ -39,14 +39,14 @@ if is_freebsd
|
|||
endif
|
||||
|
||||
# Execute the wlroots subproject, if any
|
||||
wlroots_version = ['>=0.20.0', '<0.21.0']
|
||||
wlroots_version = ['>=0.21.0', '<0.22.0']
|
||||
subproject(
|
||||
'wlroots',
|
||||
default_options: ['examples=false'],
|
||||
required: false,
|
||||
version: wlroots_version,
|
||||
)
|
||||
wlroots = dependency('wlroots-0.20', version: wlroots_version, fallback: 'wlroots')
|
||||
wlroots = dependency('wlroots-0.21', version: wlroots_version, fallback: 'wlroots')
|
||||
wlroots_features = {
|
||||
'xwayland': false,
|
||||
'libinput_backend': false,
|
||||
|
|
|
|||
|
|
@ -802,7 +802,7 @@ node and will have the following properties:
|
|||
Retrieve the currently set marks
|
||||
|
||||
*REPLY*++
|
||||
An array of marks current set. Since each mark can only be set for one
|
||||
An array of marks currently set. Since each mark can only be set for one
|
||||
container, this is a set so each value is unique and the order is undefined.
|
||||
|
||||
*Example Reply:*
|
||||
|
|
@ -833,13 +833,13 @@ An array of bar IDs, which are strings
|
|||
|
||||
*MESSAGE*++
|
||||
When sent with a bar ID as the payload, this retrieves the config associated
|
||||
with the specified by the bar ID in the payload. This is used by swaybar, but
|
||||
could also be used for third party bars
|
||||
with the bar ID specified in the payload. This is used by swaybar, but could
|
||||
also be used for third-party bars
|
||||
|
||||
*REPLY*++
|
||||
An object that represents the configuration for the bar with the bar ID sent as
|
||||
the payload. The following properties exists and more information about what
|
||||
their value mean can be found in *sway-bar*(5):
|
||||
the payload. The following properties exist, with more information about their
|
||||
values in *sway-bar*(5):
|
||||
|
||||
[- *PROPERTY*
|
||||
:- *DATA TYPE*
|
||||
|
|
@ -1040,7 +1040,7 @@ An object containing the following properties:
|
|||
## 8. GET_BINDING_MODES
|
||||
|
||||
*MESSAGE*++
|
||||
Retrieve the list of binding modes that currently configured
|
||||
Retrieve the list of binding modes that are currently configured
|
||||
|
||||
*REPLY*++
|
||||
An array of strings, with each string being the name of a binding mode. This
|
||||
|
|
@ -1154,13 +1154,13 @@ following properties:
|
|||
_tablet\_tool_, _tablet\_pad_, or _switch_
|
||||
|- xkb_active_layout_name
|
||||
: string
|
||||
: (Only keyboards) The name of the active keyboard layout in use
|
||||
: (Only keyboards) The name of the active keyboard layout
|
||||
|- xkb_layout_names
|
||||
: array
|
||||
: (Only keyboards) A list a layout names configured for the keyboard
|
||||
|- xkb_active_layout_index
|
||||
: integer
|
||||
: (Only keyboards) The index of the active keyboard layout in use
|
||||
: (Only keyboards) The index of the active keyboard layout
|
||||
|- scroll_factor
|
||||
: floating
|
||||
: (Only pointers) Multiplier applied on scroll event values.
|
||||
|
|
@ -1467,7 +1467,7 @@ one seat. Each object has the following properties:
|
|||
|
||||
# EVENTS
|
||||
|
||||
Events are a way for client to get notified of changes to sway. A client can
|
||||
Events are a way for clients to get notified of changes to sway. A client can
|
||||
subscribe to any events it wants to be notified of changes for. The event is
|
||||
sent in the same format as a reply. The following events are currently
|
||||
available:
|
||||
|
|
@ -1478,7 +1478,7 @@ available:
|
|||
|- 0x80000000
|
||||
: workspace
|
||||
:[ Sent whenever an event involving a workspace occurs such as initialization
|
||||
of a new workspace or a different workspace gains focus
|
||||
of a new workspace or another workspace gaining focus
|
||||
|- 0x80000001
|
||||
: output
|
||||
: Sent when outputs are updated
|
||||
|
|
@ -1487,7 +1487,7 @@ available:
|
|||
: Sent whenever the binding mode changes
|
||||
|- 0x80000003
|
||||
: window
|
||||
: Sent whenever an event involving a window occurs such as being reparented,
|
||||
: Sent whenever an event involving a window occurs such as it being reparented,
|
||||
focused, or closed
|
||||
|- 0x80000004
|
||||
: barconfig_update
|
||||
|
|
@ -1503,7 +1503,7 @@ available:
|
|||
: Sent when an ipc client sends a _SEND\_TICK_ message
|
||||
|- 0x80000014
|
||||
: bar_state_update
|
||||
: Send when the visibility of a bar should change due to a modifier
|
||||
: Sent when the visibility of a bar should change due to a modifier
|
||||
|- 0x80000015
|
||||
: input
|
||||
: Sent when something related to input devices changes
|
||||
|
|
@ -1522,10 +1522,10 @@ single object with the following properties:
|
|||
:[ The type of change that occurred. See below for more information
|
||||
|- current
|
||||
: object
|
||||
: An object representing the workspace effected or _null_ for _reload_ changes
|
||||
: An object representing the affected workspace or _null_ for _reload_ changes
|
||||
|- old
|
||||
: object
|
||||
: For a _focus_ change, this is will be an object representing the workspace
|
||||
: For a _focus_ change, this will be an object representing the workspace
|
||||
being switched from. Otherwise, it is _null_
|
||||
|
||||
|
||||
|
|
@ -1543,7 +1543,7 @@ The following change types are currently available:
|
|||
|- rename
|
||||
: The workspace was renamed
|
||||
|- urgent
|
||||
: A window on the workspace has had their urgency hint set or all urgency hints
|
||||
: A window on the workspace has had its urgency hint set or all urgency hints
|
||||
for windows on the workspace have been cleared
|
||||
|- reload
|
||||
: The configuration file has been reloaded
|
||||
|
|
@ -1653,7 +1653,7 @@ object with the following properties:
|
|||
:[ The type of change that occurred. See below for more information
|
||||
|- container
|
||||
: object
|
||||
: An object representing the window effected
|
||||
: An object representing the affected window
|
||||
|
||||
|
||||
The following change types are currently available:
|
||||
|
|
@ -1816,7 +1816,7 @@ event is a single object with the following properties:
|
|||
: Whether this event was triggered by subscribing to the tick events
|
||||
|- payload
|
||||
: string
|
||||
: The payload given with a _SEND\_TICK_ message, if any. Otherwise, an empty
|
||||
: The payload provided in a _SEND\_TICK_ message, if any. Otherwise, an empty
|
||||
string
|
||||
|
||||
|
||||
|
|
@ -1838,7 +1838,7 @@ event is a single object with the following properties:
|
|||
:- *DESCRIPTION*
|
||||
|- id
|
||||
: string
|
||||
:[ The bar ID effected
|
||||
:[ The bar ID affected
|
||||
|- visible_by_modifier
|
||||
: boolean
|
||||
: Whether the bar should be made visible due to a modifier being pressed
|
||||
|
|
@ -1854,7 +1854,7 @@ event is a single object with the following properties:
|
|||
|
||||
## 0x80000015. INPUT
|
||||
|
||||
Sent when something related to the input devices changes. The event is a single
|
||||
Sent when something related to input devices changes. The event is a single
|
||||
object with the following properties:
|
||||
|
||||
[- *PROPERTY*
|
||||
|
|
@ -1865,7 +1865,7 @@ object with the following properties:
|
|||
:[ What has changed
|
||||
|- input
|
||||
: object
|
||||
: An object representing the input that is identical the ones GET_INPUTS gives
|
||||
: An object representing the input that is identical to the ones GET_INPUTS gives
|
||||
|
||||
The following change types are currently available:
|
||||
[- *TYPE*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue