summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Fix assigning workspaces to outputsLibravatar Mikkel Oscar Lyderik2016-03-04
| | | | | | | | | | | It's possible to assign workspaces to certain outputs using the command: workspace <name> output <output> However, this did not work in some cases where the workspace was assigned before the given output was made available to sway. This patch fixes those cases.
* Merge pull request #495 from gpyh/docswaybarLibravatar Drew DeVault2016-02-29
|\ | | | | Segregate between config and runtime cmds in doc
| * Segregate between config and runtime cmds in docLibravatar Yacine Hmito2016-02-29
|/ | | | | | In anticipation for #375, reorganized and augmented slightly sway(5) so it makes a difference between commands intended for configuration, commands intended for control, and those that can serve as both.
* Merge pull request #497 from progandy/swaylock-arrangeLibravatar Drew DeVault2016-02-28
|\ | | | | swaylock: call arrange_windows for floating change
| * sway: rearrange the whole ws on lock view setupLibravatar progandy2016-02-28
| |
| * sway: set lock view to floating after ws switchLibravatar progandy2016-02-28
|/ | | | This avoids calling swayc_active_workspace.
* Merge pull request #496 from mikkeloscar/focus-new-outputLibravatar Drew DeVault2016-02-28
|\ | | | | Correctly move focus from one output to a new one.
| * Correctly move focus from one output to a new one.Libravatar Mikkel Oscar Lyderik2016-02-28
|/ | | | | | | | | | | | This patch aims to correctly handle moving focus <left|right|up|down> between outputs. For instance, if moving from one output to a new output at the left of the current one, it should focus the right-most view/container on the new output, and the opposite if moving from right to left. This should happen regardless of the previously stored focus of the new output. This also handles moving to a new output above or below the current one.
* Merge pull request #492 from mikkeloscar/swaybar-multi-outputLibravatar Drew DeVault2016-02-27
|\ | | | | Display single swaybar on multiple outputs
| * Free config before exiting sway.Libravatar Mikkel Oscar Lyderik2016-02-27
| | | | | | | | | | | | 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.
| * Improve how swaybars are spawnedLibravatar Mikkel Oscar Lyderik2016-02-27
| |
| * Poll before wl_display_dispatchLibravatar Mikkel Oscar Lyderik2016-02-27
| |
| * Differentiate between all or no outputsLibravatar Mikkel Oscar Lyderik2016-02-27
| |
| * Add outputs to bar_config ipc responseLibravatar Mikkel Oscar Lyderik2016-02-27
| |
| * Make sway spawn only one bar per bar configLibravatar Mikkel Oscar Lyderik2016-02-27
| |
| * Make single bar handle multiple outputsLibravatar Mikkel Oscar Lyderik2016-02-27
| |
* | Set pointer pos before focusing view under itLibravatar Mikkel Oscar Lyderik2016-02-27
|/
* Make protocol specifications follow the DTDLibravatar Mikkel Oscar Lyderik2016-02-27
| | | | | | Gets rid of these warnings: WARNING: XML failed validation against built-in DTD
* Correctly exit sway on errors.Libravatar Mikkel Oscar Lyderik2016-02-26
| | | | | | | | 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.
* Merge pull request #494 from gpyh/argsegfaultLibravatar Drew DeVault2016-02-25
|\ | | | | Fix segfault when trying to use sway as IPC without a sway instance
| * Fix for when sway_abort doesn't exitLibravatar Yacine Hmito2016-02-25
| | | | | | | | sway_terminate does an exit in case wlc_terminate doesn't
| * Fixed swaymsg command name in sway(5) docLibravatar Yacine Hmito2016-02-25
| |
| * No options when using sway as IPC clientLibravatar Yacine Hmito2016-02-25
| | | | | | | | | | | | | | | | 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.
| * Removed p as a valid CLI optionLibravatar Yacine Hmito2016-02-25
|/ | | | | | 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.
* Merge pull request #493 from mikkeloscar/view-behind-swaylockLibravatar Drew DeVault2016-02-25
|\ | | | | Don't rearrange views behind swaylock.
| * Don't rearrange views behind swaylock.Libravatar Mikkel Oscar Lyderik2016-02-25
|/ | | | Fix #481
* Check for empty ws on view destroyed.Libravatar Mikkel Oscar Lyderik2016-02-25
| | | | | | | In some cases destroying a view can result in an empty and inactive workspace, which should be destroyed. This handles those cases.
* Send workspace ICP event on ws destroy/empty.Libravatar Mikkel Oscar Lyderik2016-02-25
| | | | | | 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).
* Prevent crash when showing scratchpad on new ws.Libravatar Mikkel Oscar Lyderik2016-02-25
| | | | Fix #469
* Fix ipc event bit masksLibravatar Mikkel Oscar Lyderik2016-02-21
|
* Prefer named output config over wildcard config.Libravatar Mikkel Oscar Lyderik2016-02-12
| | | | | | | | | | | | | | 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 * ...
* Merge pull request #488 from mikkeloscar/get-pixelsLibravatar Drew DeVault2016-02-08
|\ | | | | Replace deprecated function wlc_output_get_pixels.
| * Replace deprecated function wlc_output_get_pixels.Libravatar Mikkel Oscar Lyderik2016-02-08
|/ | | | | | | | | | | 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`.
* Squash trailing whitespaceLibravatar Mikkel Oscar Lyderik2016-02-08
|
* Fix clang warningsLibravatar Mikkel Oscar Lyderik2016-02-08
|
* Add wlc-render.h to handlers.cLibravatar Drew DeVault2016-02-08
|
* Merge pull request #486 from SethBarberee/sway-zshLibravatar Mikkel Oscar Lyderik2016-02-08
|\ | | | | refactored sway command to include single dash
| * fixed config helpLibravatar Seth Barberee2016-02-01
| |
| * refactored to include single dashLibravatar Seth Barberee2016-01-31
|/
* use tabsLibravatar Mikkel Oscar Lyderik2016-01-29
|
* Improve _swaymsg and _swaygrab completionsLibravatar Mikkel Oscar Lyderik2016-01-29
|
* Autocomplete scale optionsLibravatar Mikkel Oscar Lyderik2016-01-29
|
* complete image, not colorLibravatar Mikkel Oscar Lyderik2016-01-29
|
* Add files completion to _swaylockLibravatar Mikkel Oscar Lyderik2016-01-29
|
* Merge pull request #483 from aouelete/zsh-swaylock-completionLibravatar Mikkel Oscar Lyderik2016-01-29
|\ | | | | zsh completions for swaylock
| * zsh completions for swaylockLibravatar Aaron Ouellette2016-01-28
|/
* Merge pull request #482 from crondog/movemouseLibravatar Drew DeVault2016-01-28
|\ | | | | commands: move position mouse
| * commands: move position mouseLibravatar crondog2016-01-28
| | | | | | | | | | Bounds checking works ok except it overlaps the bar. Just like with normal floating. Should be fixed once swaybar is fixed.
* | Print /proc/<pid>/maps on segfaultLibravatar Drew DeVault2016-01-28
| |
* | Merge pull request #480 from crondog/swaylocktrans2Libravatar Drew DeVault2016-01-27
|\ \ | |/ |/| swaylock: Allow for transparent color values