Brian Ashworth
af87c7a1af
Address emersion's feedback on peek_line
7 years ago
Brian Ashworth
8bfa2def88
Address first round of review for generic blocks
7 years ago
Brian Ashworth
51bb9d8573
Support braces on next line for config blocks
7 years ago
Brian Ashworth
7c810dc344
Make command block implementation generic
7 years ago
frsfnrrg
c664d780cc
Comment to explain sway_shortcut_state lists
7 years ago
frsfnrrg
a056419ad7
Rewrite shortcut handling code to avoid hardcoded values
...
The same shortcut algorithm is now used for keycodes,
raw keysyms, and translated keysyms. Pressed keysyms
are now stored in association with the keycodes that
generated them. Modifier keycodes (and associated
keysyms) are identified retroactively by the subsequent
change to the modifier flags.
7 years ago
Ryan Dwyer
a2c1cb9072
Fix mpv damage issue when unfullscreening into floating
7 years ago
Ryan Dwyer
97672295ed
Don't unmaximize floating views
7 years ago
Ryan Dwyer
5b1601c2e3
Don't let xwayland views set position unless unmanaged
7 years ago
Ryan Dwyer
d4ed204d4d
Remove container_self_or_parent_floating
7 years ago
Ryan Dwyer
70f5d6fcf3
Rename container_set_geometry_from_view
7 years ago
Ryan Dwyer
e4e912ea91
Store swayc coordinates as layout-local
7 years ago
Ryan Dwyer
02de2a6f65
Rename set_maximized functions to set_tiled
7 years ago
Ryan Dwyer
13a4b0512e
Fix unfullscreening a floating view
7 years ago
Ryan Dwyer
aaba7642b3
Replace is_floating boolean with function
7 years ago
Ryan Dwyer
34f35f0bad
Use L_FLOATING instead of reapable boolean
7 years ago
Ryan Dwyer
1f2e399ade
Implement floating
7 years ago
Drew DeVault
1132efe42e
Send frame done to floating views
...
Also centers them on the screen when initially floated
In the future we'll need a more sophisticated solution than that
7 years ago
Drew DeVault
f3ab895916
Implement `floating enable`
7 years ago
Brian Ashworth
c81d0ef1e8
Support i3's legacy force_focus_wrapping command
7 years ago
emersion
1071785f56
Merge pull request #2060 from RedSoxFan/focus-wrapping
...
Implement focus_wrapping
7 years ago
Brian Ashworth
46da1dc32b
Implement focus_wrapping
7 years ago
Ryan Dwyer
7c7d24600b
Fix ancestor typos
7 years ago
Drew DeVault
b2c0ba5b18
Merge pull request #2050 from smlx/focus-fix
...
Focus containers only on entry.
7 years ago
frsfnrrg
a78a5684ea
Implement bindsym/bindcode --locked
...
Adds the --locked flag to bindsym and bindcode commands.
When a keyboard's associated seat has an exclusive client
(i.e, a screenlocker), then bindings are only executed if
they have the locked flag. When there is no such client,
this restriction is lifted.
7 years ago
Scott Leggett
1b8de39287
Move previous cursor_position inline.
7 years ago
Scott Leggett
4cd304e4ba
Store previous position in sway_cursor.
7 years ago
Ryan Dwyer
8fda41dab5
Merge branch 'master' into cmd-swap
7 years ago
emersion
36d5d4b40f
client/pool-buffer: munmap in destroy_buffer
7 years ago
emersion
cc10c7af65
swaylock: implement a proper render loop
7 years ago
Ryan Dwyer
d3dd7e5bae
Rename view_get_type to view_get_shell
7 years ago
Ryan Dwyer
484cc189e9
Add shell criteria token
...
Closes #2044 .
7 years ago
Scott Leggett
06098bef98
Focus containers only on entry.
7 years ago
Brian Ashworth
569f4e0e4c
Implement swap command
7 years ago
Ryan Dwyer
db38b9bbf3
Clean up container title functions
...
* Add and use lenient_strcat and lenient_strncat functions
* Rename `concatenate_child_titles` function as that's no longer what it
does
* Rename `container_notify_child_title_changed` because we only need to
notify that the tree structure has changed, not titles
* Don't notify parents when a child changes its title
* Update ancestor titles when changing a container's layout
* Eg. create nested tabs and change the inner container to stacking
* No need to store tree presentation in both container->name and
formatted_title
7 years ago
emersion
df61bfbb57
swaylock: remove unused field
7 years ago
emersion
cd0fca2ebf
Merge branch 'master' into fix-swaylock-hotplugging
7 years ago
Ryan Dwyer
4de137e021
Replace empty argument with void
7 years ago
Ryan Dwyer
f6c3682c05
Use constants for titlebar dimensions
7 years ago
Ryan Dwyer
efc07fb3d4
Don't track damage for views on inactive tabs
7 years ago
Ryan Dwyer
c08f9bf257
Implement tabbed layout
7 years ago
Brian Ashworth
82cd55a670
Fix border commands from changing focus
7 years ago
Ryan Dwyer
9d99e5c2e7
Swaylock: Allow per-output images
7 years ago
Ryan Dwyer
9fd28aea8c
Rebuild textures if needed when moving a container
...
When moving a container to an output which has a different scale than
the previous, rebuild the title and marks textures at the new scale.
Fixes #1999 .
7 years ago
emersion
b7ab7c0e66
Fix output hotplugging
7 years ago
emersion
e4dbafe4d8
Fix swaylock crashing when unplugging output
7 years ago
Ryan Dwyer
0e2cc0af30
Implement show_marks
7 years ago
Brian Ashworth
0944d3fd9c
Change scale from int32_t to double for pango
7 years ago
Dominique Martinet
89ae1792b5
sway: run commands without waiting for Xwayland
...
Xwayland is lazy now, there is no need to wait at all
7 years ago
Ryan Dwyer
4d1edfcba9
Change unmark implemention to match i3's
7 years ago