Commit Graph

6076 Commits

Author SHA1 Message Date
Johannes Lundberg
949933c5c3 Fix to make ipc client code FreeBSD compatible. 2016-08-30 16:59:36 -07:00
Drew DeVault
f4356135a1 Merge pull request #869 from Hummer12007/patch-1
Fix a format string
2016-08-22 12:53:31 -04:00
Hummer12007
db1c105e77 Fix a format string 2016-08-22 18:56:49 +03:00
Drew DeVault
b18c64d795 Merge pull request #867 from kb100/fix-865
Avoid dereferencing null configuration
2016-08-20 12:30:05 -04:00
James Murphy
8af49eb696 Avoid dereferencing null configuration
Fixes: https://github.com/SirCmpwn/sway/issues/865
2016-08-20 16:24:08 +00:00
Drew DeVault
f99992a8ae Merge pull request #862 from goetzc/master
Add input example section to config
2016-08-18 19:18:12 -04:00
Götz Christ
aecd33d25d Add input example section to config
Also improve sway-input(5) description to be more consistent with sway-bar(5).
2016-08-18 18:00:58 -05:00
Drew DeVault
420fa20ae6 Merge pull request #853 from guiniol/indicator-color
Implement indicator color
2016-08-11 18:21:58 -04:00
Guillaume Brogi
7bbf7e15a0 Update man page
The man page mentioned that "indicator" wasn't implemented, this isn't
the case anymore.
2016-08-12 00:13:48 +02:00
Guillaume Brogi
6173c84117 Rerender after every split command 2016-08-12 00:12:56 +02:00
Guillaume Brogi
fc492a4da8 Add support for indicator color 2016-08-11 23:57:38 +02:00
Drew DeVault
5c87cc7cb1 Merge pull request #851 from thejan2009/output-disable-during-runtime
Handle output disabling during runtime
2016-08-10 13:13:10 -04:00
D.B
ce98569fbc Handle output disabling during runtime
Output now gets disabled if disable command is invoked via bindsym or
IPC.
2016-08-10 18:52:49 +02:00
Drew DeVault
49afdb4393 Merge pull request #846 from mmlb/doc-all-xkb-env-vars
document all xkb settings handled by wlc
2016-08-09 13:14:58 -04:00
Manuel Mendez
631ba506d6 document all xkb settings handled by wlc 2016-08-09 10:41:06 -04:00
Drew DeVault
b8642ce681 Merge pull request #843 from thejan2009/bug/move-container-819
Fix container move when workspace is focused
2016-08-07 12:04:08 -04:00
Drew DeVault
9e37a13d7b Merge pull request #842 from thejan2009/bug/move-workspace-sort-output
Sort workspaces when moving workspace to output
2016-08-07 12:04:03 -04:00
D.B
41b5c6d1a9 Sort workspaces when moving workspace to output
This should fix #839
2016-08-07 17:32:18 +02:00
D.B
61781bbef0 Fix container move when workspace is focused
Fixes #819. If workspace is focused and command 'move container to
workspace/output' is issued, workspace child containers are wrapped in a
new container and moved according to command.
2016-08-07 17:07:30 +02:00
Drew DeVault
e8ca63702e Merge pull request #841 from thejan2009/tabbed-title-avoiding-null
Display class in container title if app_id is null
2016-08-07 02:52:45 -04:00
D.B
9c91952aec Display class in tab title if app_id is null
This is a feature that can't work the same as i3, because there is no
real window classes in wayland. This way, we avoid null titles as much
as possible.
2016-08-07 08:37:26 +02:00
Drew DeVault
aca9f6b2a2 Merge pull request #840 from minus7/man-inputs
added get_inputs hint to man 5 sway-input
2016-08-05 13:58:14 -04:00
minus
2f50be3d88 added get_inputs hint to man 5 sway-input 2016-08-05 19:55:00 +02:00
Drew DeVault
072984de9e Merge pull request #838 from thejan2009/bug/workspace-switch-bug
Fix switch to prev ws on handle_view_created
2016-08-05 07:48:23 -04:00
D.B
aa292db8d1 Fix switch to prev ws on handle_view_created
Switching back to original workspace should be done only if workspace
was switched while appending new view.
2016-08-05 10:43:54 +02:00
Drew DeVault
2a8cc8645b Merge pull request #837 from acrisci/feature/log-events
ipc: log sending of events
2016-08-04 21:55:14 -04:00
Tony Crisci
4ab35df157 ipc: log sending of events
Log the sending of the events in the debug log. This makes ipc server events
easier to verify.
2016-08-04 21:48:20 -04:00
Drew DeVault
91709bd12a Merge pull request #836 from acrisci/feature/ipc-recursive-workspace
ipc: recursive workspace containers in event
2016-08-04 21:34:39 -04:00
Tony Crisci
e1e15bb43e ipc: recursive workspace containers in event
Recursively describe workspace containers in the workspace event. This is for
compatability with i3 and i3ipc libraries.
2016-08-04 21:26:39 -04:00
Drew DeVault
61befb49f7 Merge pull request #835 from acrisci/feature/ipc-view-include-nodes
ipc: always include nodes in views
2016-08-04 21:24:36 -04:00
Tony Crisci
50901a0892 ipc: always include nodes in views
This is for i3 (and i3ipc library) compatability.
2016-08-04 21:19:52 -04:00
Drew DeVault
76e5dffeaa Merge pull request #834 from Hummer12007/swapfix
Arrange windows after swapping containers
2016-08-04 19:58:52 -04:00
Mykyta Holubakha
e1b1d94a4e Arrange windows after swapping containers
Fixes #833
2016-08-05 02:07:03 +03:00
Drew DeVault
f773eb96a8 Merge pull request #832 from thejan2009/bug/workspace-back-and-forth
Fix 'workspace back_and_forth' and workspace_auto_back_and_forth clash
2016-08-04 15:36:29 -04:00
D.B
132017d242 Fix 'workspace back_and_forth' and workspace_auto_back_and_forth clash
When workspace_auto_back_and_forth is enabled, workspaces get switched
twice with previously mentioned command, which is not the expected
behavior.

