Drew DeVault
603e0e42c5
Add debug tree view
2018-04-06 11:49:27 -04:00
Drew DeVault
a06052ad9d
Fix splitting workspaces
2018-04-06 09:43:52 -04:00
Drew DeVault
efac07db5f
Fix workspaces not updated on swaybar
2018-04-06 09:43:52 -04:00
Drew DeVault
57954a2b24
Implement move [left|right|up|down]
...
The exact semantics of this command are complicated. I'll describe each
test scenario as s-expressions. Everything assumes L_HORIZ if not
specified, but if you rotate everything 90 degrees the same test cases
hold.
```
(container (view a) (view b focus) (view c))
-> move left
(container (view b focus) (view a) (view c))
(container (view a) (view b focus) (view c))
-> move right
(container (view a) (view c) (view b focus))
(container L_VERT (view a))
(container L_HORIZ
(view b) (view c focus))
-> move up
(container L_VERT
(view a) (view c focus))
(container L_HORIZ (view b))
(workspace
(view a) (view b focus) (view c))
-> move up
(workspace [split direction flipped]
(view b focus)
(container (view a) (view c)))
(workspace
(view a) (view b focus) (view c))
-> move down
(workspace [split direction flipped]
(container (view a) (view c))
(view b focus)))
Note: outputs use wlr_output_layout instead of assuming that i+/-1 is
the next output in the move direction.
(root
(output X11-1
(workspace 1))
(output X11-2
(workspace 1 (view a focus) (view b)))))
-> move left
(root
(output X11-1
(workspace 1 (view a focus)))
(output X11-2
(workspace 1 (view b)))))
(root
(output X11-1
(workspace 1
(container (view a) (view b)))
(output X11-2
(workspace 1 (view c focus)))))
-> move left
(root
(output X11-1
(workspace 1
(container (view a) (view b))
(view c focus)))
(output X11-2
(workspace 1)))
```
2018-04-06 09:43:52 -04:00
Drew DeVault
d77a0119f4
Avoid arranging windows while reloading config
2018-04-06 09:43:44 -04:00
Drew DeVault
cca420b2f8
Fix focus_follows_mouse issues
2018-04-06 09:32:51 -04:00
Drew DeVault
b08f7e5183
Fix deletion of still-visible workspaces on unfocus
2018-04-06 09:26:49 -04:00
emersion
88e3e5ea5d
Fix wl_output enter/leave events
...
Fixes #1739
2018-04-06 00:10:17 -04:00
emersion
c2b1beef15
Remove L_TYPES
2018-04-05 23:22:08 -04:00
emersion
254ca8103c
Merge pull request #1747 from acrisci/ipc-layout
...
ipc layout
2018-04-05 22:54:26 -04:00
Drew DeVault
f63d9417cd
Merge pull request #1743 from emersion/subsurface-damage-tracking
...
Damage tracking for view children
2018-04-05 22:53:21 -04:00
Tony Crisci
6b308dbeb7
address feedback
2018-04-05 22:50:10 -04:00
Tony Crisci
235798ff8e
dont send ipc events when there are no listeners
2018-04-05 19:01:03 -04:00
emersion
641807d920
Handle unmanaged surfaces motion
2018-04-05 18:48:35 -04:00
emersion
d65d001aa5
Fix desktop_damage_whole_surface
2018-04-05 18:38:50 -04:00
emersion
6b9b03f09f
Remove outdated TODO
2018-04-05 18:33:18 -04:00
emersion
076bedb85e
Add container_damage_whole
2018-04-05 18:31:19 -04:00
emersion
1c91d0c10f
Add damage tracking for xwayland unmanaged surfaces
2018-04-05 17:39:17 -04:00
Tony Crisci
bbfc5487bc
add layout to ipc containers
2018-04-05 17:33:35 -04:00
emersion
07f3bb3ad1
Handle xwayland configure requests for unmanaged surfaces
2018-04-05 17:22:39 -04:00
emersion
a528aea2ee
Make xwayland surface destroy more foolproof
2018-04-05 17:11:46 -04:00
emersion
7ce1038478
Fix xwayland unmanaged surfaces
2018-04-05 17:08:30 -04:00
emersion
f5e5b1819b
Track damage of xdg-shell-v6 popups
2018-04-05 16:48:11 -04:00
Drew DeVault
f242362e7e
Handle output removal on swaybar
2018-04-05 16:04:30 -04:00
emersion
45f93e1650
Accumulate damage from subsurfaces
2018-04-05 15:20:45 -04:00
Drew DeVault
94ecd0f0aa
Configure wlr_xdg_output_manager during init
2018-04-05 14:01:14 -04:00
emersion
dcd15a2d3d
Implement shell views
2018-04-05 11:40:39 -04:00
Drew DeVault
9e89daf213
Merge pull request #1734 from swaywm/resize-cmd
...
Implement resize command
2018-04-05 00:17:47 -04:00
Drew DeVault
f77986338f
Implement resize command
2018-04-05 00:03:20 -04:00
Tony Crisci
aa35715f4b
Merge pull request #1736 from acrisci/ipc-container-type
...
Ipc container type
2018-04-04 23:06:53 -04:00
Tony Crisci
04ce09630c
add type to container json
2018-04-04 22:41:05 -04:00
Tony Crisci
65f254f3fb
Merge branch 'wlroots' into fix-focus-inactive
2018-04-04 22:36:09 -04:00
Tony Crisci
deda37469a
fix focus child
2018-04-04 22:31:10 -04:00
emersion
44b8d30f52
Use new wlr_*_surface_at functions
2018-04-04 22:03:14 -04:00
emersion
8eff00f723
Remove unused SWAY_VIEW_TYPES
2018-04-04 22:03:14 -04:00
Tony Crisci
fc9398a42e
Implement opacity command
2018-04-04 21:57:05 -04:00
Tony Crisci
cfd806577b
fix sending window new event
2018-04-04 19:37:01 -04:00
Tony Crisci
3e61718053
try to fix focus-inactive
2018-04-04 18:52:38 -04:00
Drew DeVault
d2d050d59c
Address review feedback
2018-04-04 18:47:48 -04:00
Drew DeVault
b7e7794912
Implement input-inhibit in sway, swaylock
2018-04-04 18:47:48 -04:00
Drew DeVault
06fbd51ff5
Add input inhibitor to input manager
2018-04-04 18:47:48 -04:00
Drew DeVault
3ede718c06
Refocus the last focused container on lock exit
2018-04-04 18:47:48 -04:00
Tony Crisci
76b0f3531f
send window close event
2018-04-04 14:19:38 -04:00
Tony Crisci
62c79ef451
fix double free
2018-04-04 00:22:40 -04:00
Tony Crisci
741e3959e3
Merge branch 'wlroots' into split-containers2
2018-04-04 00:20:44 -04:00
Tony Crisci
9d1cbd77ac
simplify container close
2018-04-03 23:59:44 -04:00
emersion
f3ef1da750
Fix wrong output container coordinates
2018-04-03 21:06:13 -04:00
Tony Crisci
fa004dd0d7
move output create to its own file
2018-04-03 20:00:09 -04:00
Drew DeVault
deb63eda88
Merge pull request #1717 from emersion/fix-multiple-outputs
...
Fix rendering with multiple outputs
2018-04-03 19:57:36 -04:00
Tony Crisci
a001890fb8
move workspace create to workspace.c
2018-04-03 19:52:17 -04:00