Brian Ashworth
6effca7b61
ipc: add an input event
...
This adds an ipc event related to input devices. Currently the
following changes are supported:
- added: when an input device becomes available
- removed: when an input device is no longer available
- xkb_keymap_changed: (keyboards only) the keymap changed
- xkb_layout_changed: (keyboards only) the effective layout changed
2019-07-23 20:45:46 +03:00
Brian Ashworth
ae8937b11a
Add failure reply on IPC_SYNC
...
Since it was decided that sway will not support IPC_SYNC, just return
`{'success': false}` as a reply
2018-12-29 17:07:26 +01:00
Ian Fan
2f1fd80726
swaybar: show hidden bar on key event
...
Since wayland does not currently allow swaybar to create global
keybinds, this is handled within sway and sent to the bar using a custom
event, so as not to pollute existing events, called bar_state_update.
2018-10-14 13:33:12 +01:00
Ian Fan
46cfa8ff56
ipc: remove extraneous values
...
Removes IPC_EVENT_MODIFIER and IPC_EVENT_INPUT, which were sway-specific and unused
2018-08-01 16:57:15 +01:00
Ian Fan
3edaf2ce2a
ipc: add tick event
2018-08-01 16:57:15 +01:00
Ian Fan
e8b179e313
ipc: add shutdown event
2018-08-01 16:57:14 +01:00
emersion
ba3511b243
Remove clipboard
command and get_clipboard
message
2018-07-10 22:09:21 +01:00
Ian Fan
23c1c26c3f
Add get_config message type to ipc
2018-07-10 12:37:37 +01:00
Ian Fan
5fd36164a0
Add get_binding_modes message type to ipc
2018-07-10 12:03:46 +01:00
Ryan Dwyer
28eb97299e
Fix conflicting IPC command type constants with i3's
2018-05-12 18:22:21 +10:00
Ryan Dwyer
c72940837c
Implement IPC get_seats command
2018-05-12 18:17:36 +10:00
Drew DeVault
289ba64bde
Remove IPC_GET_PIXELS
2017-11-22 21:47:22 -05:00
nyorain
02c75ebe37
Implement ipc get_clipboard
2017-07-07 15:38:45 +02:00
Drew DeVault
e9e1a6a409
Add IPC policy to config
...
Also reduces enum abuse, cc @minus7
2016-12-02 16:08:45 -05:00
Mykyta Holubakha
0b5391ed77
Properly construct event bitmasks
2016-07-20 00:47:57 +03:00
Eric Engestrom
3e8081514d
Fix spelling mistakes
2016-04-02 16:00:05 +01:00
Mikkel Oscar Lyderik
b107fc6e5a
Fix ipc event bit masks
2016-02-21 22:49:20 +01:00
Cole Mickens
28081b7689
libinput
2016-01-19 06:51:36 -08:00
Mikkel Oscar Lyderik
c20c63b677
Send IPC modifier event on bar_modifier up/down
...
Detects when a bar modifier key is pressed/released and sends a modifier
IPC event to any listeners (usually swaybars).
This way a swaybar can listen on the modifier event and hide/show the
bar accordingly (not implemented yet)
The modifier event looks like this:
{
"change": "pressed", // or released
"modifier": "Mod4"
}
2016-01-05 02:25:56 +01:00
Mikkel Oscar Lyderik
19833fbc8b
Add IPC event types
...
Adds custom IPC_EVENT_* types
2016-01-03 20:37:10 +01:00
Drew DeVault
27f03c705d
Move IPC client into common, refactor IPC
2015-11-27 09:50:04 -05:00
Drew DeVault
ef8335d694
Start working on IPC for get_pixels
...
This is broken
2015-11-12 12:37:23 -05:00
minus
9925554ea4
implemented IPC subscribe for workspace event
2015-10-27 21:59:17 +01:00
S. Christoffer Eliesen
3be11a08e6
main: Implement --get-socketpath switch.
2015-10-18 19:53:56 +02:00
Luminarys
bc3babf566
Added in basic resize command
2015-08-20 11:30:32 -05:00
minus
f26ed32e46
added sway_terminate to exit cleanly
2015-08-20 15:27:56 +02:00
minus
91c0877264
properly exit sway
...
- wlc_terminate() instead of exit(0)
- unlink IPC socket
2015-08-20 15:24:33 +02:00
minus
5d99215469
added i3-ipc support/parsing
2015-08-20 15:24:33 +02:00
minus
8981b48cd2
very basic IPC implementation
...
simply executes the received data as command
2015-08-20 15:24:33 +02:00