Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-27 | Free config before exiting sway. | Mikkel Oscar Lyderik | |
Apart from freeing the sway_config struct, this also terminates the swaybars spawned by sway, since they are linked by PID to the bar config structs. | |||
2016-02-26 | Correctly exit sway on errors. | Mikkel Oscar Lyderik | |
Calling `exit` in sway_terminate prevents sway from correctly shutting down (freeing data, cleanly terminating the ipc server, etc.). A better way is to exit straight away if the failure occurs before `wlc_run` and use sway_abort as usual if it occur when wlc is running. | |||
2016-02-25 | Fix for when sway_abort doesn't exit | Yacine Hmito | |
sway_terminate does an exit in case wlc_terminate doesn't | |||
2016-02-25 | No options when using sway as IPC client | Yacine Hmito | |
Sway used to attempt sending an IPC command composed of every argument after the first non-option argument encountered. Now, raises an error if an option is encountered before the intended command. Some options such as -h or -v take effect when parsing, so they still apply. | |||
2016-02-25 | Removed p as a valid CLI option | Yacine Hmito | |
The get-socketpath long option had an undocumented short alternative as `p`. It has been removed. However, the code in the options array is still the 'p' char. | |||
2016-01-22 | Prevent ipc from crashing sway | crondog | |
2016-01-19 | libinput | Cole Mickens | |
2016-01-05 | Init layout before checking config | Mikkel Oscar Lyderik | |
2015-12-29 | Handle SIGTERM sent to sway | Mikkel Oscar Lyderik | |
This makes sway handle and gracefully shut down everything when receiving a SIGTERM. Fix #416 | |||
2015-12-14 | Detect proprietary AMD drivers too | Streetwalrus Einstein | |
2015-12-12 | Implement invoking `sway` as IPC client | Drew DeVault | |
As an alternative to invoking swaymsg. | |||
2015-11-29 | Merge pull request #276 from sce/earlier_logging | Drew DeVault | |
main: Setup logging before wlc_init. | |||
2015-11-29 | main: Setup logging before wlc_init. | S. Christoffer Eliesen | |
If `wlc_init` fails the error message will never be logged or printed anywhere. | |||
2015-11-28 | Fix option parsing | Christoph Gysin | |
Using 'flag' results in duplicate code paths for short and long options. This broke the -q short option in swaymsg, because there was: {"quiet", no_argument, &quiet, 'q'} Which will set quiet to 'q' and return 0, not 'q'. | |||
2015-11-28 | sway: Add --help option that prints usage | Christoph Gysin | |
2015-11-28 | sway: Print usage and exit on unknown options | Christoph Gysin | |
2015-11-28 | Use macros for exit values | Christoph Gysin | |
2015-11-28 | sway/main: Move wlc init to after args are handled. | S. Christoffer Eliesen | |
First of all because it's not needed that early, and second of all because there's a bug where calling `sway --get-socketpath` via `popen` causes the child sway process to spin/hang instead of returning EOF. (Specifically `(unset SWAYSOCK; swaymsg)` hangs.) This patch fixes that. (Also note that this patch moves the "detailed review" comment, so I guess this patch requires extra detailed review?) | |||
2015-11-27 | Move IPC client into common, refactor IPC | Drew DeVault | |
2015-11-18 | Basic support for extensions in server and clients | Drew DeVault | |
2015-11-13 | ipc: Store socketname in SWAYSOCK. Fixes `--get-socketpath`. | S. Christoffer Eliesen | |
After adding pid to the socket path the `--get-socketpath` command broke because it doesn't know the pid of the running instance. Fix this by setting and querying `SWAYSOCK`. Also ignore `SWAYSOCK` upon normal startup if a socket exists at that location (ie. from another sway instance), and don't overwrite `I3SOCK` if it exists either. | |||
2015-10-18 | main: Implement --get-socketpath switch. | S. Christoffer Eliesen | |
2015-10-08 | #187, let init handle child processes | taiyu | |
2015-10-08 | Revert "#187 cleanup zombies properly" | Drew DeVault | |
2015-10-07 | #187 cleanup zombies properly using default | taiyu | |
2015-09-18 | Fix warnings introduced by prior commit | Drew DeVault | |
2015-09-18 | Fix build for debian stretch | Drew DeVault | |
Fixes #182 | |||
2015-09-02 | fclose /proc/modules when we're done with it | Drew DeVault | |
2015-09-02 | Add check for nvidia module and warn user | Drew DeVault | |
2015-09-02 | Log sway version on startup | Drew DeVault | |
2015-08-26 | Added in better versioning info | Luminarys | |
2015-08-26 | move_container_to fixup | taiyu | |
2015-08-25 | Added in build version based on git hash | Luminarys | |
2015-08-25 | longopt minor fix | taiyu | |
2015-08-23 | Prefix log events from wlc with [wlc] | Drew DeVault | |
2015-08-23 | Handle wlc log events | Drew DeVault | |
2015-08-21 | Remove wlc logging stuff | Drew DeVault | |
2015-08-20 | added sway_terminate to exit cleanly | minus | |
2015-08-20 | properly exit sway | minus | |
- wlc_terminate() instead of exit(0) - unlink IPC socket | |||
2015-08-20 | very basic IPC implementation | minus | |
simply executes the received data as command | |||
2015-08-20 | Add command line parsing | Drew DeVault | |
Closes #6 | |||
2015-08-17 | Rearrange main.c some more | Drew DeVault | |
2015-08-17 | Switched config loading order to prevent root access w/wlc | Luminarys | |
2015-08-16 | Remove WLC_IDLE_TIME environment variable | Drew DeVault | |
2015-08-16 | Config errors should not be fatal | Drew DeVault | |
2015-08-15 | Set WLC_IDLE_TIME to 0 | Drew DeVault | |
2015-08-13 | Allowed for execd commands to be spawned after abort | Luminarys | |
2015-08-13 | Fixes to workspace generation | Luminarys | |
2015-08-13 | moved signal handling to main | Taiyu | |
2015-08-12 | moving stuff around | Taiyu | |