awesome/lib/awful
Sergey Vlasov 61cdc40595 awful.placement: Fix no_offscreen when composed with other functions
The awful.placement.no_offscreen function did not work properly when
composed with other placement functions; in particular, the default
configuration (awful.placement.no_overlap+awful.placement.no_offscreen)
was broken.  The compose function sets args.pretend=true and puts the
result of the previous placement function into args.override_geometry
before calling the next placement function, but no_offscreen did not use
args.override_geometry, therefore the result of the previous placement
function was discarded.

All other placement functions use `geometry_common(c, args)` to get the
current client geometry; `area_common(c)` should be used only when
getting geometry of other clients.

This change also fixes the problem with margin handling (adding margins
should not affect the window size, only the window position should
change); the test output which was adjusted in commit 0275d3537d
is adjusted again to account for this change.

Signed-off-by: Sergey Vlasov <sigprof@gmail.com>
2018-09-13 08:23:36 +03:00
..
client Use memory shorter with awful.client.shape (#2051) 2017-10-07 18:22:50 +02:00
hotkeys_popup hotkey_popup: Use awful.keygrabber instead of capi.keygrabber 2018-08-06 19:03:25 -04:00
layout tile: Apply size hints correctly (#2305) 2018-07-21 20:53:30 +02:00
mouse Add support for gaps between snapped contents (#2208) 2018-04-22 02:02:52 -04:00
widget widget.common: Add custom sources for the taglist and tasklist. 2018-08-27 00:03:22 -04:00
autofocus.lua awful.autofocus: Discriminate sticky clients (#1697) 2017-05-13 23:32:28 +02:00
button.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
client.lua Remove unsatisifiable condition when destination screen is empty 2018-08-21 13:19:02 +02:00
completion.lua Add startswith and endswith function to gears.string, change awful.completion to use startswith over local function 2017-08-14 10:48:12 -05:00
dbus.lua Remove traces of the old URL (#1280) 2016-12-21 02:03:03 +01:00
ewmh.lua Merge pull request #2329 from Elv13/fix_minimize_activate 2018-08-03 18:07:50 -04:00
init.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00
key.lua awful.key: Add more fields to the description 2018-07-29 10:45:40 -04:00
keygrabber.lua keygrabber: Refactor to be an object instead of a function. 2018-08-06 19:03:25 -04:00
menu.lua Fix documentation of awful.menu.new 2018-08-17 14:20:31 +02:00
placement.lua awful.placement: Fix no_offscreen when composed with other functions 2018-09-13 08:23:36 +03:00
prompt.lua minor: check textbox earlier, whitespace 2017-06-27 00:04:40 +02:00
remote.lua awful.remote: Run code in a protected context (#2203) 2018-03-12 22:51:11 -04:00
rules.lua awful.rules: Also check for tag on other screens 2018-08-17 09:44:29 +02:00
screen.lua screen: Disable trying to auto-compute the DPI by default. 2017-11-23 23:28:32 -05:00
spawn.lua awful.spawn.read_lines: Shrink input stream buffer when done (#2289) 2018-06-26 09:56:32 -04:00
startup_notification.lua Add beautiful property to control busy cursor during spawn 2017-03-01 21:57:59 +01:00
tag.lua awful.tag.object.set_screen: Cope with screen being nil (#2202) 2018-03-12 22:50:44 -04:00
titlebar.lua doc: Add a titlebar example 2018-03-04 02:21:48 -05:00
tooltip.lua Enhance tooltip customization options (#2267) 2018-05-28 20:54:14 -04:00
util.lua Cleanup usages/patching of awful.util.deprecate (#1966) 2017-08-10 12:18:54 +02:00
wibar.lua doc: Mutualize the wibar and wibox constructor documentation. 2017-11-27 00:22:11 -05:00
wibox.lua doc: Add missing C-object documentation and fix some papercuts. 2018-07-25 18:26:11 -04:00