aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc-server.c
AgeCommit message (Collapse)Author
2018-07-02ipc-server: fix more use-after-frees on ipc_send_reply errorDominique Martinet
Since ipc_send_reply frees the client on error, we need to check the return value properly as we access client later on Found through static analysis.
2018-07-02ipc-server: minor code cleanupDominique Martinet
No logic change here, this one is mostly to please static analyzer: - client->fd can never be -1 (and if it could, close() a few lines below would have needed the same check) - we never send permission denied error (dead code)
2018-07-02ipc-server: fix double-free on send error in ipc_send_eventDominique Martinet
ipc_send_reply already does client disconnect on error, so we shouldn't do it again. We also need to process current index again as disconnect removes client from the list we currently are processing (this is an indexed "list") Found through static analysis.
2018-06-06Switch output storing from list_t to wl_listBrian Ashworth
2018-06-06Store sway_outputs so that they can be reenabledBrian Ashworth
2018-06-02Make command block implementation genericBrian Ashworth
2018-05-22Implement IPC_GET_MARKSBrian Ashworth
2018-05-12Implement IPC get_seats commandRyan Dwyer
2018-04-13Fix gcc string truncation warningsDominique Martinet
2018-04-05address feedbackTony Crisci
2018-04-05dont send ipc events when there are no listenersTony Crisci
2018-04-02rename input-manager functionsTony Crisci
2018-04-02rename seat functionsTony Crisci
2018-03-30Merge pull request #1669 from emersion/workspace-pointer-eventsDrew DeVault
Fix pointer events for hidden workspaces
2018-03-30Fix segfaults when focusing a workspaceemersion
2018-03-30IPC fixesDrew DeVault
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