Mikkel Oscar Lyderik
364e37a1eb
Fix whitespace issues.
9 years ago
Mikkel Oscar Lyderik
16b8c2e915
Handle SIGTERM sent to sway
...
This makes sway handle and gracefully shut down everything when
receiving a SIGTERM.
Fix #416
9 years ago
S. Christoffer Eliesen
ce54b4ff2e
container: Fix inner gaps against screen edge.
9 years ago
Mikkel Oscar Lyderik
90ff36cab8
Terminate children when freeing output container
9 years ago
Mikkel Oscar Lyderik
ede27eabc5
Reload swaybar/swaybg on config reload.
...
This works by tracking the pids of the child processes in the related
output container and terminating the processes and spawning new ones on
a config reload.
Should solve: #347
9 years ago
progandy
76c520a04b
sway: insert numbered workspaces in order
...
fixes #308
Ordered by number ascending, with insert before same numbers.
Workspaces without numbers are appended at the end of the list.
Example order:
1 2:named 3:the_second 3:the_first 9 FIRST_NAME SECOND_NAME ...
9 years ago
Drew DeVault
f6da4dda4b
Bring unmanaged windows to front on output arrange
...
Fixes #312
9 years ago
Kevin Hamacher
d77d03ce84
Make destroy_workspace behave as expected
9 years ago
Christoph Gysin
bf5244b49c
Fix using last output config if none matched
9 years ago
Drew DeVault
1661edee28
Allow output config for output named *
...
Which will match any output.
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
4367e6d3e3
container: Store app_id attribute for views.
9 years ago
S. Christoffer Eliesen
47c313fe3e
container: Store class attribute for views.
9 years ago
Drew DeVault
95442dac8d
We wlc_point now
...
cc @Cloudef
9 years ago
S. Christoffer Eliesen
5ba47d4a44
input_state: Remove mouse_origin (x&y). Query wlc instead.
9 years ago
S. Christoffer Eliesen
865b30f138
container: Move container_under_pointer here from handlers.
9 years ago
S. Christoffer Eliesen
ca862a5bd4
config: Apply output config also during config reload.
9 years ago
S. Christoffer Eliesen
6eb8da0e14
commands,container: Tweak debug output to better reflect reality.
9 years ago
taiyu
0d51f62224
merge + no c_extensions
9 years ago
taiyu
d2e2b04bfd
minor fix
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
f25c6b312b
gap resize
9 years ago
taiyu
dbeca88dee
default gap value
9 years ago
taiyu
09c9ee76c3
properly remove children in loops
9 years ago
taiyu
4757ea6a12
forgot visibility of floating containers
9 years ago
taiyu
5678d824e4
update visibility + container info functions
9 years ago
taiyu
dfe0dda8d0
proper visibility update
9 years ago
taiyu
da79bd65de
use previous outputs
9 years ago
Luminarys
acb3fbdfb5
Added in default_orientation handling
9 years ago
taiyu
0a74364656
update visibility for moved workspaces
9 years ago
taiyu
d115335951
move workspace from dead output to other output
9 years ago
taiyu
4df64127e9
slight fix
9 years ago
minus
6bbfd65735
fixed container_map
...
applies to the passed in container now as well.
fixes workspaces staying always marked visible.
also set workspaces to not visible by default; happens when you move a
container to a new workspace that thus is not visible
9 years ago
taiyu
357af228d6
some function documentation, fixed gaps on config reload
9 years ago
taiyu
1fa7a91bfb
move_container_to fixup
9 years ago
taiyu
225c2fbe5b
fixed segfault on exit + a little fixup of that floatfocus pr
9 years ago
minus
9535305137
fixed moving to other output and visibility
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
dbad30a409
add limit to swayc_in_direction
9 years ago
Luminarys
e01cf0b566
Added in glitchy disabling
9 years ago
Luminarys
98fad060e2
Added in glitchy disabling
9 years ago
taiyu
36cd180f02
fixed vanishing floating view
9 years ago
Drew DeVault
07229edfe6
Implement output positioning
...
🎉
9 years ago
Drew DeVault
eac0920f49
Set x/y positions for output containers
9 years ago
Drew DeVault
232940f813
Whoops
...
Regards to @Cloudef
9 years ago
Drew DeVault
b7f4607544
Implement output configuration through config
...
Do not use `output res WIDTHxHEIGHT` yet, wlc has issues with it (cc
@Cloudef)
9 years ago
taiyu
b05317c3a6
style
9 years ago
taiyu
de5196dc1e
comments + fixed leak
9 years ago
taiyu
1a1ac64662
bugfixes, renames
9 years ago
taiyu
36e07e9ebc
find_parent_by_type
9 years ago
taiyu
927ef0a5ec
Merge branch 'master' of https://github.com/SirCmpwn/sway
...
merging
9 years ago
Drew DeVault
95f5660897
Merge pull request #97 from taiyu-len/master
...
setup for resizable windows, drop weight
9 years ago
taiyu
f5fde7c45c
style
9 years ago
taiyu
f6e002fb8b
small fix, default width/height 0
9 years ago
taiyu
fbaa9111a8
setup for resizable windows, drop weight
9 years ago
KoffeinFlummi
3c124d9e7d
Change gap behaviour to more closely match i3-gaps
...
Previously, when only using inner gaps, the gap between a window at the
edge of the output was only half the size of the gaps between views.
Additionally, the gaps between the actual windows was twice as wide as
it was on i3-gaps.
9 years ago
Drew DeVault
74c9df0c07
Fix error with workspace/output name matching
9 years ago
taiyu
6f424ff6b8
fixed default active_workspace, and more use of set_focused_container_for(...)
9 years ago
taiyu
c5a6982893
fixed some more bugs, moved layout_log into log.ch, restored focus_parent
9 years ago
taiyu
1bf02144e5
fixed floating_modifier related things
9 years ago
Luminarys
f718556a85
Removed debugging, added in proper gap resets for config reloads
9 years ago
Drew DeVault
cf916bbf6f
Improvements to gaps
9 years ago
KoffeinFlummi
c75d5ceba4
Merge remote-tracking branch 'upstream/master' into gaps
9 years ago
KoffeinFlummi
4c688cba4e
Add support for gaps option
9 years ago
taiyu
03e83c7ef9
restored fullscreen/focus behavior
9 years ago
Drew DeVault
a64b10df83
Fix switching between focused outputs
9 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.
9 years ago
taiyu
63bc0d3b54
more changes
9 years ago
taiyu
11321ca2dd
changed handling of focus, handling of view by type
9 years ago
Drew DeVault
780893a933
Add support for workspace [name] output [name]
9 years ago
taiyu
f832c02065
fixed when views dont have names.
9 years ago
Luminarys
c9ce8bf1bd
Style and other minor fixes
9 years ago
Luminarys
47ec999e71
Fixes to floating and umanaged views
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
498cf268f7
unmanaged views handled better
9 years ago
taiyu
5b860c67c3
fixed split [vh], small memory leak, unescape_strings handle \xnn
9 years ago
Drew DeVault
4a5828370c
Log output name when added to tree
9 years ago
Drew DeVault
e64e61779e
Set C_OUTPUT name to name from wlc
9 years ago
Drew DeVault
ae536c21d3
Revert "get/set_userdata stores swayc_t *, fixed memory leak, minor changes."
9 years ago
taiyu
eefc76b39e
set userdata for handler to swayc_t container
9 years ago
taiyu
083d1eed1f
fixed 2 small memory leaks & adds format attribute to log.
9 years ago
Drew DeVault
f606508bcc
Fix switching focus between outputs
9 years ago
Drew DeVault
8b90f283bc
Merge pull request #31 from Luminarys/master
...
Multi output fixes
9 years ago
Luminarys
b97d8756a8
Minor style fix
9 years ago
Luminarys
9ba914747e
Removed alignment
9 years ago
Luminarys
9b0196e7ed
Style fixes
9 years ago
Luminarys
618b3df051
Fixed workspace switching in multimonitor layouts
9 years ago
taiyu
9bb2788768
fixed split
9 years ago
Taiyu
b8cba33c01
changed swayc related functions, cleaned up some functions, moved wlc related things into handlers
9 years ago
Taiyu
f7cee6a1b9
fixed 'return NULL' in 'void continer_map(...)'
9 years ago
Jose Diez
8cc2c6fa7a
Basic workspace functionality
9 years ago