aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
AgeCommit message (Collapse)Author
2017-02-20Read configs from /etc/sway/security.d/*Drew DeVault
2017-02-20Enforce new IPC policiesDrew DeVault
2017-02-20Add initial support code for new IPC securityDrew DeVault
2016-12-15Fix build errorDrew DeVault
2016-12-15Handle IPC server allocation failuresDrew DeVault
2016-12-15Handle some more memory allocation failuresDrew DeVault
2016-12-09Fix build on FreeBSDGreg V
- Make sure CMake always finds absolute paths for Cairo, Pango and GdkPixbuf - Add forgotten json-c include path to swaymsg/CMakeLists.txt - Disable -Werror because of assert warnings - Add correct /proc/pid/file path for FreeBSD - Use libepoll-shim on FreeBSD - Only use Linux capabilities on, well, Linux
2016-12-06Use return value of writeDrew DeVault
2016-12-02Add ipc connection feature policy controlsDrew DeVault
2016-12-02Enforce IPC security policyDrew DeVault
2016-12-02Add IPC policy to configDrew DeVault
Also reduces enum abuse, cc @minus7
2016-12-02Drop -Denable-binding-eventDrew DeVault
2016-12-02Enforce command policiesDrew DeVault
2016-09-18implement "focused container" feature for swaygrabZandr Martin
2016-09-17fix get_workspaces json replyZandr Martin
2016-09-01Reorganize includesDrew DeVault
2016-08-04ipc: log sending of eventsTony Crisci
Log the sending of the events in the debug log. This makes ipc server events easier to verify.
2016-08-04ipc: recursive workspace containers in eventTony Crisci
Recursively describe workspace containers in the workspace event. This is for compatability with i3 and i3ipc libraries.
2016-07-28Initialize client's subscribed eventsMykyta Holubakha
2016-07-21Unite describe_view and describe_windowMykyta Holubakha
2016-07-21Fix dispatching and assigning eventsMykyta Holubakha
2016-07-21More progress on window eventsMykyta Holubakha
2016-07-21Initial work on window eventsMykyta Holubakha
2016-07-04implement `get_tree` commandZandr Martin
2016-05-31fix swaybar problem in 08bef67Zandr Martin
2016-05-31sway: refactor ipc_client_handle_command()Eric Engestrom
This fixes a few mem leaks, as well as remove a false-positive error msg in IPC_GET_BAR_CONFIG
2016-05-31sway: fix IPC resource leakEric Engestrom
2016-05-02sway: always terminate ipc pathEric Engestrom
2016-04-24Renamed to pango_markupMykyta Holubakha
2016-04-24Added plaintext_markup to swaybar IPCMykyta Holubakha
2016-04-17Use correct format string for x86_64 and i686Mikkel Oscar Lyderik
Fix #587
2016-02-27Add outputs to bar_config ipc responseMikkel Oscar Lyderik
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-27font: Allow adding font to the config. In prep for border titlescrondog
v2: Give default font and make bar use it if no bar font
2016-01-19libinputCole Mickens
2016-01-09Add backwards compatability for binding eventMikkel Oscar Lyderik
2016-01-09Add bindcode to binding events.Mikkel Oscar Lyderik
2016-01-08Make IPC binding event support a compile time opt.Mikkel Oscar Lyderik
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-05Add modifier key to bar_config jsonMikkel Oscar Lyderik
2016-01-05Move modifier name table to common/util.cMikkel Oscar Lyderik
Lookup of modifier names is required in several places, thus it makes sense to move it to a general place.
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
2016-01-03Add IPC event typesMikkel Oscar Lyderik
Adds custom IPC_EVENT_* types
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-21Merge pull request #390 from mikkeloscar/workspace-ipc-eventDrew DeVault
Don't skip all clients on ipc_workspace_event.
2015-12-21Don't skip all clients on ipc_workspace_event.Mikkel Oscar Lyderik
Only clients not subcriped to the workspace event should be skipped.
2015-12-21Implement `barconfig_update` IPC eventMikkel Oscar Lyderik
2015-12-16Implement bar option: separator_symbolMikkel Oscar Lyderik
2015-12-15[swaybar] Get bar config via IPCDrew DeVault