Cedric GESTES
36180b9a41
tasklist: update tasklist when a client is hidden
...
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 11:08:57 +02:00
Uli Schlachter
ab6cd898c1
awful.widget: Don't use a resizable imagebox
...
awful.widget.graph and progressbar both create an imagebox. The default is
resize = true which means the image is scaled up inside the wibox if
:set_height() is used.
Setting widget.resize = false avoids this.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 11:08:14 +02:00
Uli Schlachter
ac60bbd147
progressbar: set_value() should update()
...
set_value() didn't call update() and thus had no visible effect on the
progressbar.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 11:04:18 +02:00
Uli Schlachter
1c57970dd9
awful.widget.{graph,progressbar}: Un-local functions
...
This code accesses these functions via _M['set_height'], but if these are local
functions they aren't available this way. Un-local-ing helps here.
This was noticed by anrxc when he set a widget's height to 0.9. These functions
should have caught this invalid height and ignore it, but because they weren't
actually used this error checking was bypassed.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 11:04:05 +02:00
Cedric GESTES
cbaefeed9d
rules: accept rule if regexp is ok or value is equal
...
correct problem matching expression with - or special regexp character
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 10:58:58 +02:00
Uli Schlachter
023a216f67
awful.client: Emit correct signal
...
When awful.client.property.set() was called it always emitted property::floating
on the client. Instead it should emit propert::<name of the property> of course!
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 10:54:05 +02:00
Gregor Best
efbba53507
awful.client: fix local function idx
...
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 10:53:31 +02:00
koniu
105a4ce41f
naughty: fix margin when using icon
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-26 09:14:57 +02:00
Julien Danjou
a71c5efd10
awful.util: pread return error
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 20:16:48 +02:00
koniu
58eb27a99b
naughty: port sizing to the new widget margin code
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 19:17:18 +02:00
Julien Danjou
5f43d178f7
awful.menu: use iconbox widget rather than bg_image
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 18:13:19 +02:00
Julien Danjou
53ca058ebb
awful.widget.layout: add support for margins
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 16:42:54 +02:00
Julien Danjou
8389b8c5d6
awful.hooks: deprecate
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 16:28:59 +02:00
Gregor Best
df07681109
awful.tag: fix viewidx()
...
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 14:49:53 +02:00
Julien Danjou
8ec1f4f49c
awful.rules: set focus as last property
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 11:40:35 +02:00
koniu
312355416f
awful.autofocus: restore focus on hide/minimize
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 09:52:33 +02:00
koniu
194f6b2050
naughty: fix hover_timeout
...
Fixes regression since e899ca7696
.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 09:48:44 +02:00
Julien Danjou
af5037104c
awful.rules: document matching, support non-string rules
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 16:43:00 +02:00
Julien Danjou
e293a69982
screen: move the tagging on screen change to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 16:32:19 +02:00
Julien Danjou
6d65106c36
awful.rules: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 16:27:28 +02:00
Julien Danjou
6bad89fc2c
awful.client: movetotag() move client to the screen tag
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 16:09:56 +02:00
Julien Danjou
62d0d08caf
awful.titlebar: set correct height
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 11:49:05 +02:00
Julien Danjou
e298353583
awful.tag: view{next,prev} take screen as argument
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 08:31:44 +02:00
Julien Danjou
c43e40c05b
awful.widget.tasklist: fix double signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-22 15:04:34 +02:00
Julien Danjou
2b68f6df5e
awful.widget.taglist: refresh on tag name changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 21:29:56 +02:00
Julien Danjou
ba8ca594e8
beautiful: be safer with dofile()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 21:26:50 +02:00
Julien Danjou
b3214e589e
Partial revert of "awful.client: use signal and geometry attributes"
...
Partial revert of 1da49640b5
.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 21:15:19 +02:00
Julien Danjou
e25a8ba6f4
awful.widget.tasklist: fix hide usage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 21:03:57 +02:00
Christopher Eatinger
933c958220
awful.screen.focus: Prevent focusing a screen that doesn't exist
...
Signed-off-by: Christopher Eatinger <christopher.eatinger@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 21:01:06 +02:00
Julien Danjou
f848fb7844
wibox: update strut on visible change
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 20:04:29 +02:00
Julien Danjou
973b19aba0
awful.menu: fix default key handling
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 16:35:12 +02:00
Julien Danjou
435716af73
awful.menu: allow more keys than only one in menu bindings
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 16:28:55 +02:00
Julien Danjou
0f6125a3f6
awful.screen.focus: make focus() absolute and add focus_relative()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 16:05:02 +02:00
Julien Danjou
42c47eecce
beautiful: init default theme by default
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:54:14 +02:00
Julien Danjou
a800696a65
awful.tag: add a new() helper function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:50:01 +02:00
Julien Danjou
630748ef61
awful.menu: only listen mouse::enter on wibox
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
2fda9f5a2e
naughty: fix timeout = 0
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
2d72e2477f
awful.autofocus: import and use
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
1692496fce
awful.widget.taglist: use attached_add_signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
c66be3aa82
awful.widget.tasklist: use attached_add_signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
26e2e2f375
awful.layout: use attached_add_signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
d7a961175f
awful.widget.layoutbox: use attached_add_signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
121a229492
awful.tag: add attached_add_signal()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
282cd0b3ca
awful.wibox: do not arrange when changing attribute
...
awful.layout now listen for workarea size changes.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
ef588bf8b8
awful.layout: listen for workarea size changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
d6fd7f1116
awful.wibox: update strut on wibox attachement
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
5e2fbb3684
awful.wibox: update struts on size change
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
ff906a8529
awful.wibox: update position on border_width change (FS#563)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
65825bdd22
awful: move hooks to signals
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
7e92901d76
awful.widget.layoutbox: use signals rather than hooks
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00