Commit Graph

3576 Commits

Author SHA1 Message Date
Julien Danjou c2da16332e widget: unref callbacks on delete
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-26 14:26:44 +01:00
Julien Danjou 20533e9443 awesomerc: remove tabulous
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-26 08:45:45 +01:00
Julien Danjou 827d084dbf awful.menu: escape client name in clients menu
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-25 15:36:08 +02:00
Julien Danjou 4f61841f0e event: save mouse position in wibox events
This allow focus to work correctly if wibox disapears.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-25 15:35:14 +02:00
Damien Leone 666f3c9c83 awful.menu: add custom theme and fix various bugs 2008-10-25 15:33:02 +02:00
Julien Danjou 737a70f60c remove a bunch of useless #include-s
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-24 20:57:29 +02:00
Julien Danjou c954c33261 cnode: move struct to cnode header
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-24 20:40:02 +02:00
Julien Danjou 1e89515d97 mouse: move declaration from structs to mouse header
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-24 20:38:29 +02:00
Julien Danjou bf5001337c awful.client: rename focus and swap bydirection
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-24 20:31:18 +02:00
Julien Danjou 4f1273794b mouse: fix button delete
We need to unref Lua functions.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-24 18:53:47 +02:00
Julien Danjou 0b5a681171 widget: return self for buttons
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-24 17:48:50 +02: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
Damien Leone e3ea2789de awful.menu: fix screen width computation 2008-10-24 11:04:02 +02:00
Damien Leone 7750631bf2 awful.menu: prevent menus from poping outside the work area 2008-10-24 10:37:59 +02:00
Julien Danjou 9f8773ddfa awful.widget: fix taglist label without beautiful (FS#353)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 17:55:38 +02:00
Julien Danjou 2e3744de9d widget: store supported align and use to render flex widgets
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 17:28:07 +02:00
Julien Danjou 93be5b3cae draw: remove useless AlignAuto
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 15:53:04 +02:00
Damien Leone 75e6f4cb9e awful.menu: change menu parameters to use a table, add height and width parameters
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 15:22:10 +02:00
Julien Danjou 3005196d64 awful.titlebar: use pairs instead of ipairs
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 11:22:58 +02:00
Julien Danjou dc58313eee awful.menu: add a menu for listing clients
This also allows usage of images object as icons, and destroy menu on
function execution.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 11:19:46 +02:00
Julien Danjou 598a50249e awesomerc: fix editor when nil
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 10:26:13 +02:00
Damien Leone bc3c4d03ec awesomerc.lua: use nano by default if no editor found in env
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 10:23:58 +02:00
Julien Danjou 183f372626 image: add argb32() method
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 20:57:27 +02:00
Damien Leone c51ce42b82 default theme: fix typo in icon path
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:57:32 +02:00
Julien Danjou b4899653c2 awesomerc: use awful.util.getdir rather than env
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:57:03 +02:00
Julien Danjou 9b722181fa awful.util: add support for config dir
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:56:51 +02:00
Julien Danjou 8824d9f703 awful.menu: add support for functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:52:51 +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
Damien Leone 4a6885e0eb awful.menu: align text when item doesn't have icon
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 16:25:07 +02:00
Damien Leone f58c878b96 awesomerc: added menu stuff
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 15:25:21 +02:00
Damien Leone 4d5b43a75e awful.menu: import
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 15:25:20 +02:00
Julien Danjou 0178a75c7d graph, progressbar: fix bar/plot additions
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 10:30:20 +02:00
Gregor Best f970665cff invaders: remove unused graphics
this commit removes the two unused bullet graphics
2008-10-21 22:49:15 +02:00
Gregor Best e2d8f043b0 invaders: change points per enemy
this commits changes the points you get per enemy:

enemy #1 : 15
enemy #2 : 10
enemy #3 : 5
2008-10-21 22:49:15 +02:00
Gregor Best 04b5e24c43 invaders: clean code
this commits makes all enemies of a certain type use the same image
object to clean up the code a bit.
2008-10-21 22:49:02 +02:00
Gregor Best 7041a4680d invaders: add luadoc comments
this commit adds luadoc comments right before invaders.run() so that all
its parameters are explained in luadoc.
2008-10-21 22:47:07 +02:00
Gregor Best c846da24e1 invaders: change enemy distribution
This commit changes the distribution of enemies so that each row
contains only one type of enemy.
2008-10-21 22:47:07 +02:00
Julien Danjou 7b6ba906d4 imagebox: fix luadoc fields
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 18:32:48 +02:00
Julien Danjou 5e96e21c2c image: add width and height attributes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 18:29:35 +02:00
Julien Danjou 248bfb0e95 event: reset wibox widget mouse_over on leave
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 17:57:10 +02:00
Julien Danjou 1ddbfaaaf0 event: handle enter widget on window enter
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 17:50:35 +02:00
Julien Danjou f236a22b62 widget: bug fix when widget->len = 0
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 17:45:05 +02:00
Julien Danjou d3ceff0282 structs: move some define out
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 17:37:14 +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 4eb096e236 libs: use geometry instead of coords
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 16:25:06 +02:00
Julien Danjou 208b3955ce awesomerc: use geometry
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 15:32:42 +02:00
Julien Danjou 5ab2497b43 client, screen: use geometry rather coords as keyword
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 15:31:52 +02:00
Julien Danjou 2a36b021d1 client: icon_name is stored and watched
This permits to update tasklist on icon name changes.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 15:15:28 +02:00
Julien Danjou c0f75c2ed8 widgets: clear private struct
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 15:07:41 +02:00