awesome/lib/wibox
Uli Schlachter 8882cf360a wibox: Fix mouse event handling
If you managed to press mouse button 4 exactly between two entries in the
taglist, the taglist would jump by two tags instead of just one. This is because
the mouse event was forwarded to both taglist items.

This happened because the calculation in wibox' find_widgets() was wrong. If you
have a widget at (1, 1) with a size of 1x1, then (1, 1) is the only point that
this widget covers. However, the math also included the pixels (2, 1), (1, 2)
and (2, 2) in the widget's extents. This is obviously wrong.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-30 19:56:07 +02:00
..
layout margin: Accept individual margins 2010-10-08 17:22:00 +02:00
widget wibox.widget.base: Use assert() instead of error() 2010-10-22 14:50:45 +02:00
init.lua.in wibox: Fix mouse event handling 2010-10-30 19:56:07 +02:00