Julien Danjou
c7a7437433
wibox: remove spurious fprintf()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-09 17:42:18 +01:00
Julien Danjou
3d2c205969
luaa: check that object is a table before calling lua_next()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-09 16:45:02 +01:00
Julien Danjou
3af636c3e6
wibox: setvisible checks for screen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-09 16:23:39 +01:00
Julien Danjou
a760f4b0bc
awful.titlebar: do not overwrite mouse bindings on close
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-08 16:43:24 +01:00
Julien Danjou
e8186e687e
client: fix returned value for non transient windows
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-07 11:08:00 +01:00
Julien Danjou
c63657049f
client: check KDE dock app before
...
Otherwise we leak the NETWM_ICON retrieval.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-07 11:05:21 +01:00
Julien Danjou
bfdaf8d9ff
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-05 10:40:34 +01:00
Julien Danjou
f58b9e3566
awful.widget: stop using useless closures in taglist
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-04 23:06:38 +01:00
Julien Danjou
1a7413d257
hooks: call tags hooks with more arg
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-04 22:29:11 +01:00
Julien Danjou
f36cb984e3
awful.widget: store buttons in tasklist
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-04 20:20:16 +01:00
Julien Danjou
b0090950a0
Revert "lua: do not use otable where table are enough"
...
This reverts commit a220d46850
.
2008-12-04 16:55:40 +01:00
Julien Danjou
a220d46850
lua: do not use otable where table are enough
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-04 13:29:00 +01:00
Julien Danjou
77510610d2
awful.widget: tasklist need update on arrange
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-04 00:06:22 +01:00
Julien Danjou
ab2502c6c6
awful.widget: update taglist on focus change
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-03 11:48:23 +01:00
Julien Danjou
00149a0e90
draw: fix text alignment on small width
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-03 11:11:11 +01:00
Julien Danjou
35811f9c36
draw: height computing honor margin top
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-03 11:10:05 +01:00
koniu
46b3a14a8f
awsetbg: add solid xsetroot fallback if no real wpsetters
...
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-01 19:37:03 +01:00
Sébastien Gross
f5bf5aa43d
awful.prompt: Add support for KP_Return
...
* The numeric paddle Enter key wasn't processed
Signed-off-by: Sébastien Gross <seb-awesome@chezwam.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-29 09:30:28 +01:00
Julien Danjou
c7529c486d
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-28 14:37:20 +01:00
Michael Hofmann
3cc7843f05
awful.widget: fix iteration over removed elements
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-27 11:20:25 +01:00
Julien Danjou
5fecdc052d
awful.client: fix iteration over removed elements
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-27 11:18:35 +01:00
Maarten Maathuis
e6905ededb
awful.client: fix minor luadoc issue
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-27 10:58:10 +01:00
Julien Danjou
c7ee83fdbf
naughty: notify() returns notification object
...
This makes notification mangling outside of naughty.lua much easier:
http://awesome.naquadah.org/wiki/index.php?title=Naughty#Popup_calendar
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-25 09:47:46 +01:00
Julien Danjou
a8a055af07
awesomerc: use byidx()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-25 08:59:38 +01:00
Julien Danjou
1a32c2e3db
theme: change default background
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 20:28:04 +01:00
Julien Danjou
97ca8acc80
awesomerc: typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 17:59:44 +01:00
Julien Danjou
32e69bc1cc
awesomerc: add missing check for client.focus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 17:52:58 +01:00
Julien Danjou
41c6fbb31c
awful.prompt: return true since we unregistered (FS#383)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 11:56:42 +01:00
Julien Danjou
9abf89da2a
keygrabber: remove duplicate case (FS#386)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 11:24:19 +01:00
Maarten Maathuis
76b511375a
magnifier: try harder to find parent of dialog
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-22 08:38:26 +01:00
Maarten Maathuis
45f2b79a98
awesomerc: delay client focus until after it's on the right tag.
...
- This avoids seeing the client for a split second on the current tag.
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-22 08:37:10 +01:00
Maarten Maathuis
69f0796762
awful.client: fix luadoc syntax for visible function.
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-22 08:36:42 +01:00
Julien Danjou
a0d68c793d
theme: change default background
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 17:31:12 +01:00
Julien Danjou
46822d510b
naughty: fix font support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 14:41:03 +01:00
Julien Danjou
281e562182
awsetbg: add manpage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 11:43:36 +01:00
Julien Danjou
5afca2e182
awsetbg: remove -B option
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 11:35:03 +01:00
Julien Danjou
3cc96c7c33
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 11:09:16 +01:00
Julien Danjou
8e65cb2037
build: do not use git dashed command
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 11:04:10 +01:00
koniu
0e97360d32
naughty: fix a bug with variable width popups
...
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-21 09:21:20 +01:00
koniu
64f0848940
naughty: fix beautiful support properly
...
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-21 09:21:20 +01:00
koniu
c453d6c611
naughty: arg 'screen' to notify() is now respected
...
Signed-off-by: Matthias Schroeder <ms@softimpulse.de>
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-20 20:36:05 +01:00
Julien Danjou
d1db6903fa
luaa: check that function is not NIL before pushing and calling
...
Otherwise we may push unused elements because dofunction() checked
_after_ if the function was nil, or not.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-20 17:48:23 +01:00
Julien Danjou
ee8bcd6c43
tag: always call tagged hook with 2 args
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-20 17:47:48 +01:00
Julien Danjou
e1ddf089a2
tag: unref after calling hook
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-20 17:47:13 +01:00
Pawel F
530b170cf0
awsetbg: add habak support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-20 10:40:44 +01:00
Julien Danjou
6cbbd45d3a
awful.widget: fix name on minimize
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-19 21:17:15 +01:00
Norbert Zeh
5302d707db
Made the fair layout really fair
...
The fair layout had the same issue as the slave columns in tiling layout
in that all strips were filled maximally with cells up to the last, and
the last strip may have significantly fewer cells than the other strips.
In my mind, that's not fair. The new strategy makes sure the numbers of
cells in any two strips differ by no more than one.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-19 17:02:58 +01:00
Sébastien Gross
edd0ae73e2
awsetbg: Add montage(1) support
...
* Using -m X (X standing for screen number) the give background image is
converted to a big image in the <cache directory>/montage.png.
Limitations:
+ -m should be the last argument before the image name
+ for better results screens should have the same sizes and the background
image should fit one screen size.
Signed-off-by: Sébastien Gross <seb-awesome@chezwam.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-19 14:18:35 +01:00
koniu
4c031ba398
awful.prompt: add trail space in prompt_text_with_cursor()
...
Adds a trailing space after text if cursor position < text length to
prevent width of the widget changing particularly useful when using
'text' and 'selectall' to do eg. in-place renaming.
Sample textbox content (# space, _ cursor).
Before:
textbox before prompt: #term#
selectall prompt textbox : #_erm <- shorter than other cases
after pressing end : #term_
After:
textbox before prompt: #term#
selectall prompt textbox : #_erm#
after pressing end : #term_
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-19 13:00:04 +00:00
koniu
b4f16ff649
awful.prompt: new arg 'selectall' in add()
...
If set along with 'text' (prefilled content) it will position the cursor at
the beginning of the line and and on text input (and not control keys,
arrows, etc.) will overwrite the prefilled content with the new input.
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-19 13:21:12 +01:00