awesome/lib/wibox/layout
Uli Schlachter 983d094c76 wibox.layout.base.rect_to_device_geometry: Fix for "weird" rotations
The old code transformed the top-left and bottom-right corner of the rectangle
to device space and calculated a rectangle based on these two points. However,
if you rotate a rectangle by 45°, these two points will be directly above each
other and thus the old code would calculate a width of 0.

Fix this by transforming all four corners of the rectangle into device space and
calculating a rectangle based on this.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-10-05 10:47:39 +02:00
..
align.lua.in Added Comments 2014-03-13 12:11:20 +01:00
base.lua.in wibox.layout.base.rect_to_device_geometry: Fix for "weird" rotations 2014-10-05 10:47:39 +02:00
constraint.lua.in wibox: Add widget geometry cache 2013-08-21 12:26:47 +02:00
fixed.lua.in wibox.layout.fixed: Fix fill space 2013-10-03 15:44:45 +02:00
flex.lua.in Fixed Flex Layout Fit Behavior 2014-03-13 12:05:50 +01:00
init.lua.in wibox.layout: add a new constraint layout 2013-01-05 23:05:30 +01:00
margin.lua.in wibox.layout.margin: Add margins color parameter 2014-01-20 17:28:04 +01:00
mirror.lua.in wibox: Add widget geometry cache 2013-08-21 12:26:47 +02:00
rotate.lua.in wibox: Add widget geometry cache 2013-08-21 12:26:47 +02:00