Julien Danjou
6993f088b1
dbus: use dbus_bool_t for pushing boolean
...
dbus_bool_t is 32 bits (has to be for the wire protocol) but our bool is
only 8 bits.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 22:37:48 +02:00
Julien Danjou
8629522884
awful.key: fix modifier comparison in match()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 20:02:10 +02:00
Julien Danjou
75203f0f94
awful.key: fix typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 19:55:26 +02:00
Julien Danjou
66767605ee
Revert "keygrabber: use XStringToKeysym()"
...
This reverts commit 6ca27c7c4c
.
2009-04-28 19:47:39 +02:00
Mariusz Ceier
ee77fce1ce
Fix focus hooks calls
...
This patch fixes focus hooks calls - for every call to focus hook, there
should be call to unfocus hook.
Focus related info:
In this shape, awesome doesn't support multiple focused clients, that
means it follows the rule "there is only a single focus", which is not
true for MPX. To change this, I think it will need some magic with
FocusOut events handling and changes to some structures
(e.g. globalconf.screen_focus, screen_t.client_focus should be arrays) :p
Now we don't need to handle FocusOut events.
Signed-off-by: Mariusz Ceier <mceier@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 19:44:38 +02:00
Julien Danjou
cb0f88dfc7
themes: remove old themes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 19:44:06 +02:00
perry
5e284c4ab3
beautiful: theme are now handled in Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 19:40:14 +02:00
perry
f2c104ba78
file modified to follow lua syntax, change suffix accordingly
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 19:30:40 +02:00
perry
8b9ee91ff5
file modified to follow lua syntax, change suffix accordingly
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 19:30:10 +02:00
Julien Danjou
600299a19f
key: restore proper support of keysym resolution
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 18:17:16 +02:00
Julien Danjou
6ca27c7c4c
keygrabber: use XStringToKeysym()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 17:56:57 +02:00
Julien Danjou
ffb5e46492
key: use right value for no symbol
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 17:35:12 +02:00
Julien Danjou
ca7af35f8a
event: get keysym ignoring all modifiers
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 17:26:15 +02:00
Julien Danjou
3eb14d7c76
luaa: move version and release to awesome module
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 16:21:50 +02:00
Julien Danjou
56225a39fe
array: check that we are still in the tab
...
If the array is modified while we are running the foreach() loop, the
tab of the array may be reallocated, so var can be totally out of the
memory: check for that.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 08:34:13 +02:00
Julien Danjou
1cbb1c0666
awful.widget.prompt: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 22:15:01 +02:00
Julien Danjou
c6a63d9250
awful.widget.launcher: export really new()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 21:55:41 +02:00
qsd
e0c56d36e6
wibox: fix Left and Right wibox position computing (FS#512)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 21:49:24 +02:00
Julien Danjou
e61ab85f5d
keygrabber: use luaA_pushmodifiers()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 21:04:15 +02:00
Julien Danjou
0705fbf29d
spawn: use glib spawn module to catch error
...
This is a lot better than our previous code. We can now report execution
error to Lua directly.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 20:18:39 +02:00
Julien Danjou
57aeb2b85e
awful.widget.launcher: export new correctly
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 18:43:03 +02:00
Julien Danjou
24be8643eb
awful.widget.button: export new correctly
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 18:43:03 +02:00
Julien Danjou
512a5d86e7
awful.button: export new
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 18:43:02 +02:00
Julien Danjou
f71d8055ef
awful.key: export new()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 18:38:00 +02:00
Julien Danjou
b496122b09
awful.key: add a matching function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 18:35:04 +02:00
Julien Danjou
cd84fd5ebd
awful.util: add table.hasitem()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 18:33:15 +02:00
Julien Danjou
efad1b9843
event: matching function can get data
...
This allows us to not request keysym computation upon each match test.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 17:56:06 +02:00
Julien Danjou
e2b4fae3e2
key: replace key_find() by generic callback
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 17:52:36 +02:00
Julien Danjou
d80c6e9c33
event: modularize Lua callback handling
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 17:46:15 +02:00
Julien Danjou
e9794c7cbd
key: stop using keybinding_t and sorted array
...
That is necessary because key_find() assume we always get one and only
one keybinding for an event, which is wrong, since we can have several.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 16:10:58 +02:00
Julien Danjou
0cbedbbb7f
manpages: fix awesome-client to talk about D-Bus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 15:09:42 +02:00
Julien Danjou
2dffbe9c72
dbus: fix cleanup code
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 14:54:09 +02:00
Julien Danjou
3831c84a84
dbus: do not exit on disconnection
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 14:49:58 +02:00
Julien Danjou
39c351d112
button: add modifiers field in __newindex
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 14:32:39 +02:00
Julien Danjou
061152b874
key: add __newindex metamethod
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 14:31:57 +02:00
Julien Danjou
d571edf1ac
key: check that modifier table is a table
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 14:13:54 +02:00
Julien Danjou
6d8ae55850
key: modularize modifiers set
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 14:12:24 +02:00
Julien Danjou
85c5bffbcc
luaa: use only one addsl
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 13:36:26 +02:00
Julien Danjou
9ac5cea397
luaa: optimize package path computing
...
This is just for fun.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 12:22:54 +02:00
Julien Danjou
14b090e566
image: fix conversion on different endianness (FS#504)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 12:09:04 +02:00
Julien Danjou
b780be7578
build: detect endianness at compile time
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 12:06:24 +02:00
Julien Danjou
620fde1213
client: remove useless window_configure calls (FS#511)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 11:21:02 +02:00
Julien Danjou
39e907f5d8
luaa: refresh all wiboxes on font change
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 11:17:16 +02:00
Julien Danjou
324387bfed
util: remove useless asprintf macro
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 20:22:44 +02:00
Julien Danjou
0b61a38c7a
luaa: use buffer rather than asprintf()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 20:22:10 +02:00
Julien Danjou
6ff72afd90
buffer: add buffer_addsl() for literal strings
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 20:21:54 +02:00
Julien Danjou
42bcd7288d
button: add support for modifiers in __index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 19:44:25 +02:00
Julien Danjou
5476665ba2
button: return 0 on index with unknown elem
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 19:43:54 +02:00
Julien Danjou
9b4cd23539
button: add missing documentation for button element
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 19:43:23 +02:00
Julien Danjou
e071514704
key: split luaA_pushmodifiers() out of index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 19:41:53 +02:00