awesome/lib
Uli Schlachter f859131bf3 wibox.widget.systray: Properly work when rotated (FS#1115)
The systray widget's fit() function worked in the (rotated) user coordinate
space while the draw() function used device coordinates (unrotated). This meant
that width and height were swapped up in the calculations and the systray ended
up being way too small.

Fix this by making the draw() function use user coordinates, too. This means
that it needs some new magic to detect a rotated coordinate space. This, in
turn, means that the systray is now automatically rotated when you put it into a
rotate layout.

This might cause some minor breakage because people no longer need to call
:set_horizontal() on the widgets.

Thanks a lot to Alexander Gehrke for his help!

Signed-off-by: Uli Schlachter <psychon@znc.in>
2013-02-16 22:14:08 +01:00
..
awful Incorrect calculation of unused size (FS#1108) 2013-02-11 16:10:48 +01:00
gears gears.wallpaper: Create smaller image surface (FS#1087) 2013-02-12 15:15:16 +01:00
menubar menubar: Treat KP_Enter as pressing Enter (FS#1072) 2013-01-10 17:01:41 +01:00
wibox wibox.widget.systray: Properly work when rotated (FS#1115) 2013-02-16 22:14:08 +01:00
beautiful.lua.in Fix errors from missing themes 2012-11-27 22:55:42 +01:00
naughty.lua.in naughty: Fix docs a little 2012-12-16 11:40:06 +01:00