Ian Fan
667b8dcb67
commands: check for special workspaces in workspace & move commands
6 years ago
Ian Fan
3b1f58e135
commands: document <criteria> focus
6 years ago
Ian Fan
dd48c8a579
commands: add optional flags to move
6 years ago
Ian Fan
85ae121caa
commands: complete workspace implementation
...
Allow optional --no-auto-back-and-forth flag, as well as refactoring some logic
6 years ago
Ian Fan
356063b6c0
commands: fix layout implementation (also better name for previous split layout)
6 years ago
Ian Fan
3a980857cb
commands: better type for con_id string length
6 years ago
Ian Fan
69e1a421fc
commands: complete move implementation
6 years ago
Ian Fan
be64c46624
commands: complete layout implementation
6 years ago
Ian Fan
11ac66d6fe
commands: allow __focused__ for con_id criterion
6 years ago
Ian Fan
710f27d0d2
commands: allow "first", "last", "newest" and "recent" as values for urgent criteria
6 years ago
emersion
0cd418ba42
Merge pull request #2422 from ggreer/compiler-errors
...
Fix compiler errors.
6 years ago
Geoff Greer
208831aec6
Fix compiler errors.
...
- Some platforms don't expose kill() unless _POSIX_C_SOURCE is defined.
- fork(), execl(), and setsid() need unistd.h on some platforms.
Basically, this fixes some platform-specific build errors.
6 years ago
emersion
0016f77440
Merge pull request #2418 from RyanDwyer/separate-root
...
Separate root-related code
6 years ago
Ryan Dwyer
30e7e0f7c7
Move workspace pid code to root.c
6 years ago
Ryan Dwyer
04489ff420
Separate root-related code
...
This creates a root.c and moves bits and pieces from elsewhere into it.
* layout_init has been renamed to root_create and moved into root.c
* root_destroy has been created and is called on shutdown
* scratchpad code has been moved into root.c, because hidden scratchpad
containers are stored in the root struct
6 years ago
Ryan Dwyer
5de2223c6d
Merge pull request #2419 from RedSoxFan/fix-2416
...
Check correct ws for sticky and fix floating iter
6 years ago
Ryan Dwyer
e24fc3df18
Merge branch 'master' into fix-2416
6 years ago
Drew DeVault
38675eba7b
Merge pull request #2400 from RedSoxFan/swaynag-config-errors
...
Show swaynag on config errors
6 years ago
Brian Ashworth
ad2a7c2618
Check correct ws for sticky and fix floating iter
6 years ago
Brian Ashworth
36fd84cc42
Remove swaynag_clone and use memcpy
6 years ago
Brian Ashworth
a7f7d4a488
Write to swaynag pipe fd directly on config errors
6 years ago
Brian Ashworth
f9a6407111
Show swaynag on config errors
6 years ago
Ryan Dwyer
3e2bf7f3a5
Merge pull request #2417 from marienz/swaynag-includes
...
Add missing stdlib.h includes to swaynag
6 years ago
Marien Zwart
4df8858873
Add missing stdlib.h includes to swaynag
6 years ago
emersion
b49904dd7e
Merge pull request #2414 from RyanDwyer/fix-inactive-fullscreen-crash
...
Fix crash when fullscreen view closes on inactive workspace
6 years ago
emersion
16c1e21f26
Merge pull request #2415 from RyanDwyer/fix-fullscreen-container-crash
...
Fix crash when moving cursor over a fullscreen split container
6 years ago
emersion
942f92f3eb
Merge pull request #2413 from RyanDwyer/dont-move-empty-workspace
...
Deny "move container" when an empty workspace is focused
6 years ago
Ryan Dwyer
c17f0870ef
Fix crash when moving cursor over a fullscreen split container
...
Calling container_at_view fails an assertion if the container isn't a
view. Calling tiling_container_at works correctly, as that function
checks if the container is a view and calls container_at_view if so.
6 years ago
Ryan Dwyer
854c5fbec8
Fix crash when fullscreen view closes on inactive workspace
...
When a view unmaps, normally the surviving ancestor (ie. after reaping)
needs to be arranged. When a fullscreen view unmaps, it arranges the
workspace rather than the surviving ancestor, but didn't handle cases
where the workspace itself was reaped. This happens if the workspace is
not currently shown and the fullscreen view was the last container on
that workspace.
This commit rewrites this part of view_unmap so it's more readable, and
fixes the crash by not arranging the workspace if it's been reaped. Note
that it no longer arranges the output under any circumstance - this
wasn't required anyway.
6 years ago
Ryan Dwyer
9e8d628a17
Deny "move container" when an empty workspace is focused
6 years ago
Brian Ashworth
5ac3509d54
Merge pull request #2408 from ianyfan/exit-nag
...
Change exit binding in default config to nag user, matching i3
6 years ago
Brian Ashworth
b16043aeeb
Merge branch 'master' into exit-nag
6 years ago
emersion
4eadf9f3ae
Merge pull request #2325 from emersion/wlr-gamma-control
...
Enable wlr-gamma-control-unstable-v1
6 years ago
emersion
3a54e2291c
Merge branch 'master' into wlr-gamma-control
6 years ago
Ryan Dwyer
e07da5fc5c
Merge pull request #2411 from emersion/fullscreen-pointer-input
...
Fix pointer events for fullscreen views
6 years ago
emersion
b336564511
Fix pointer events for fullscreen views
6 years ago
Drew DeVault
2ecba101fd
Merge pull request #2410 from minus7/fix-fullscreen
...
Fix crash on mouse motion on fullscreen container
6 years ago
minus
e72f86784c
Fix crash on mouse motion on fullscreen container
...
container_at expects a workspace, not the fullscreened container.
Fixes #2409
6 years ago
Ian Fan
94888e58a2
config.in: nag user on exit
6 years ago
Drew DeVault
3eda76de48
Merge pull request #2407 from RyanDwyer/fix-popups-v3
...
Fix popups v3
6 years ago
Ryan Dwyer
787f08da7f
Convert toplevel coordinates to output-local
6 years ago
Ryan Dwyer
8392eae40f
Revert "Revert "Fix popups""
...
This reverts commit 9aa258d33a
.
Reverting the revert, so that popups can be fixed.
6 years ago
Drew DeVault
ea14ef4095
Merge pull request #2366 from RedSoxFan/nagbar
...
Implement swaynag
6 years ago
Ryan Dwyer
706c0fbe23
Merge branch 'master' into nagbar
6 years ago
Drew DeVault
9aa258d33a
Revert "Fix popups"
...
This reverts commit de86d65627
.
6 years ago
Drew DeVault
8e60f6a732
Merge pull request #2404 from RyanDwyer/move-containers-when-workspace-focused
...
Allow moving containers when workspace itself is focused
6 years ago
Drew DeVault
23b5124a4d
Merge pull request #2403 from RyanDwyer/fix-transaction-unmap
...
Fix race condition crashes when unmapping views
6 years ago
Drew DeVault
eec25ce60e
Merge pull request #2406 from RyanDwyer/fix-focus-crashes
...
Fix focus related crashes
6 years ago
emersion
e2eaf7b9b5
Merge pull request #2405 from marienz/sigmask
...
Reset signal mask after fork
6 years ago
Ryan Dwyer
9339026a31
Fix focus related crashes
...
* seat_set_focus_warp lacked a container NULL check
* view mapping code needs to use seat_get_focus_inactive
Also, seat_set_focus_warp triggered the wrong IPC event if focus was a
workspace, which resulted in swaybar not showing the workspace as
active.
6 years ago