frsfnrrg
ca061ba8bf
Fix keyboard shortcut handling inconsistencies
...
* Ensure that modifier keys are identified even when the next key does
not produce a keysym. This requires that modifier change tracking
be done for each sway_shortcut_state.
* Permit regular and --release shortcuts on the same key combination.
Distinct bindings are identified for press and release cases; note
that the release binding needs to be identified for both key press
and key release events.
* Maintain ascending sort order for the shortcut state list, and keep
track of the number of pressed key ids, for simpler (and hence
faster) searching of the list of key bindings.
* Move binding duplicate detection into get_active_binding to avoid
duplicating error messages.
7 years ago
frsfnrrg
b23cd827cf
Sort binding key lists
...
Sort the list comprising the set of keys for the binding in ascending
order. (Keyboard shortcuts depend only on the set of simultaneously
pressed keys, not their order, so this change should have no external
effect.) This simplifies comparisons between bindings.
7 years ago
Ryan Dwyer
9e96cfd310
Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Drew DeVault
867fb6aedb
Merge pull request #2124 from emersion/drag-icons
...
Render drag icons
7 years ago
Drew DeVault
d9fc381e02
Merge pull request #2047 from natesymer/master
...
Implement Gaps
7 years ago
Nate Symer
6a910b9ba5
Implement gaps (PR #2047 )
7 years ago
emersion
cfd02918c0
Render drag icons
7 years ago
emersion
21d98d5bfb
Merge pull request #2123 from emersion/fix-disabled-outputs
...
Fix compilation errors related to disabled outputs
7 years ago
emersion
88cd7616db
Fix compilation errors related to disabled outputs
7 years ago
Ryan Dwyer
bb66e6d578
Refactor everything that needs to arrange windows
...
* The arrange_foo functions are now replaced with arrange_and_commit, or
with manually created transactions and arrange_windows x2.
* The arrange functions are now only called from the highest level
functions rather than from both high level and low level functions.
* Due to the previous point, view_set_fullscreen_raw and
view_set_fullscreen are both merged into one function again.
* Floating and fullscreen are now working with transactions.
7 years ago
Ryan Dwyer
f9e6d703d2
Make main properties be the pending state
7 years ago
Ryan Dwyer
59c9488701
WIP: Atomic layout updates ground work
7 years ago
Ryan Dwyer
0b798ed954
Merge pull request #2115 from RedSoxFan/restore-workspaces
...
Restore workspaces to output when re-enabled
7 years ago
Brian Ashworth
e2b2fb0a0e
Switch restore workspaces to a nested for-loop
7 years ago
Brian Ashworth
5c9a917df9
Restore workspaces to outputs based on priority
7 years ago
emersion
c65c84444e
Merge pull request #2121 from martinetd/swaylock-ctrl-u
...
swaylock: implement ^U to clear buffer
7 years ago
Dominique Martinet
c78ce0770a
swaylock: implement ^U to clear buffer
...
The whole state->xcb.modifiers thing didn't work at all (always 0)
The xkb doc says "[xkb_state_serialize_mods] should not be used in
regular clients; please use the xkb_state_mod_*_is_active API instead"
so here it is
7 years ago
emersion
acf71fe805
Merge pull request #2119 from martinetd/gcc-strtruncation
...
sway/criteria: gcc string truncation warning fix
7 years ago
emersion
231c72a141
Merge pull request #2120 from martinetd/swayidle-zombies
...
Swayidle: doublefork to not leave zombies around
7 years ago
Dominique Martinet
720313e185
sway/criteria: gcc string truncation warning fix
7 years ago
Dominique Martinet
d26a0a1a6e
sway exec command: use waitpid instead of wait
7 years ago
Dominique Martinet
2477930d90
swayidle: doublefork to not leave zombies around
7 years ago
emersion
bf6ca69ae8
Merge pull request #2118 from RedSoxFan/fix-2117
...
Remove strip quoting and fix strncpy-overlap
7 years ago
Brian Ashworth
212e4ef395
Remove strip quoting and fix strncpy-overlap
7 years ago
emersion
07bee8cffe
Merge pull request #2084 from RedSoxFan/runtime-var-expansion
...
Runtime variable expansion
7 years ago
emersion
2e289831ee
Merge pull request #2108 from RedSoxFan/store-outputs
...
Allow outputs to be re-enabled
7 years ago
Brian Ashworth
e072fbc6d9
Switch output storing from list_t to wl_list
7 years ago
Brian Ashworth
a0bbe67076
Address emersions comments on output re-enabling
7 years ago
Brian Ashworth
a1b5b93d29
Store sway_outputs so that they can be reenabled
7 years ago
Ryan Dwyer
22c1c4beb4
Merge pull request #2116 from RedSoxFan/fix-2113
...
Fix focusing after splitting tabs/stacks
7 years ago
Brian Ashworth
82b3b587dd
Remove tab/stack check for focusing after a split
7 years ago
Brian Ashworth
e7261e2917
Fix focusing after splitting tabs/stacks
7 years ago
emersion
b1e72461cf
Merge pull request #2110 from smlx/initialise-cursor-previous
...
Initialise previous cursor position.
7 years ago
Scott Leggett
609c420501
Initialise previous cursor position.
...
Fix the problem with focus jumping to the container under the cursor
when first starting sway.
7 years ago
emersion
cac400a40b
Merge pull request #2107 from tobiasblass/remove_suspicious_return
...
Remove suspicious unconditional return
7 years ago
Tobias Blass
d6d292897f
Remove suspicious unconditional return
...
This return effectively disables the log_kernel function
7 years ago
Brian Ashworth
f4870d5432
Fix logic issue in do_var_replacement
7 years ago
Brian Ashworth
067fe9d047
Support runtime var expansion and set at runtime
7 years ago
emersion
0f71547032
Merge pull request #2095 from emersion/fullscreen-damage-only-visible
...
Only send frame to visible surfaces when fullscreened
7 years ago
emersion
6b9ffbad20
Merge pull request #2103 from RyanDwyer/focus-fixes
...
Focus fixes
7 years ago
emersion
e410757fe8
Merge pull request #2106 from RedSoxFan/fix-2105
...
Fix movement crashes/issues
7 years ago
Brian Ashworth
9aaac8b8c8
Fix movement crashes/issues
7 years ago
Ryan Dwyer
1206a60977
Don't restore focus if unmapping surface wasn't focused
7 years ago
Ryan Dwyer
bcdb676abb
Don't set focus to NULL when clicking a surface which has no container
7 years ago
Ryan Dwyer
9253278328
Restore focus when unmapping layer shell surfaces
7 years ago
Ryan Dwyer
74799937cf
Restore focus when unmapping unmanaged xwayland surfaces
7 years ago
emersion
0549fd027b
Merge pull request #2087 from RedSoxFan/output-subcommand
...
Refactor cmd_output to use config_subcommand
7 years ago
emersion
6d0ad6a1ed
Merge pull request #2099 from RyanDwyer/fix-seat-get-active-child
...
Fix seat_get_active_child
7 years ago
emersion
4bc88772ec
Merge pull request #2100 from RyanDwyer/fix-workspace-orientation
...
Fix initial workspace orientation on a rotated output
7 years ago
Brian Ashworth
51fa988be9
Address review comments for output subcommands
7 years ago