Removes one redundant creation of previous workspace.
2016-08-04 21:31:46 +02:00
Drew DeVault
4b0de51766 Merge pull request #831 from progandy/fix_colors
common: use strtoul in parse_color to avoid clamp
2016-08-04 09:27:27 -04:00
progandy
bf4056a2c6 common: use strtoul in parse_color to avoid clamp
Some implementations of strtol may clamp the values to LONG_MAX instead of
wrapping around to negative values, so use strtoul instead to parse colors.
2016-08-04 14:37:54 +02:00
Drew DeVault
5ec70458e5 Merge pull request #830 from acrisci/feature/simplify-set-focus
Simplify focus setting
2016-08-04 07:48:00 -04:00
Tony Crisci
81eb9ea12c Simplify focus setting
Merge the main rendering paths of all containers to make focus setting a bit
simpler and easier to follow.
2016-08-03 23:24:53 -04:00
Drew DeVault
735f3d076e Merge pull request #827 from acrisci/bug/ipc-id-uint
Use uintptr_t for ipc container id
2016-08-03 21:07:23 -04:00
Tony Crisci
c98e91f01f Use uintptr_t for ipc container id
This is for compatability with i3.
2016-08-03 20:34:47 -04:00
Drew DeVault
c970d45d74 Merge pull request #822 from mayhewj/add-resize-to-config
Add resize mode to the default config file
2016-08-03 07:07:53 -04:00
Justin Mayhew
94adb24642 Add resize mode to config
These are the default keybindings in i3.
2016-08-03 00:07:28 -03:00
Justin Mayhew
342e36e31f Don't repeat direction keys in config
I really didn't want to have to repeat the direction keys again for
resize mode, and this makes it easier to change all of the relevant
keybindings if you don't like the defaults (or prefer i3's).
2016-08-02 23:56:31 -03:00
Drew DeVault
3a9f4f8b31 Merge pull request #820 from minus7/bar-wrap-scroll-fix
fixed uninitialized bar.wrap_scroll
2016-08-02 16:08:46 -04:00
minus
b246799548 fixed uninitialized bar.wrap_scroll 2016-08-02 22:02:39 +02:00
Drew DeVault
947570e6df Merge pull request #817 from zandrmartin/fix-unmanaged-node-json
remove unmanaged nodes from get_tree
2016-08-02 14:52:48 -04:00
Drew DeVault
506be24b62 Merge pull request #810 from acrisci/feature/swaymsg-pretty
swaymsg: pretty print ipc response
2016-08-02 14:52:41 -04:00
Zandr Martin
9fa92951fe
remove unmanaged nodes from get_tree 2016-08-02 13:24:21 -05:00
Drew DeVault
c7d12faefc Update README.md screenshot 2016-08-02 08:50:03 -04:00