mirror of
https://github.com/swaywm/sway.git
synced 2026-04-29 06:46:22 -04:00
Changed to used list_getp
This commit is contained in:
parent
a4eeedfa34
commit
508200e83d
38 changed files with 249 additions and 249 deletions
|
|
@ -17,7 +17,7 @@ struct cmd_results *cmd_floating_mod(int argc, char **argv) {
|
|||
|
||||
// set modifier keys
|
||||
for (size_t i = 0; i < split->length; ++i) {
|
||||
config->floating_mod |= get_modifier_mask_by_name(*(char **)list_get(split, i));
|
||||
config->floating_mod |= get_modifier_mask_by_name(list_getp(split, i));
|
||||
}
|
||||
free_flat_list(split);
|
||||
if (!config->floating_mod) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue