awesome/lib
Shay Agroskin 749422100e layout/fixed: Remove code duplication
The function has several expressions of the form
    if self._private.dir == "y" then
This patch stores the result of
    self._private.dir == "y"
to avoid code duplication.

Also remove the 'used_in_dir' and 'in_dir' variables since their values
can be calculated using other variables in the function and updating
them individually is error prone.

This patch doesn't do any functional changes.

Signed-off-by: Shay Agroskin <agrosshay@gmail.com>
2021-03-26 16:11:01 +03:00
..
awful tasklist: Fix documented function names (#3276) 2021-03-22 15:28:53 -07:00
beautiful client: Turn `rc.lua` logic into a new `request::border` signal. 2020-01-11 15:43:11 -08:00
gears fix(doc): gears.table.keys: s/integer keys/integer/ (#3293) 2021-03-22 12:05:17 -07:00
menubar Merge pull request #3070 from aDogCalledSpot/menubar_match_empty 2020-05-04 01:45:51 -07:00
naughty naughty: Correctly notify the client when a notification is dismissed. (#3184) 2021-03-22 00:03:37 -07:00
ruled `ruled.client` fixes (#3195) 2021-03-22 00:04:13 -07:00
wibox layout/fixed: Remove code duplication 2021-03-26 16:11:01 +03:00
beautiful.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00
naughty.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00