Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-04 | Move workspace pid code to root.c | Ryan Dwyer | |
2018-08-02 | Reset signal mask after fork | Marien Zwart | |
wlroots uses wl_event_loop_add_signal to handle SIGUSR1 from Xwayland. wl_event_loop_add_signal works by masking the signal and receiving it from a signalfd. The signal mask is preserved across fork and exec, so subprocesses spawned by Sway start with SIGUSR1 masked. Most subprocesses do not expect this and never unmask the signal, resulting in missing functionality or unexpected behavior for processes that use SIGUSR1 (such as i3status). Fix this by unmasking all signals between fork and exec. | |||
2018-07-23 | Merge branch 'master' into pid-workspaces | Drew DeVault | |
2018-07-09 | Update for swaywm/wlroots#1126 | emersion | |
2018-07-02 | exec_always: fix leaks | Dominique Martinet | |
- child would leak in the workspace_record_pid path - removing malloc lets us get rid of That Comment nobody seems to remember what it was about - we would leak pipe fds on first fork failling - we didn't return an error if second fork failed - the final executed process still had both pipe fds (would show up in /proc/23560/fd in launched programs) - we would write twice to the pipe if execl failed for some reason (e.g. if /bin/sh doesn't exist?!) | |||
2018-07-01 | Implement pid->workspace tracking | Drew DeVault | |
When you spawn a process with the exec command, sway now notes the workspace you had focused and the pid of the child process, then assigns that workspace to the child when its window appears. Some of this is carried over from sway 0.15, but with some major refactoring and centralization of state. | |||
2018-06-08 | sway exec command: use waitpid instead of wait | Dominique Martinet | |
2018-05-06 | Revert "exec_always: Search for executables in /usr/lib/sway" | Rostislav Pehlivanov | |
This reverts commit 7709340727fe2834f87b43aeeaef878694d5acd6. | |||
2018-05-06 | Revert "Make the LIBDIR path configurable" | Rostislav Pehlivanov | |
This reverts commit 1670b46bf6e56d37e69ab0fa32c6799e83397020. | |||
2018-05-06 | Revert "Meson: Replace option `instlibdir` with `libexecdir`" | Rostislav Pehlivanov | |
This reverts commit 830c4ef74c00dbe448da46cdbc576178abc5728e. | |||
2018-05-06 | Revert "command/exec_always: Use wlr_log for logging errors in the child ↵ | Rostislav Pehlivanov | |
process" This reverts commit 177c67e6b89404d9d477b82c00c1353cd4696096. | |||
2018-05-06 | Fix PATH setenv() in exec_always | Ryan Dwyer | |
2018-05-05 | command/exec_always: Use wlr_log for logging errors in the child process | Nicolas Braud-Santoni | |
2018-05-05 | Meson: Replace option `instlibdir` with `libexecdir` | Nicolas Braud-Santoni | |
Derive a value from it, called `rundir` rather than writing join_paths(libexecdir, 'sway') all over the place. | |||
2018-05-05 | Make the LIBDIR path configurable | Nicolas Braud-Santoni | |
2018-05-05 | exec_always: Search for executables in /usr/lib/sway | Nicolas Braud-Santoni | |
2018-04-13 | Fix gcc string truncation warnings | Dominique Martinet | |
2018-03-29 | Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree" | Tony Crisci | |
This reverts commit 472e81f35d689d67cda241acafda91c688d61046, reversing changes made to 6b7841b11ff4cd35f54d69dc92029855893e5ce0. | |||
2018-03-29 | Revert "Refactor tree" | Drew DeVault | |
2018-03-29 | move tree includes to their own directory | Tony Crisci | |
2018-01-05 | sway: change all sway_log to wlr_log | Dominique Martinet | |
2017-12-05 | Add minimal config subsystem | emersion | |
2017-12-04 | Add exec and exec_always commands | emersion | |
2017-11-18 | Move everything to sway/old/ | Drew DeVault | |
2017-03-10 | UnGNUify the codebase | Drew DeVault | |
2016-12-15 | Handle allocation failure in commands | Drew DeVault | |
2016-09-02 | merge in latest commits | Zandr Martin | |
2016-09-01 | refactor commands.c | Zandr Martin | |