Commit Graph

4860 Commits

Author SHA1 Message Date
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
Julien Danjou 566e40638b tag: check that tag is not already attached before attaching (FS#509)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 15:13:41 +02:00
Julien Danjou c2dc991903 Stop using variable size type, use stdtypes
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 13:01:37 +02:00
Julien Danjou 503283ac28 event: add support for AnyModifier in grabbed button
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 12:47:17 +02:00
Julien Danjou 21e8c0c89e button: add support for AnyButton
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 12:34:30 +02:00
Julien Danjou cbcbb68f7e xutil: remove useless conversion function
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 12:34:13 +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 c8b758ac48 key: add __index metamethod
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-25 16:00:08 +02:00