Commit Graph

127 Commits

Author SHA1 Message Date
Julien Danjou a329da144d wibox: kick systray on detach
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 13:55:59 +01:00
Julien Danjou f45c3dd641 wibox: only warn on looping table
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-07 11:21:41 +01:00
Julien Danjou 528991fae8 wibox: copy pixmap after mapping
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-03 18:26:31 +01:00
Julien Danjou 993f83b788 wibox: check floating size
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-03 17:54:56 +01:00
Julien Danjou 5c0716109b wibox: stack correctly on attach
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-03 16:34:29 +01:00
Julien Danjou 16a2eadb66 wibox: check for table loops
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-27 14:17:12 +01:00
Julien Danjou 85c7bf07c9 luaa: merge tostring() with DO_LUA_NEW
Also use the same format as standard Lua for tostring output.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-26 16:15:49 +01:00
Julien Danjou f43c455035 wibox: support for border when not floating
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-24 13:58:25 +02:00
Julien Danjou a0416a9abf wibox: draw before map to avoid artefacts
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-24 11:57:01 +02:00
Julien Danjou 25bf12868a widgets: use a geometry callback
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:32:17 +02:00
Julien Danjou 569ea75409 wibox: handle widget_node_t as array rather than list
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 17:21:59 +02:00
Julien Danjou a5640330d9 lua: check for ref value before getting them
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 10:35:23 +02:00
Julien Danjou 862fe193ee Rewrite {tag,task}list in Lua.
This removes the C implementation of taglist and tasklist widgets and
use a Lua one.

This works by letting .widgets property of wiboxes to be a table with
table, and setting a special metatable on them which notify awesome on
newindex events, updating wiboxes.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 20:06:09 +02:00
Julien Danjou 96c23ad5cb wibox: initialize wibox borders correctly (FS#343)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-14 17:32:03 +02:00
Julien Danjou 3c11511316 wibox: modify border color live
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-12 17:26:29 +02:00
Julien Danjou a57b87b411 wibox: update position correctly for titlebar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-12 17:15:01 +02:00
Julien Danjou ebab2b7707 wibox: newindex allow border color change
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-12 17:02:42 +02:00
Julien Danjou b3580fc519 wibox: handle position on new correctly
We do not need to call setposition since we are not attached.
We just need to set orientation and position_update to get the right
coords.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-03 08:57:58 +02:00
Julien Danjou a4224193d8 widget: move widget_{set,get}
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 17:45:07 +02:00
Julien Danjou 53a5f6796a wibox: compute phys_screen on right index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-29 16:31:52 +02:00
Julien Danjou 5709435392 wibox: rework, merge titlebar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:42 +02:00
Julien Danjou 2dfde8c181 util: remove off position
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:27 +02:00
Julien Danjou 08b0d71db3 wibox: add ontop attribute
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:27 +02:00
Julien Danjou 305af484f5 wibox: add full geometry
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:27 +02:00
Julien Danjou 0feb7de68e wibox: merge statusbars and titlebars Lua objects
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 14:34:43 +02:00
Julien Danjou f4648c2e26 wibox: wibox_refresh merge statusbar and titlebar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou 34fe130307 wibox: merge statusbar and titlebar types
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00