Uli Schlachter
6b972ffde0
widgets: Add mouse::{enter,leave} signals
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 21:17:05 +02:00
Uli Schlachter
4af11b821c
Whoops, fix wibox signals
...
emit_signal() already adds the object as the first argument, so we don't have to
add it ourselves.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 20:46:11 +02:00
Uli Schlachter
18799f32f8
Emit mouse::move signals when we get a motionnotify
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 20:44:22 +02:00
Uli Schlachter
ebcda492a1
wibox.layout.fixed: Always draw "empty" widgets
...
If a widget has a width/height of 0, we can safely draw it without running out
of the available space. This code checks if we got enough space after we now how
much space the next widget wants.
This fixes the systray. It has to be drawn at least once so that the C core can
set up stuff correctly. However, thanks to the systray having a width of 0, it
wasn't drawn by the layout.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 19:47:34 +02:00
Uli Schlachter
1fab3aa745
wibox.layout.align: Bugfix
...
It didn't correctly attach to its second and third widget's widget::updated
signal.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 19:46:47 +02:00
Uli Schlachter
01aa7e66e6
wibox.widget.background: Use draw_widget()
...
Without draw_widget(), the input handling is broken.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 18:45:13 +02:00
Uli Schlachter
58bf0b0c64
wibox.layout.fixed: Fix typo
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 15:48:50 +02:00
Uli Schlachter
bddecffe97
Be compatible to oopango 1.0
...
Some idiot broke the API in oopango git. Work-around this by checking which
version of oopango we have.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 15:11:20 +02:00
Uli Schlachter
2eae7e5cf4
Import lib/wibox/, a new widget system in lua
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 12:42:56 +02:00