Julien Danjou
128c4deca9
key: fix wrong group with mode switch (FS#537)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-31 15:29:16 +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
Brian Gianforcaro
3145e3145e
Grammar/spelling corrections in comments and docs.
...
Signed-off-by: Brian Gianforcaro <b.gianfo@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-31 10:39:36 +02:00
Julien Danjou
6a4d04d4f2
key: fix keysym prop
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 20:11:55 +02:00
Julien Danjou
88a6f06b21
add missing vim modelines
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 16:44:30 +02:00
Julien Danjou
4d0a025f51
luaclass: add handling of {new,}index of missing properties (FS#584)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +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
dc61d258f0
luaclass: optimize type handling
...
We use lua_class_t pointer as key in the registry to store metatable we
will compare.
lauxlib uses a string, which sucks, because it forces to do a
pushliteral() each time you want to get a metatable from the registry,
which is slower.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
4871dbb1aa
button, key: emit events
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:46 +02:00
Julien Danjou
04e55739fe
key: port to new object system
...
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
65260f5772
key: remove useless arguments len
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 17:48:26 +02:00
Julien Danjou
047d04d438
luaobject: import __tostring as object meta function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 16:09:14 +02:00
Julien Danjou
c1d99f0960
luaobject: emit signal on new object
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 15:48:18 +02:00
Julien Danjou
dea2b6303a
luaobject: import signals meta methods in objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
Conflicts:
2009-07-29 15:48:18 +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
Brian Gianforcaro
404ec8eb24
Fix doxygen generation warnings.
...
Signed-off-by: Brian Gianforcaro <b.gianfo@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-27 11:18:43 +02:00
Julien Danjou
39efa6eb18
client: fix key array leak
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-22 17:18:06 +02:00
Julien Danjou
5eadbc0116
key: change setmodifiers to tomodifiers
...
This is more Lua compliant.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-17 17:05:47 +02:00
Julien Danjou
a8115bd45e
luaobject: ref take index number as argument
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-16 17:15:20 +02:00
Julien Danjou
c95ba76d2f
luaobject: use object header and standard gc everywhere
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-16 16:26:45 +02:00
Julien Danjou
43902aed69
luaa: fix memory leak in __gc
...
We need to wipe the ref_array.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 09:53:20 +02:00
Julien Danjou
c378343a64
key: add .keysym to return keysym name
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-30 00:11:38 +02:00
Julien Danjou
f05c1bc86c
key: prefix XF86 keys names
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 11:27:07 +02:00
Julien Danjou
7d59a773a7
key: add support for XF86 keysyms
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 11:24:06 +02:00
Julien Danjou
2e8557f04e
key: add missing XKB entries
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 11:05:58 +02:00
Julien Danjou
2c9a19bafb
key: stop using XKeysymToString()
...
It does not return the same thing.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 10:53:50 +02:00
Julien Danjou
e44d62cb09
key: looking up for a key use a keysym
...
We do not resolve keycode anymore.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 10:53:50 +02:00
Julien Danjou
bea4aa7f60
key: move keysym resolution to key
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 10:53:50 +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
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
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
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
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
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
c8b758ac48
key: add __index metamethod
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-25 16:00:08 +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
f168bbdfa4
key: add support for modifier mask Any
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 14:43:58 +02:00
Julien Danjou
1a18088da5
key: stop ignoring arbitrary modifier
...
Before, we used to ignore Mod2 and Lock.
This is now configurable.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 12:01:55 +02:00
Julien Danjou
cda33ca3e6
key: cleanup modifiers system
...
We stop retrieving useless key, since we have constant.
We also grab correctly all keycode for a keysym.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 12:01:54 +02:00
Julien Danjou
5f6aed4e3d
key: use new Lua object system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
67c96cbebc
key: luaA_key_new is static
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-11 11:59:10 +02:00
Uli Schlachter
95457c5ab7
Move the definition of globalconf into a header file
...
Pretty much every single source file needs this struct, so it makes sense to
define it in a common header instead of in every single .c file.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-10 16:32:42 +02:00
Alex Cornejo
106e6ed5ab
Styling inconsistencies
...
Cheers,
Alex
From b5816ec55073507d4527ad3a77eae1878adb30d3 Mon Sep 17 00:00:00 2001
From: Alex Cornejo <acornejo@gmail.com>
Date: Sun, 29 Mar 2009 14:24:27 -0400
Subject: [PATCH] Fixed some styling issues.
Noticed in the latest pull that a commit introduced a lot of styling
inconsistencies, decided to remove those and others found by a simple
grep.
Signed-off-by: Alex Cornejo <acornejo@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-30 12:53:12 +02:00
Julien Danjou
b14036171d
key: stop using otable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 13:38:53 +01:00