aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
AgeCommit message (Collapse)Author
2017-12-03basic get_treeTony Crisci
2017-11-22Wire up IPC serverDrew DeVault
2017-11-18Move everything to sway/old/Drew DeVault
2017-11-11Establish sway input submoduleDrew DeVault
2017-11-11Fire up the wlroots backend and run the event loopDrew DeVault
2017-10-14Fix build on FreeBSD adjusting/removing _XOPEN_SOURCE declaration.Johannes Lundberg
2017-10-08Merge pull request #1263 from nyorain/masterDrew DeVault
Implement get_clipboard ipc message
2017-10-08ipc/window-event: fill "container" on close eventslbonn
Also use the recursive description to include children as well Careful: send the event before deleting the parent
2017-08-14Raise max ipc message size limit to 256 MBHummer12007
2017-08-08Implement nonblocking IO in IPC serverIlya Lukyanov
Added client write buffer and handler for writable status on client socket.
2017-07-11Add get_clipbard ipc errors; Adapt swaymsgnyorain
Also increase the get_clipboard timeout to 30 secs
2017-07-11Close fd in clipboard requestnyorain
2017-07-11Add timeout; Fix receive loop & style issuesnyorain
2017-07-07Signal base64 in clipboard type; Reimplement loopnyorain
2017-07-07Handle x11 text atoms in get_clipboard ipcnyorain
2017-07-07Rework get_clipboard implementationnyorain
2017-07-07Fix/Simplify get_clipboard ipc-server implnyorain
2017-07-07Implement ipc get_clipboardnyorain
2017-04-16Disambiguate get_*_policy() and get_*_policy_mask()Jerzi Kaminsky
2017-04-10Merge branch 'master' into pretty-print-swaymsgDrew DeVault
2017-04-07Add `-t get_marks` and use more i3-like marksCalvin Lee
In i3 every mark is unique and one mark cannot be used in more than one window, sway behavior has been amended to match this. `swaymsg -t get_marks` will now return an array of all marks used in sway. See #98
2017-04-08Removed explicitly setting file descriptors to -1Scott Anderson
2017-04-07Fix dangling file descriptors (fixes #1152)Drew DeVault
2017-04-03Add pretty printing to swaymsgDrew DeVault
If stdout is a tty, it will pretty print unless -r (--raw) is given. Sample outputs: ``` ~/s/s/build > ./bin/swaymsg fullscreen toggle Error: Permission denied for fullscreen toggle via IPC ~/s/s/build > ./bin/swaymsg -t get_workspaces Workspace 3:三 Output: DVI-I-1 Layout: splith Workspace 1:一 (off-screen) Output: HDMI-A-1 Layout: splith Workspace 5:五 (focused) Output: HDMI-A-1 Layout: splith ~/s/s/build > ./bin/swaymsg -t get_inputs Input device Metadot - Das Keyboard Das Keyboard Type: Keyboard Sway ID: 9456:320:Metadot_-_Das_Keyboard_Das_Keyb Input device Wacom Intuos S 2 Pen Type: Tablet tool Sway ID: 1386:827:Wacom_Intuos_S_2 Input device Wacom Intuos S 2 Pad Type: Tablet pad Sway ID: 1386:827:Wacom_Intuos_S_2 Input device Logitech Gaming Mouse G502 Type: Keyboard, Mouse Sway ID: 1133:49277:Logitech_Gaming_Mous ~/s/s/build > ./bin/swaymsg -t get_outputs Output DVI-I-1 Geometry: 1920x1080 @ 3840,0 Scale factor: 1x Workspace: 3:三 Output DVI-D-1 Geometry: 1920x1080 @ 0,0 Scale factor: 1x Workspace: 4:四 Output HDMI-A-1 Geometry: 1920x1080 @ 1920,0 Scale factor: 1x Workspace: 5:五 ```
2017-03-10UnGNUify the codebaseDrew DeVault
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