mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
Added --window-image option to swaylock
This allows setting window specific images.
Also Changed:
- The colored background is _always_ drawn, to prevent non-fullscreen
images from leaking information.
- Added function list_arbitrary_insert, which allows insertion to a
list at an arbitrary location less than the capacity. It silently
fails otherwise.
This commit is contained in:
parent
4ce1ab8a26
commit
1ca5453678
3 changed files with 108 additions and 33 deletions
|
|
@ -12,6 +12,7 @@ void list_free(list_t *list);
|
|||
void list_foreach(list_t *list, void (*callback)(void* item));
|
||||
void list_add(list_t *list, void *item);
|
||||
void list_insert(list_t *list, int index, void *item);
|
||||
void list_arbitrary_insert(list_t *list, int index, void *item);
|
||||
void list_del(list_t *list, int index);
|
||||
void list_cat(list_t *list, list_t *source);
|
||||
// See qsort. Remember to use *_qsort functions as compare functions,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue