bling/module
eylles 7542251b72
Improved swallowing (#140)
* Make swallowing more robust

Changed the flags for the pstree command so it is a single line with all
ancestors.
Removed usage of sed, grep and tr so the iopopen call should be faster.
Find and match of parent pid in the ancestors string is done in lua so
should be faster.

* Improved swallow filter

Now you cna filter window swallowing with 2 tables, one for clients that
cannot be swallowed (dont_swallow_classname_list) and one for clients
that cannot swallow their parents (cant_swallow_classname_list).

* remove occurences of res var

* renamed functions and theme vars more descriptive

* updated module documentation

* check functions combined, is_in_table  1 return

* add old theme vars for compatibility

* short swallow logic and robust filter assignment

* ignore splash and dialog parents

this prevents krita and similar missbehaving programs from swallowing their
splash window.

* consistent docs formatting

* convert module to use an async function

* removed undefined error() function call
this was probably an error handling/logging on the code i used as template for
the async function and it's callback.

* deal with corner case: parent exits before client

if the parent is destroyed "on background" then awesome will show a warning.

* added meself to authors

i don't see my additions as substantial enough to justify this but... ¯\_(ツ)_/¯
2022-01-04 11:14:12 +01:00
..
flash_focus.lua Auto: format source code 2021-08-27 18:01:22 +00:00
init.lua Auto: format source code 2021-08-27 18:01:22 +00:00
scratchpad.lua Fix handling of signals in scratchpad when client is nil (#148; closes #146) 2021-12-14 20:29:32 +01:00
tabbed.lua Add tabbar_{fg,bg}_{normal, focus}_inactive theme vars (#114); closes #112 2021-10-03 16:19:17 +02:00
tiled_wallpaper.lua Auto: format source code 2021-08-27 18:01:22 +00:00
wallpaper.lua Auto: format source code 2021-09-07 20:41:10 +00:00
window_swallowing.lua Improved swallowing (#140) 2022-01-04 11:14:12 +01:00