aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2016-02-26Correctly exit sway on errors.Mikkel Oscar Lyderik-20/+24
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-25Merge pull request #494 from gpyh/argsegfaultDrew DeVault-2/+6
Fix segfault when trying to use sway as IPC without a sway instance
2016-02-25Fix for when sway_abort doesn't exitYacine Hmito-0/+1
sway_terminate does an exit in case wlc_terminate doesn't
2016-02-25Fixed swaymsg command name in sway(5) docYacine Hmito-1/+1
2016-02-25No options when using sway as IPC clientYacine Hmito-0/+3
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-25Removed p as a valid CLI optionYacine Hmito-1/+1
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-02-25Merge pull request #493 from mikkeloscar/view-behind-swaylockDrew DeVault-0/+10
Don't rearrange views behind swaylock.
2016-02-25Don't rearrange views behind swaylock.Mikkel Oscar Lyderik-0/+10
Fix #481
2016-02-25Check for empty ws on view destroyed.Mikkel Oscar Lyderik-0/+10
In some cases destroying a view can result in an empty and inactive workspace, which should be destroyed. This handles those cases.
2016-02-25Send workspace ICP event on ws destroy/empty.Mikkel Oscar Lyderik-0/+2
There is no 'destroy' change type in the i3 IPC so this uses `empty` to notify about empty workspaces (which will be destroyed from sway right after).
2016-02-25Prevent crash when showing scratchpad on new ws.Mikkel Oscar Lyderik-1/+2
Fix #469
2016-02-21Fix ipc event bit masksMikkel Oscar Lyderik-9/+9
2016-02-12Prefer named output config over wildcard config.Mikkel Oscar Lyderik-3/+9
This makes sure that a named output config is applied before the general wildcard config when a new output is created. This ensures that the config: output * ... output NAME ... behaves the same way as: output NAME ... output * ...
2016-02-08Merge pull request #488 from mikkeloscar/get-pixelsDrew DeVault-18/+70
Replace deprecated function wlc_output_get_pixels.
2016-02-08Replace deprecated function wlc_output_get_pixels.Mikkel Oscar Lyderik-18/+70
This makes IPC GET_PIXELS use the new `wlc_pixels_read` call instead of the deprecated `wlc_output_get_pixels`. The old version worked by passing a callback function to wlc which would grab the pixels and send them to the IPC client. The new version works by maintaining a list of clients who have requested the pixels of some output and then grap and send the pixels in the output_post_render hook of the `wlc_interface`.
2016-02-08Squash trailing whitespaceMikkel Oscar Lyderik-1/+1
2016-02-08Fix clang warningsMikkel Oscar Lyderik-3/+3
2016-02-08Add wlc-render.h to handlers.cDrew DeVault-0/+1
2016-02-08Merge pull request #486 from SethBarberee/sway-zshMikkel Oscar Lyderik-14/+8
refactored sway command to include single dash
2016-02-01fixed config helpSeth Barberee-1/+1
2016-01-31refactored to include single dashSeth Barberee-14/+8
2016-01-29use tabsMikkel Oscar Lyderik-1/+1
2016-01-29Improve _swaymsg and _swaygrab completionsMikkel Oscar Lyderik-3/+14
2016-01-29Autocomplete scale optionsMikkel Oscar Lyderik-1/+1
2016-01-29complete image, not colorMikkel Oscar Lyderik-2/+2
2016-01-29Add files completion to _swaylockMikkel Oscar Lyderik-3/+3
2016-01-29Merge pull request #483 from aouelete/zsh-swaylock-completionMikkel Oscar Lyderik-1/+12
zsh completions for swaylock
2016-01-28zsh completions for swaylockAaron Ouellette-1/+12
2016-01-28Merge pull request #482 from crondog/movemouseDrew DeVault-0/+21
commands: move position mouse
2016-01-28Print /proc/<pid>/maps on segfaultDrew DeVault-1/+47
2016-01-28commands: move position mousecrondog-0/+21
Bounds checking works ok except it overlaps the bar. Just like with normal floating. Should be fixed once swaybar is fixed.
2016-01-27Merge pull request #480 from crondog/swaylocktrans2Drew DeVault-11/+17
swaylock: Allow for transparent color values
2016-01-28swaylock: Allow for transparent color valuescrondog-11/+17
There is only a slight issue. When using a transparent color the views are arranged to make room for swaylock which we can now see. I tried removing the arrange call but that just made it worse by putting in an opaque view on the workspace and not making the lockoverlay color. Ill raise an issue if this is not easily solved
2016-01-27Merge pull request #479 from crondog/fontDrew DeVault-2/+28
font: Allow adding font to the config. In prep for border titles
2016-01-27font: Allow adding font to the config. In prep for border titlescrondog-2/+28
v2: Give default font and make bar use it if no bar font
2016-01-26Remove pointer from swaylock surfaceDrew DeVault-11/+21
2016-01-26Fix returning to sway after swaylock completesDrew DeVault-0/+3
2016-01-26Merge pull request #478 from SethBarberee/swaymsg-zshMikkel Oscar Lyderik-12/+6
refactored to include single dash options
2016-01-26refactored to include single dash optionsSeth Barberee-12/+6
2016-01-25Merge pull request #476 from christophgysin/cairo_set_source_u32Drew DeVault-17/+20
extract cairo_set_source_u32()
2016-01-25extract cairo_set_source_u32()Christoph Gysin-17/+20
2016-01-25Merge pull request #475 from christophgysin/swaylock_colorDrew DeVault-100/+135
swaylock: implement --color
2016-01-25swaylock: support --colorChristoph Gysin-18/+46
2016-01-25swaylock: extract render_imageChristoph Gysin-85/+92
2016-01-25Merge pull request #474 from christophgysin/swaylock_pamDrew DeVault-9/+33
swaylock pam fixes
2016-01-25swaylock: don't memset memory that has been freedChristoph Gysin-5/+4
swaylock is randomly crashing because we write to password that has already been freed in pam_authenticate().
2016-01-25swaylock: fix pam conversationChristoph Gysin-5/+15
2016-01-25swaylock: add pam conversation debug outputChristoph Gysin-0/+14
2016-01-25swaylock: remove global variable pam_replyChristoph Gysin-4/+5
2016-01-25swaybar: Fix plaintext handling.Mikkel Oscar Lyderik-1/+1
Fix #473