S. Christoffer Eliesen
abc5fbfaec
Learn "gaps edge_gaps <on|off|toggle>".
...
When yes, the old behaviour of adding half the inner gap around each
view is used.
When no, don't add any gap when an edge of the view aligns with the
workspace. The result is inner gap only between views, not against the
workspace edge.
The algorithm is not perfect because it means the extra space is
distributed amongst edge-aligned views only, but it's simple, looks good
and it works.
9 years ago
S. Christoffer Eliesen
af31a3f04a
commands: Learn 'move workspace to output <direction|name>'.
9 years ago
S. Christoffer Eliesen
3c250e78be
layout: get_swayc_in_direction: Properly find adjacent outputs.
9 years ago
S. Christoffer Eliesen
fede354a3d
layout: Don't reset container size if it's a floating window.
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
taiyu
4944996170
Merge branch 'master' of https://github.com/taiyu-len/sway
...
merge
9 years ago
taiyu
6c33f8122a
#184
9 years ago
taiyu
9fd2d635a1
container_move check
9 years ago
taiyu
0de29d8247
prevent views from disappearing
9 years ago
taiyu
dbeca88dee
default gap value
9 years ago
taiyu
79da7f112a
#151 fix
9 years ago
Luminarys
167409702f
Fixed move scratchpad and added in scratchpad show
9 years ago
Luminarys
7eefecf479
Added in scratchpad adding
9 years ago
taiyu
63e735270c
move v3
9 years ago
taiyu
28c22c8f80
style
9 years ago
taiyu
c9de300888
layout fix for a certain case
9 years ago
taiyu
076cf78d7c
dont move floating contaienrs
9 years ago
taiyu
1820b3f0bb
move function redone
9 years ago
taiyu
5678d824e4
update visibility + container info functions
9 years ago
taiyu
4df64127e9
slight fix
9 years ago
taiyu
274e56a602
fixed move_container bug, log prints before aborting
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
03e4a97dbe
added "move container to workspace"
...
makes the previous commit actually testable
9 years ago
taiyu
dbad30a409
add limit to swayc_in_direction
9 years ago
taiyu
51ab3c9180
merge
9 years ago
taiyu
f53ce887e8
fixed container resize oddity
9 years ago
taiyu
e139de0857
floating/tiling move + floating resize cleaned and fixed
9 years ago
Drew DeVault
1fd5962aeb
Fix minor bug with output positioning
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
Luminarys
f6b16ca089
Refactored resizing functions into resize.c
9 years ago
taiyu
d2e1c660b1
swayc_is_fullscreen
9 years ago
taiyu
1a1ac64662
bugfixes, renames
9 years ago
minus
8dfaf6265b
fixed #108 signed/unsigned comparison
9 years ago
Drew DeVault
a436fc17ff
Merge pull request #105 from Half-Shot/master
...
Basic 'move' functionality.
9 years ago
Drew DeVault
464b49eda2
Merge pull request #101 from Luminarys/master
...
Added in basic resizing command.
9 years ago
Luminarys
461da7f87f
Added in bspwm like mouse resizing
9 years ago
Luminarys
f589731f29
Rewrite of resize command to make it more sane
9 years ago
Half-Shot
68213d57c5
Fixed style errors
9 years ago
Half-Shot
713bf29ec9
Few stray bits
9 years ago
Half-Shot
5a9ba261bc
Merge branch 'master' of https://github.com/SirCmpwn/sway
9 years ago
Half-Shot
2a62c5c7fb
Basic left right move command implemented.
9 years ago
taiyu
36e07e9ebc
find_parent_by_type
9 years ago
Luminarys
c9935507f2
Style fixes
9 years ago
Luminarys
bc3babf566
Added in basic resize command
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
b76dcf6e0f
unnessesary log
9 years ago
taiyu
fbaa9111a8
setup for resizable windows, drop weight
9 years ago
Drew DeVault
14947c92aa
Merge pull request #94 from taiyu-len/master
...
input_state.ch, and command conflicts resolved
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
taiyu
1d9b73ed67
remove debug message
9 years ago
taiyu
5ff0619ca1
input state, find_container_in_direction
9 years ago
taiyu
6f424ff6b8
fixed default active_workspace, and more use of set_focused_container_for(...)
9 years ago
taiyu
e16a4015ff
fixed focus key handler
9 years ago
taiyu
6dc1ae802b
focus to only child
9 years ago
Luminarys
7137be9a3f
Fixes to make floating windows work better
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
Luminarys
a7c045a520
Patched for wlc updates
9 years ago
taiyu
03e83c7ef9
restored fullscreen/focus behavior
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
af1b3d9755
fixed floating window crashing bug
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
9835845e22
Fix segfault from focus_view
9 years ago
Luminarys
47ec999e71
Fixes to floating and umanaged views
9 years ago
Luminarys
05f969074e
Added in basic floating toggling
9 years ago
taiyu
f1d5305dc6
fix
9 years ago
taiyu
4077238782
sends hidden views to back, visible view to front
9 years ago
taiyu
c024f06631
handle_view_state_request
9 years ago
Drew DeVault
19c0ec6a08
Fix movement between outputs
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
56814310e0
Fixed reloading and arrange_windows
9 years ago
Luminarys
618b3df051
Fixed workspace switching in multimonitor layouts
9 years ago
Luminarys
b01a04f22b
Added layout debugger back in and fixed mutlimonitor layout issues
9 years ago
taiyu
f3a970e24e
fixed focus
9 years ago
taiyu
cd0cdc28aa
fixed focus
9 years ago
Taiyu
60d840fe3f
style
9 years ago
Taiyu
b8cba33c01
changed swayc related functions, cleaned up some functions, moved wlc related things into handlers
9 years ago
Drew DeVault
96d7ff1e19
Slightly better multihead support
9 years ago
Drew DeVault
dd115cece3
Prevent passing WM keys, improve multihead support
9 years ago
Taiyu
beabb12d63
destroys empty workspace + minor bugfixes
9 years ago
Drew DeVault
c10fc5b526
Set view->visible to true when created
9 years ago
Jose Diez
8cc2c6fa7a
Basic workspace functionality
9 years ago
Drew DeVault
9c3a04b996
Focus unmanaged windows when created
9 years ago
Drew DeVault
06bca18a09
Fix issue with untitled windows
9 years ago
Drew DeVault
c12d0f1a62
Finish up fullscreen command
9 years ago
Drew DeVault
0078a6fa36
Flesh out fullscreen support a bit
9 years ago
jdiez17
b922e1cb29
fullscreen: partially working
9 years ago
Drew DeVault
2b1a0728b8
Keep track of window names
9 years ago
jdiez17
56d29bbec5
log: add newline
9 years ago
Drew DeVault
9f091c7f82
Add movement support
9 years ago
Drew DeVault
1669da719c
Destroy containers when all views are removed
9 years ago