aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
AgeCommit message (Collapse)Author
2018-03-30Merge remote-tracking branch 'origin/wlroots' into swaybar-layersDrew DeVault
2018-03-29Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"Tony Crisci
This reverts commit 472e81f35d689d67cda241acafda91c688d61046, reversing changes made to 6b7841b11ff4cd35f54d69dc92029855893e5ce0.
2018-03-29Revert "Refactor tree"Drew DeVault
2018-03-29Move declaration into loopDrew DeVault
2018-03-29Exit ipc_get_workspace_callback earlyDrew DeVault
2018-03-29Implement modesDrew DeVault
2018-03-29Do some small cleanupDrew DeVault
- Fix workspace events (security config isn't in use so it wasn't being sent) - Kill status bar process when swaybar exits - Don't rearrange windows on every layer surface commit
2018-03-29Add bar configuration commandsDrew DeVault
2018-03-29Implement enough IPC for swaybar to workDrew DeVault
2018-03-29rename container functionsTony Crisci
2018-02-27ipc new window eventTony Crisci
2018-02-24take seat param for handle_command and renameTony Crisci
2018-02-14basic focus (without direction)Tony Crisci
2018-01-21clear handler context before ipc commandTony Crisci
2018-01-05sway: change all sway_log to wlr_logDominique Martinet
2017-12-18ipc get_inputsTony Crisci
2017-12-18Add IPC get_outputsemersion
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