Drew DeVault
416417a54c
Reorganize includes
8 years ago
Mykyta Holubakha
a2bc6f3bfd
Arrange backgrounds only when required
8 years ago
Drew DeVault
5a1d95ac2a
Move backgrounds to back after arrange_windows
...
Fixes #769
8 years ago
Drew DeVault
ff363aa7f7
Fix bug with views behind backgrounds on ws switch
9 years ago
Zandr Martin
2298143d09
cleanup + add timeouts for pid_workspace list
9 years ago
Zandr Martin
beaa03344e
clean up pid/workspace stuff
9 years ago
Mikkel Oscar Lyderik
1f8b6b86dd
Remove premature break
9 years ago
Daniel Lockyer
0ece17c717
sway/workspace.c: Cleanup some un-free'd memory
9 years ago
Mikkel Oscar Lyderik
8ddafeeaae
Fix assigning workspaces to outputs
...
It's possible to assign workspaces to certain outputs using the command:
workspace <name> output <output>
However, this did not work in some cases where the workspace was
assigned before the given output was made available to sway.
This patch fixes those cases.
9 years ago
Mikkel Oscar Lyderik
222f0d44fc
Strip quotes from workspace name.
...
Fix #444
This is a temporary fix, the real fix is to store the commands as a
formatted argv array, so they don't have to be reformatted all over the
place.
9 years ago
Drew DeVault
7647762bab
Fix default workspace name generation
...
This fixes the issue where workspace 10 ends up being the default.
9 years ago
progandy
8f1ac1ef2c
sway: enable workspace selection by number
9 years ago
Drew DeVault
f6da4dda4b
Bring unmanaged windows to front on output arrange
...
Fixes #312
9 years ago
Drew DeVault
7868e44d3f
Notify IPC on workspace changes more frequently
9 years ago
S. Christoffer Eliesen
2d0f78c0d6
workspace: Learn sticky.
...
A floating window that's sticky will move to the new active workspace
whenever the workspace on the same output changes.
9 years ago
S. Christoffer Eliesen
0a78af0acc
workspace: Improve workspace_next_name.
...
This function looks for bound commands that start with `workspace` (ie.
the commands that change to a static workspace) and fetches the
workspace name.
However, if it's actually a list of commands, then the parsing will pick
up the delimiter ("," or ";") and also fail to recognize keywords
("next" etc).
This patch fixes that by properly separating with delimiters.
9 years ago
taiyu
65d71d0a5e
put ipc_event_workspace in update_focus
9 years ago
minus
9925554ea4
implemented IPC subscribe for workspace event
9 years ago
S. Christoffer Eliesen
c1479701de
seamless_mouse: Move pointer only if successfully changed workspace.
...
If e.g. a window has a popup open then that will lock the current focus,
making a workspace switch denied.
So don't move the mouse pointer in such cases.
9 years ago
Drew DeVault
318e1be240
Fix warnings introduced by prior commit
9 years ago
Drew DeVault
e505abfe75
Revert "new_workspace null behavior + testmap functions + regex"
...
This reverts commit e1d18e42a8
.
Fixes #180
cc @taiyu-len
9 years ago
taiyu
e1d18e42a8
new_workspace null behavior + testmap functions + regex
9 years ago
taiyu
aaa0923bc4
cmd status + workspace ws output op
9 years ago
taiyu
972748e674
cleaned up leaky prev_workspace_name
9 years ago
Luminarys
12e96f0f9e
Added in workspace_auto_back_and_forth
9 years ago
Luminarys
fe2ec8a676
Added in workspace back_and_forth
9 years ago
minus
e854a54e96
changed workspace_{outout_,}{next,prev} to return workspace
...
so it can be reused for "move container to workspace next"
9 years ago
minus
1efda79bf2
refactored workspace_next/prev
9 years ago
taiyu
c8415d7fef
split_string memory leaks cleanedup
9 years ago
taiyu
1a1ac64662
bugfixes, renames
9 years ago
taiyu
36e07e9ebc
find_parent_by_type
9 years ago
taiyu
f5fde7c45c
style
9 years ago
taiyu
a31f23f90c
fixed active_workspace update on focus change
9 years ago
Drew DeVault
8fb2e7e34e
Merge pull request #79 from taiyu-len/master
...
fixed floating_modifier related things
9 years ago
Syed Amer Gilani
95517ac77e
fix a few possible memory leaks
9 years ago
taiyu
c5a6982893
fixed some more bugs, moved layout_log into log.ch, restored focus_parent
9 years ago
Luminarys
774e594714
Fixed full screen workspace switch focusing
9 years ago
taiyu
03e83c7ef9
restored fullscreen/focus behavior
9 years ago
Drew DeVault
a64b10df83
Fix switching between focused outputs
9 years ago
taiyu
11321ca2dd
changed handling of focus, handling of view by type
9 years ago
Luminarys
05f969074e
Added in basic floating toggling
9 years ago
Drew DeVault
be2635daa6
Fix format warnings
9 years ago
taiyu
f1d5305dc6
fix
9 years ago
taiyu
4077238782
sends hidden views to back, visible view to front
9 years ago
Luminarys
0a0fe18fd6
Added in workspace next/prev and workspace output_next/prev
9 years ago
Drew DeVault
ae536c21d3
Revert "get/set_userdata stores swayc_t *, fixed memory leak, minor changes."
9 years ago
taiyu
083d1eed1f
fixed 2 small memory leaks & adds format attribute to log.
9 years ago
Luminarys
469579835b
Fixed output focusing for workspace switch
9 years ago
Drew DeVault
7f9ed880b0
Rename variable in workspace.c
9 years ago
Drew DeVault
f606508bcc
Fix switching focus between outputs
9 years ago