Uli Schlachter
4f30dfd198
Switch from oocairo to lgi.cairo
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-05-27 19:20:34 +02:00
Uli Schlachter
f9d7ac595c
Add root.wallpaper() for querying the wallpaper
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-04-07 21:32:45 +02:00
Rob Hoelz
1e2d27ad4c
Allow usage of strings as key names for root.fake_input
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-12-08 18:47:53 +01:00
Majic
0e8fc995bb
Minor readability fixes, STREQ()-like macros added
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-11-18 17:56:21 +01:00
Gregor Best
c2ea920ca0
remove encoding=utf-8 from modelines
...
This option is no longer valid in modelines, so it has been removed from
all modelines using the following shellscript:
#!/bin/ksh
git ls-tree -r HEAD | cut -f2 | while read f; do
egrep -e '^(//|--) vim: .*encoding=' $f >/dev/null || continue
sed -E -e '/^(\/\/|--) vim:/s/:encoding=utf-8//' $f > /tmp/foo
mv /tmp/foo $f
done
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-09-11 17:34:09 +02:00
Uli Schlachter
5f5787d97b
Wibox: Rename to drawin
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 13:36:02 +02:00
Uli Schlachter
5415c5fbc4
root: Stop using a_tokenize()
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-02 18:55:49 +02:00
Uli Schlachter
6b2e4352bb
Remove globalconf.xinerama_is_active
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-16 14:20:45 +02:00
Uli Schlachter
5d35771673
Save the screen in globalconf.
...
There can only be on xcb_screen_t now, so we can save it in globalconf.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-16 14:10:58 +02:00
Uli Schlachter
32d9a5b2ab
Remove support for zaphod mode
...
This makes awesome support only a single X11 protocol screen. If you are still
using zaphod mode, you can run multiple instances of awesome on the single
screens, e.g.:
DISPLAY=:1.0 awesome & DISPLAY=:1.1 awesome &
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-16 13:47:40 +02:00
Julien Danjou
3ce7638e0f
window: rename to xwindow
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02:00
Julien Danjou
e9ef51a521
wibox: move into objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02:00
Julien Danjou
5de485c648
button: move into objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02:00
Julien Danjou
5b718cdacb
structs: rename to globalconf
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-07 17:23:01 +02:00
Uli Schlachter
2b75950a8c
Add some missing class type checks
...
Some functions didn't check the class of objects they were passed but just
casted them to the type they expected. This lead to code like e.g. the following
to crash awesome:
c.titlebar = c
This adds a new function luaA_object_ref_class() which works like
luaA_object_ref(), but which also checks the class of the object.
Additionally, this function is now used in all necessary places.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 13:58:31 +02:00
Julien Danjou
5daab0fb47
key: move grabbing code to window
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-31 13:54:36 +02:00
Julien Danjou
a916f2cd55
image: port to new class system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
1cc50b8a29
luaobject: remove useless custom function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:46 +02:00
Julien Danjou
e104bae294
Revert "button, key: grab all keys by default, and check for match."
...
This reverts commit f6d2aa3064
.
Conflicts:
key.c
2009-08-14 17:52:49 +02:00
Julien Danjou
073e0377dd
Revert "key, button: use as simple table"
...
This reverts commit d7454f4307
.
Conflicts:
button.h
key.h
lib/awful/titlebar.lua.in
lib/naughty.lua.in
wibox.c
wibox.h
widget.c
2009-08-14 16:48:52 +02:00
Julien Danjou
d7454f4307
key, button: use as simple table
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-28 10:44:54 +02:00
Julien Danjou
f6d2aa3064
button, key: grab all keys by default, and check for match.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-28 10:42:31 +02:00
Julien Danjou
339fb53d56
luaobject: add and use item system
...
Now, each object can store items.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-28 10:29:30 +02:00
Julien Danjou
ac2d026d59
root: add wiboxes() method to get wiboxes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:51:41 +02:00
Julien Danjou
18fd559da7
root: fix arguments in fake_input
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-11 08:19:15 +02:00
Julien Danjou
309932be32
root: fix screen in fake_input
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-11 08:16:40 +02:00
Julien Danjou
308ef7de5d
mouse: split button out
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 10:46:09 +02:00
Julien Danjou
f473a107b0
cleanup #includes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 16:52:25 +02:00
Julien Danjou
9a66456f90
root: split out of luaa
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 11:50:20 +02:00