aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-ipc.7.scd
diff options
context:
space:
mode:
Diffstat (limited to 'sway/sway-ipc.7.scd')
-rw-r--r--sway/sway-ipc.7.scd47
1 files changed, 40 insertions, 7 deletions
diff --git a/sway/sway-ipc.7.scd b/sway/sway-ipc.7.scd
index 1b855959..f4a5ccff 100644
--- a/sway/sway-ipc.7.scd
+++ b/sway/sway-ipc.7.scd
@@ -213,7 +213,10 @@ following properties:
213: Whether this output is active/enabled 213: Whether this output is active/enabled
214|- dpms 214|- dpms
215: boolean 215: boolean
216: Whether this output is on/off (via DPMS) 216: (Deprecated, use _power_ instead) Whether this output is on/off (via DPMS)
217|- power
218: boolean
219: Whether this output is on/off
217|- primary 220|- primary
218: boolean 221: boolean
219: For i3 compatibility, this will be false. It does not make sense in Wayland 222: For i3 compatibility, this will be false. It does not make sense in Wayland
@@ -294,7 +297,7 @@ following properties:
294Retrieve a JSON representation of the tree 297Retrieve a JSON representation of the tree
295 298
296*REPLY*++ 299*REPLY*++
297An array of object the represent the current tree. Each object represents one 300An array of objects that represent the current tree. Each object represents one
298node and will have the following properties: 301node and will have the following properties:
299 302
300[- *PROPERTY* 303[- *PROPERTY*
@@ -334,8 +337,9 @@ node and will have the following properties:
334 this, but borders are included. 337 this, but borders are included.
335|- window_rect 338|- window_rect
336: object 339: object
337: The geometry of the contents inside the node. The window decorations are 340: The geometry of the content inside the node. These coordinates are relative
338 excluded from this calculation, but borders are included. 341 to the node itself. Window decorations and borders are outside the
342 _window_rect_
339|- deco_rect 343|- deco_rect
340: object 344: object
341: The geometry of the decorations for the node relative to the parent node 345: The geometry of the decorations for the node relative to the parent node
@@ -370,7 +374,7 @@ node and will have the following properties:
370 that can be used as an aid in submitting reproduction steps for bug reports 374 that can be used as an aid in submitting reproduction steps for bug reports
371|- fullscreen_mode 375|- fullscreen_mode
372: integer 376: integer
373: (Only containers and views) The fullscreen mode of the node. 0 means none, 1 means 377: (Only containers and views) The fullscreen mode of the node. 0 means none, 1 means
374 full workspace, and 2 means global fullscreen 378 full workspace, and 2 means global fullscreen
375|- app_id 379|- app_id
376: string 380: string
@@ -1131,6 +1135,9 @@ following properties:
1131|- xkb_active_layout_index 1135|- xkb_active_layout_index
1132: integer 1136: integer
1133: (Only keyboards) The index of the active keyboard layout in use 1137: (Only keyboards) The index of the active keyboard layout in use
1138|- scroll_factor
1139: floating
1140: (Only pointers) Multiplier applied on scroll event values.
1134|- libinput 1141|- libinput
1135: object 1142: object
1136: (Only libinput devices) An object describing the current device settings. 1143: (Only libinput devices) An object describing the current device settings.
@@ -1188,9 +1195,16 @@ following properties will be included for devices that support them:
1188: int 1195: int
1189: The scroll button to use when _scroll_method_ is _on_button_down_. This 1196: The scroll button to use when _scroll_method_ is _on_button_down_. This
1190 will be given as an input event code 1197 will be given as an input event code
1198|- scroll_button_lock
1199: string
1200: Whether scroll button lock is enabled. It can be _enabled_ or _disabled_
1191|- dwt 1201|- dwt
1192: string 1202: string
1193: Whether disable-while-typing is enabled. It can be _enabled_ or _disabled_ 1203: Whether disable-while-typing is enabled. It can be _enabled_ or _disabled_
1204|- dwtp
1205: string
1206: Whether disable-while-trackpointing is enabled. It can be _enabled_ or
1207 _disabled_
1194|- calibration_matrix 1208|- calibration_matrix
1195: array 1209: array
1196: An array of 6 floats representing the calibration matrix for absolute 1210: An array of 6 floats representing the calibration matrix for absolute
@@ -1230,7 +1244,8 @@ following properties will be included for devices that support them:
1230 "click_method": "button_areas", 1244 "click_method": "button_areas",
1231 "middle_emulation": "disabled", 1245 "middle_emulation": "disabled",
1232 "scroll_method": "edge", 1246 "scroll_method": "edge",
1233 "dwt": "enabled" 1247 "dwt": "enabled",
1248 "dwtp": "enabled"
1234 } 1249 }
1235 }, 1250 },
1236 { 1251 {
@@ -1357,7 +1372,8 @@ one seat. Each object has the following properties:
1357 "click_method": "button_areas", 1372 "click_method": "button_areas",
1358 "middle_emulation": "disabled", 1373 "middle_emulation": "disabled",
1359 "scroll_method": "edge", 1374 "scroll_method": "edge",
1360 "dwt": "enabled" 1375 "dwt": "enabled",
1376 "dwtp": "enabled"
1361 } 1377 }
1362 }, 1378 },
1363 { 1379 {
@@ -1433,6 +1449,9 @@ available:
1433: workspace 1449: workspace
1434:[ Sent whenever an event involving a workspace occurs such as initialization 1450:[ Sent whenever an event involving a workspace occurs such as initialization
1435 of a new workspace or a different workspace gains focus 1451 of a new workspace or a different workspace gains focus
1452|- 0x80000001
1453: output
1454: Sent when outputs are updated
1436|- 0x80000002 1455|- 0x80000002
1437: mode 1456: mode
1438: Sent whenever the binding mode changes 1457: Sent whenever the binding mode changes
@@ -1553,6 +1572,20 @@ The following change types are currently available:
1553} 1572}
1554``` 1573```
1555 1574
1575## 0x80000001. OUTPUT
1576
1577Sent whenever an output is added, removed, or its configuration is changed.
1578The event is a single object with the property _change_, which is a string
1579containing the reason for the change. Currently, the only value for _change_ is
1580_unspecified_.
1581
1582*Example Event:*
1583```
1584{
1585 "change": "unspecified"
1586}
1587```
1588
1556## 0x80000002. MODE 1589## 0x80000002. MODE
1557 1590
1558Sent whenever the binding mode changes. The event consists of a single object 1591Sent whenever the binding mode changes. The event consists of a single object