aboutsummaryrefslogtreecommitdiff
path: root/include/ipc-server.h
AgeCommit message (Collapse)Author
2016-07-21Initial work on window eventsMykyta Holubakha
2016-02-08Replace deprecated function wlc_output_get_pixels.Mikkel Oscar Lyderik
This makes IPC GET_PIXELS use the new `wlc_pixels_read` call instead of the deprecated `wlc_output_get_pixels`. The old version worked by passing a callback function to wlc which would grab the pixels and send them to the IPC client. The new version works by maintaining a list of clients who have requested the pixels of some output and then grap and send the pixels in the output_post_render hook of the `wlc_interface`.
2016-01-08Implement IPC binding event (keyboard)Mikkel Oscar Lyderik
This implements the IPC binding event for keyboard bindings. It is slightly different from the i3 implementation [1] since sway supports more than one non-modifier key in a binding. Thus the json interface has been changed from: { ... "symbol": "t", ... } to: { ... "symbols": [ "t" ], ... } [1] http://i3wm.org/docs/ipc.html#_binding_event
2016-01-05Send IPC modifier event on bar_modifier up/downMikkel Oscar Lyderik
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-03swaybar: Implement binding_mode_indicatorMikkel Oscar Lyderik
2015-12-21Trigger ipc_event_workspace in all casesMikkel Oscar Lyderik
This makes sure that the workspace IPC event is triggered when needed. Fixes #382 while making sure that the IPC event is only triggered once.
2015-12-21Implement `barconfig_update` IPC eventMikkel Oscar Lyderik
2015-11-28Rearrange logging headersDrew DeVault
Ref #270
2015-11-27Move IPC client into common, refactor IPCDrew DeVault