Drew DeVault
e8ca63702e
Merge pull request #841 from thejan2009/tabbed-title-avoiding-null
...
Display class in container title if app_id is null
8 years ago
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.
8 years ago
Drew DeVault
aca9f6b2a2
Merge pull request #840 from minus7/man-inputs
...
added get_inputs hint to man 5 sway-input
8 years ago
minus
2f50be3d88
added get_inputs hint to man 5 sway-input
8 years ago
Drew DeVault
072984de9e
Merge pull request #838 from thejan2009/bug/workspace-switch-bug
...
Fix switch to prev ws on handle_view_created
8 years ago
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.
8 years ago
Drew DeVault
2a8cc8645b
Merge pull request #837 from acrisci/feature/log-events
...
ipc: log sending of events
8 years ago
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.
8 years ago
Drew DeVault
91709bd12a
Merge pull request #836 from acrisci/feature/ipc-recursive-workspace
...
ipc: recursive workspace containers in event
8 years ago
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.
8 years ago
Drew DeVault
61befb49f7
Merge pull request #835 from acrisci/feature/ipc-view-include-nodes
...
ipc: always include nodes in views
8 years ago
Tony Crisci
50901a0892
ipc: always include nodes in views
...
This is for i3 (and i3ipc library) compatability.
8 years ago
Drew DeVault
76e5dffeaa
Merge pull request #834 from Hummer12007/swapfix
...
Arrange windows after swapping containers
8 years ago
Mykyta Holubakha
e1b1d94a4e
Arrange windows after swapping containers
...
Fixes #833
8 years ago
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
8 years ago
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.
8 years ago
Drew DeVault
4b0de51766
Merge pull request #831 from progandy/fix_colors
...
common: use strtoul in parse_color to avoid clamp
8 years ago
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.
8 years ago
Drew DeVault
5ec70458e5
Merge pull request #830 from acrisci/feature/simplify-set-focus
...
Simplify focus setting
8 years ago
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.
8 years ago
Drew DeVault
735f3d076e
Merge pull request #827 from acrisci/bug/ipc-id-uint
...
Use uintptr_t for ipc container id
8 years ago
Tony Crisci
c98e91f01f
Use uintptr_t for ipc container id
...
This is for compatability with i3.
8 years ago
Drew DeVault
c970d45d74
Merge pull request #822 from mayhewj/add-resize-to-config
...
Add resize mode to the default config file
8 years ago
Justin Mayhew
94adb24642
Add resize mode to config
...
These are the default keybindings in i3.
8 years ago
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).
8 years ago
Drew DeVault
3a9f4f8b31
Merge pull request #820 from minus7/bar-wrap-scroll-fix
...
fixed uninitialized bar.wrap_scroll
8 years ago
minus
b246799548
fixed uninitialized bar.wrap_scroll
8 years ago
Drew DeVault
947570e6df
Merge pull request #817 from zandrmartin/fix-unmanaged-node-json
...
remove unmanaged nodes from get_tree
8 years ago
Drew DeVault
506be24b62
Merge pull request #810 from acrisci/feature/swaymsg-pretty
...
swaymsg: pretty print ipc response
8 years ago
Zandr Martin
9fa92951fe
remove unmanaged nodes from get_tree
8 years ago
Drew DeVault
c7d12faefc
Update README.md screenshot
8 years ago
Drew DeVault
31ce010861
Fix segfault in border.c
8 years ago
Drew DeVault
18602367f1
Merge pull request #815 from acrisci/bug/focus-container-on-op-change
...
bugfix: focus container on output when focused
8 years ago
Tony Crisci
4344fe5011
bugfix: focus container on output when focused
...
Focus the container on the output (not the output itself) when an output is
focused.
This is intended to fix a bug where borders are not updated correctly when
switching the vt away/back to sway.
8 years ago
Drew DeVault
a4096b73c9
Merge pull request #813 from acrisci/bug/remove-dead-lock-var
...
Remove dead global locked_view_focus
8 years ago
Tony Crisci
2f65100bee
Remove dead global locked_view_focus
...
The value of `locked_view_focus` is always false. Remove dead code associated
with this variable to simplify things.
8 years ago
Drew DeVault
2d907ef1f6
Merge pull request #811 from acrisci/feature/focus-container
...
Implement focus handling for containers
8 years ago
Drew DeVault
c6f9767487
Merge pull request #812 from zandrmartin/floating-fullscreen-size-fix
...
cache floating container size when fullscreening
8 years ago
Zandr Martin
b18c169036
cache floating container size when fullscreening
8 years ago
Tony Crisci
fe608c80ae
Update view border when workspace is focused
...
When a workspace is focused, update the borders of all its child containers to
be focused to indicate the workspace container is focused.
8 years ago
Tony Crisci
d731d6a846
Bugfix: descend focus stack on new window focus
...
When switching back to a workspace after new window creation, it is now
necessary to descend the focus stack into the focused container of the
workspace to determine which container should get the focus. This is because
the `set_focused_container()` function no longer automatically descends into
the focus stack to find the correct view to focus.
8 years ago
Tony Crisci
b39249508f
Refactor functions to update container borders
...
Replace `update_view_border()` with `update_container_border()`. The latter
should handle both the case where the container is a view or if the container
has children.
8 years ago
Tony Crisci
f78d07d39b
Implement focus handling for containers
...
The previous implementation of focus handling assumed that only views can be
focused. Containers can also be focused with a command like `focus parent` or
`focus child`.
Change `set_focused_container()` to handle the case of the given container
being a container with children and update borders accordingly.
8 years ago
Tony Crisci
6535da7bde
swaymsg: pretty print ipc response
...
fixes #809
8 years ago
Drew DeVault
a947cb6919
Merge pull request #808 from zandrmartin/document-kill-command
...
document `kill` command
8 years ago
Zandr Martin
53f6b1f3b0
document `kill` command
8 years ago
Drew DeVault
955020b161
Merge pull request #806 from thejan2009/fix-nested-layouts
...
Update container geometry on layout switch
8 years ago
D.B
9977b01928
Update container geometry on layout switch
...
Deeply nested containers which had their layouts changed didn't update
their actual_geometry, this messed up their child containers. Those got
width and height of 0, which was then decreased for stacked/tabbed
containers by title height. Underflow ensued, these containers suddenly
had height 4294967273. In short, not updating actual_geometry didn't
play nicely with nested containers.
8 years ago
Drew DeVault
44a4905466
Merge pull request #805 from zandrmartin/swaybg-solid-color
...
implement solid color rendering for swaybg
8 years ago
Zandr Martin
98aa59fdda
implement solid color rendering for swaybg
8 years ago