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.
9 years ago
Drew DeVault
44a4905466
Merge pull request #805 from zandrmartin/swaybg-solid-color
...
implement solid color rendering for swaybg
9 years ago
Zandr Martin
98aa59fdda
implement solid color rendering for swaybg
9 years ago
Drew DeVault
2e4ece65da
Merge pull request #803 from zandrmartin/x11-pids
...
update handler to get pid from wlc for all views - now ok to merge
9 years ago
Zandr Martin
e6af5f8bdb
Merge branch 'master' of git://github.com/SirCmpwn/sway into x11-pids
9 years ago
Drew DeVault
e3104a48e3
Merge pull request #804 from thejan2009/misc-border-fix
...
Misc border fix
9 years ago
D.B
c33e0ee629
revert border hiding to more recent version
9 years ago
D.B
8d0048c8d5
properly hide top border inside tabbed/stacked
...
When titlebar is hidden, top border of the topmost view inside
tabbed/stacked container will not be drawn. This is changed in layout.c
On the other hand, top border should be drawn sometimes, for example
when titlebar is hidden on a view that is not the topmost inside
tabbed/stacked container. This is changed in border.c
9 years ago
Zandr Martin
c0683a0444
remove outdated (when wlc commit merged) comment
9 years ago
Zandr Martin
d0a0d5e03c
update handler to get pid from wlc for all views
9 years ago
Drew DeVault
3f83968d30
Fix swaybg sizing on hidpi outputs
9 years ago
Drew DeVault
9b24af1c22
Document scale factor configuration in sway(5)
9 years ago
Drew DeVault
9661272224
Merge remote-tracking branch 'origin/hidpi'
9 years ago
Drew DeVault
ddb44984c5
Merge pull request #802 from acrisci/feature/timestamp-log-messages
...
Add timestamp to log messages
9 years ago
Tony Crisci
70360c5c07
Add timestamp to log messages
9 years ago
Drew DeVault
762a673601
Merge pull request #800 from zandrmartin/fix-swaybar-take-3
...
third try for #678
9 years ago
Zandr Martin
a3980d456d
third try for #678
9 years ago
Drew DeVault
cad085ed9d
Update IPC JSON responses for HiDPI setups
9 years ago
Drew DeVault
11e7ca044c
Update hidpi support to latest wlc API
9 years ago
Drew DeVault
6ea02f3064
Initial pass on HiDPI support
9 years ago
Drew DeVault
a5af3bce98
Merge pull request #796 from Hummer12007/ipc_sub
...
Initialize client's subscribed events
9 years ago
Mykyta Holubakha
cf8ef2aea2
Initialize client's subscribed events
9 years ago
Drew DeVault
178063319c
Add commit message guidelines to CONTRIBUTING.md
9 years ago
Drew DeVault
d07eaed79f
Merge pull request #793 from thejan2009/workspace_layout_first_window_fix
...
bugfix: invisible windows on empty workspace with tabbed/stacked layout
9 years ago
Drew DeVault
ee67c5bee3
Merge pull request #791 from acrisci/feature/focus-child
...
Implement `focus child` command
9 years ago
Drew DeVault
d03266a77a
Merge pull request #792 from acrisci/feature/render-focused-stack-children-focused
...
Render focused stack/tab children focused
9 years ago
Drew DeVault
7efc810e6b
Merge pull request #794 from thejan2009/close-all-focused-containers
...
Close all focused container's child views on cmd_kill
9 years ago
D.B
33c1df38bd
Close all focused container's child views on kill
...
Previously, cmd_kill only closed a focused view, while containers were
not affected. Now it closes all views that are children of the focused
container.
9 years ago
D.B
a46cf77549
bugfix: windows on empty workspaces with layout tabbed/stacked would spawn with 0x0 geometry
9 years ago
Tony Crisci
badfcf7c76
Render focused stack/tab children focused
...
Whenever a stacked or tabbed container has focused, paint the titlebars of all
its child windows to be focused as well to indicate the parent stack/tab
container has the focus.
9 years ago
Tony Crisci
88b7cbe314
Implement `focus child` command
...
The `focus child` command focuses the child container within the selected
container.
9 years ago
Drew DeVault
6d2b455727
Merge pull request #790 from acrisci/bug/switch-focus-workspace-output
...
bugfix: set focus to workspace of an output
9 years ago
Tony Crisci
8a03f138bf
bugfix: set focus to workspace of an output
...
In `move_focus()`, when given an output, set the focus to the workspace of that
output instead of the output itself.
This fixes a bug that did not allow users to switch between outputs introduced
in afc6ad6
.
It also fixes other issues before that commit when a workspace with children
was selected and the user tried to switch focus in the direction of another
output.
9 years ago
Drew DeVault
70e73d71db
Merge pull request #789 from acrisci/bug/focus-parent-above-workspace
...
bugfix: cmd focus parent don't set focus above ws
9 years ago
Tony Crisci
afc6ad6419
bugfix: cmd focus parent don't set focus above ws
...
In the `focus parent` command, do not set focus above the workspace level.
These containers are not meant to be focused.
This prevents a crash on repeated `focus parent` commands.
9 years ago
Drew DeVault
ba8f0da9de
Merge pull request #787 from acrisci/bug/ipc-command-result-array
...
Put ipc command result json in an array
9 years ago
Tony Crisci
0d461ad988
Put ipc command result json in an array
...
For compatibility with i3, put the command result into an array.
Returning multiple command results is still unsupported.
9 years ago
Drew DeVault
4637462a68
Merge pull request #785 from thejan2009/floating-scroll-event-passthrough
...
don't passthrough a floating_scroll event to focused window
9 years ago
D.B
80858c1f57
don't passthrough a floating_scroll event to focused window
9 years ago
Drew DeVault
643bd8f158
Merge pull request #779 from thejan2009/smart-gaps-outer
...
Hide outer gaps too when smart_gaps is on
9 years ago
Drew DeVault
1fb971fffc
Merge pull request #781 from thejan2009/bottom-right-edges
...
properly hide bottom and right borders
9 years ago
D.B
f16cb1464f
properly hide bottom and right borders
9 years ago
Drew DeVault
789870e60e
Merge pull request #780 from zandrmartin/fix-edge-gap
...
fix regression in hide_edge_borders
9 years ago
Zandr Martin
3137615838
fix regression in hide_edge_borders
9 years ago
D.B
d61b59cad1
outer gap 0 with smart_gaps on
9 years ago
Drew DeVault
9fe1d3da38
Merge pull request #778 from thejan2009/hide_edge_borders-fix
...
Hide edge borders fix
9 years ago
D.B
03b0180c30
rename ws to workspace for clarity
9 years ago
D.B
b893f07ce1
calculate borders for hiding from workspace geometry
9 years ago
Drew DeVault
f181bf9c54
Merge pull request #777 from Hummer12007/bg-arng
...
Arrange backgrounds only when required
9 years ago
Mykyta Holubakha
a2bc6f3bfd
Arrange backgrounds only when required
9 years ago