summaryrefslogtreecommitdiffstats
path: root/sway
Commit message (Collapse)AuthorAge
* Improve how swaybars are spawnedLibravatar 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
|
* 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.
* 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.
* 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
* 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 * ...
* 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
|
* 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.
* font: Allow adding font to the config. In prep for border titlesLibravatar crondog2016-01-27
| | | | v2: Give default font and make bar use it if no bar font
* Fix returning to sway after swaylock completesLibravatar Drew DeVault2016-01-26
|
* Add quotes to multiword arguments.Libravatar Mikkel Oscar Lyderik2016-01-25
| | | | | | | | | | | | | | | | | | | | | This adds quotes around multiword arguments before they are passed to `/bin/sh -c` in an exec command. Example: I connect to irc like this: exec termite -e "mosh server tmux a" Without this patch the arguments are passed to sh as: termite -e mosh server tmux a When it should be: termite -e "mosh server tmux a" For the command to work.
* Merge pull request #457 from mikkeloscar/move-view-fixLibravatar Drew DeVault2016-01-23
|\ | | | | Fix rendering of view when moving to new workspace
| * Fix rendering of view when moving to new workspaceLibravatar Mikkel Oscar Lyderik2016-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a possible fix for #384. To be honest I don't fully understand why this bug is happening, but I have narrowed it down to the view stack in wlc and how sway orders views in very specific situations (those described in #384). Anyway this should fix the problem by eliminating the call to `wlc_view_bring_to_front` which isn't really needed anyway since sending all invisible views to the back is the same as bringing all visible views to the front (rotating the view stack).
* | Add new wlc thing to viewsLibravatar Drew DeVault2016-01-23
| |
* | Revert "s/numlen/log10/g"Libravatar Drew DeVault2016-01-23
| | | | | | | | This reverts commit 038bb8cc7c4dee77f8ee4ba3ac1ffc47409b2370.
* | s/numlen/log10/gLibravatar Drew DeVault2016-01-23
| |
* | commands: Fix memory allocation in assignLibravatar Quentin Glidic2016-01-23
| | | | | | | | | | | | Also use the safer snprintf since we just computed the size. Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
* | commands: Fix usage of arrow in assignLibravatar Quentin Glidic2016-01-23
| | | | | | | | Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
* | sway-input: fix typoLibravatar Christoph Gysin2016-01-23
| |
* | manpage: fix sway-input layoutLibravatar Mikkel Oscar Lyderik2016-01-22
| |
* | manpage: add references sway.5 <-> sway-input.5Libravatar Mikkel Oscar Lyderik2016-01-22
| |
* | Fix generating sway-input.5 manpageLibravatar Mikkel Oscar Lyderik2016-01-22
| |
* | cmake: fix libinput include dirsLibravatar Mikkel Oscar Lyderik2016-01-22
| |
* | Prevent ipc from crashing swayLibravatar crondog2016-01-22
|/
* Only update visibility if WS isn't destroyed afterLibravatar Mikkel Oscar Lyderik2016-01-21
| | | | | No need to update visibility if the workspace will be destroyed right after.
* Fix issue #455Libravatar Yacine Hmito2016-01-21
| | | | | | | | CMAKE_INSTALL_FULL_SYSCONFIG is not actually passed to the C preprocessor. I remember it working, so I must have messed up somewhere last time I touched this. This is fixed by manually passing its value to the C preprocessor through the SYSCONFDIR definition
* Fix memory leak in config.cLibravatar Drew DeVault2016-01-21
| | | | Thanks @jollywho
* Strip stray whitespaceLibravatar Mikkel Oscar Lyderik2016-01-21
|
* libinputLibravatar Cole Mickens2016-01-19
|
* cmd_assignLibravatar crondog2016-01-15
| | | | | | This implements cmd_assign. Basically a copy and paste from cmd_for_window however it has → handling and injects a `move container to workspace`
* Strip quotes from workspace name v2Libravatar Mikkel Oscar Lyderik2016-01-11
| | | | | | This is a more general fix for #444 This reverts part of commit 222f0d44fcda494dca4d5278493a3082068743de.
* Strip quotes of each argv when handling commandLibravatar Mikkel Oscar Lyderik2016-01-11
|
* Strip quotes from workspace name.Libravatar Mikkel Oscar Lyderik2016-01-11
| | | | | | | | Fix #444 This is a temporary fix, the real fix is to store the commands as a formatted argv array, so they don't have to be reformatted all over the place.
* Add backwards compatability for binding eventLibravatar Mikkel Oscar Lyderik2016-01-09
|
* Add bindcode to binding events.Libravatar Mikkel Oscar Lyderik2016-01-09
|
* Add support for bincode commandLibravatar Mikkel Oscar Lyderik2016-01-09
| | | | | If a bindsym and bincode maps to the same combination, the last one will overwrite any previous mappings.
* Unescape string after doing var replacementLibravatar Mikkel Oscar Lyderik2016-01-08
| | | | Fix #426
* Make IPC binding event support a compile time opt.Libravatar Mikkel Oscar Lyderik2016-01-08
|
* Reduce duplicate codeLibravatar Mikkel Oscar Lyderik2016-01-08
|
* Implement IPC binding event (keyboard)Libravatar Mikkel Oscar Lyderik2016-01-08
| | | | | | | | | | | | | | | | | | | | | | | This implements the IPC binding event for keyboard bindings. It is slightly different from the i3 implementation [1] since sway supports more than one non-modifier key in a binding. Thus the json interface has been changed from: { ... "symbol": "t", ... } to: { ... "symbols": [ "t" ], ... } [1] http://i3wm.org/docs/ipc.html#_binding_event