Mikkel Oscar Lyderik
2c43bd2ac8
Only update visibility if WS isn't destroyed after
...
No need to update visibility if the workspace will be destroyed right
after.
9 years ago
Mikkel Oscar Lyderik
50b04884b6
Trigger ipc_event_workspace in all cases
...
This makes sure that the workspace IPC event is triggered when needed.
Fixes #382 while making sure that the IPC event is only triggered once.
9 years ago
S. Christoffer Eliesen
18a7afa1b3
focus: Fix moving last workspace.
...
If there's only one workspace on an output and it's moved to a different
output then active workspace will be NULL.
9 years ago
Kevin Hamacher
64a183b23d
Fix dangling pointer on focus swap/describe WS
9 years ago
Drew DeVault
7868e44d3f
Notify IPC on workspace changes more frequently
9 years ago
Kevin Hamacher
d77d03ce84
Make destroy_workspace behave as expected
9 years ago
Drew DeVault
9b9d968cbf
Fix for_window [...] move scratchpad correctly
9 years ago
Drew DeVault
d098c620fe
Revert "Fix bug with for_window [...] move scratchpad"
...
This reverts commit 0796b0c475
.
9 years ago
Drew DeVault
0796b0c475
Fix bug with for_window [...] move scratchpad
9 years ago
Drew DeVault
27f03c705d
Move IPC client into common, refactor IPC
9 years ago
Mikkel Oscar Lyderik
d5b5d92b30
Include header declaring ipc_event_workpace(2)
9 years ago
taiyu
65d71d0a5e
put ipc_event_workspace in update_focus
9 years ago
S. Christoffer Eliesen
78ca619769
commands: Learn mouse_warping.
...
Place mouse at center of focused view when changing to a workspace on a
different output, if option is enabled. (This replicates existing i3
option.)
This can be triggered in multiple ways:
A) via `workspace <name>` which changes output
B) via `focus <direction>` which changes output
C) via `focus output <name>` which (obviously) changes output
9 years ago
S. Christoffer Eliesen
5a70853253
log: Add swayc_log, use at a few key places.
...
swayc_log works just like sway_log, but appends type and name from given
container to the log output.
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
taiyu
5678d824e4
update visibility + container info functions
9 years ago
taiyu
225c2fbe5b
fixed segfault on exit + a little fixup of that floatfocus pr
9 years ago
minus
ca89ba83a8
changed view visibility to be bool
...
view_visibility enum remains with one constant that is the mask to wlc's view masking
9 years ago
minus
f22c937953
refactored view visibility
...
- replace visibilty mask integers with an enum
- set output's visibilty mask on creation
- added update_visibility to manually update a containers visibility (e.g. when it moved to an invisible workspace)
9 years ago
taiyu
36cd180f02
fixed vanishing floating view
9 years ago
taiyu
1a1ac64662
bugfixes, renames
9 years ago
taiyu
f5fde7c45c
style
9 years ago
taiyu
686780f12d
another small fix to move_focus
9 years ago
taiyu
66e82a68fc
small fix
9 years ago
taiyu
5ff0619ca1
input state, find_container_in_direction
9 years ago
taiyu
a31f23f90c
fixed active_workspace update on focus change
9 years ago
taiyu
c5a6982893
fixed some more bugs, moved layout_log into log.ch, restored focus_parent
10 years ago
taiyu
1bf02144e5
fixed floating_modifier related things
10 years ago
taiyu
2f40459de4
fixed focus on fullscreen view destroy
10 years ago
taiyu
03e83c7ef9
restored fullscreen/focus behavior
10 years ago
Drew DeVault
a64b10df83
Fix switching between focused outputs
10 years ago
Drew DeVault
2139001c9f
Coding style enforcement
...
This was done by hand, so I might have missed things. If anyone knows of
a good C style enforcement tool, let me know.
10 years ago
taiyu
b132f67e7b
minor fixes
10 years ago
taiyu
63bc0d3b54
more changes
10 years ago
taiyu
11321ca2dd
changed handling of focus, handling of view by type
10 years ago