awesome/objects
Uli Schlachter 21b7b29630 xwindow_translate_for_gravity: Change instead of set argument
Previously, this function overwrote the value of its argument with the
result. After this change, the function merely changes the given
variable by the calculated argument.

Thus, the old behaviour is achieved by setting the variable to zero
before the call, which all callers already did. However, for most
callers this change means that a temporary variable can be removed and
instead xwindow_translate_for_gravity() will directly change the target
variable.

No change in behaviour intended.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-08-17 09:58:30 +02:00
..
button.c doc: Add missing C-object documentation and fix some papercuts. 2018-07-25 18:26:11 -04:00
button.h Clean up header includes 2014-03-30 20:07:48 +02:00
client.c xwindow_translate_for_gravity: Change instead of set argument 2018-08-17 09:58:30 +02:00
client.h client: Add client_set_startup_id definition (#2318) 2018-07-25 18:03:09 -04:00
drawable.c Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
drawable.h drawable/drawin: Pass both lua_State and stack index around 2014-12-06 10:46:45 +01:00
drawin.c Remove systray_cleanup() from drawin_systray_kickout() (#2301) 2018-07-20 14:11:09 +03:00
drawin.h Partly fix removal of systray from a wibox 2017-03-11 18:14:38 +01:00
key.c doc: Add missing C-object documentation and fix some papercuts. 2018-07-25 18:26:11 -04:00
key.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
screen.c doc: Add missing C-object documentation and fix some papercuts. 2018-07-25 18:26:11 -04:00
screen.h client_resize(): Stop trying to force on screen 2017-05-15 08:15:38 +02:00
tag.c doc: Add missing C-object documentation and fix some papercuts. 2018-07-25 18:26:11 -04:00
tag.h Attempt at better handling of NET_CURRENT_DESKTOP property. 2016-06-04 16:42:54 +03:00
window.c Make alpha work on window borders 2018-03-03 10:57:48 +01:00
window.h geometry: Use the relevant rounding functions instead of integers 2016-04-18 04:20:22 -04:00