Julien Danjou
6a67910854
keygrabber: add support for XKB_KEYS
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 09:46:34 +02:00
Julien Danjou
6ac0c4130c
image: merge draw_image_t and image_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
01f37e1edc
keygrabber: push an hash table instead of indexed table
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
3104969d03
keygrabber: include header file for key_getkeysym()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-13 12:31:42 +02:00
Julien Danjou
530f27e4a1
keybinding: honor modifier state correctly (FS#264)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-13 10:30:24 +02:00
Arnaud Fontaine
b655f6348c
xutil: rename xutil functions according to the rest of code.
2008-08-11 18:05:35 +02:00
Pierre Habouzit
f96c5c6259
Simplify keygrabber.
...
* Use __utf8_mark to lookup the final patch for utf8 codepoints.
* Use __utf32_clz_to_len to compute the number of octets needed to encode
a given Unicode codepoint in utf8, rather than inefficient ifs.
* Use static buffers (libc provides MB_LEN_MAX for the matter, and we know
the special keys names won't be longer than 32, so avoid silly p_new's).
* Rework APIs to work with those static buffers, and return a boolean to
tell if conversion worked.
* Factorize ksym XK_* to string conversion using ad-hoc macros.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-30 00:47:11 +02:00
Pierre Habouzit
cde80ab49a
Move CLEANMASK to xutil.h, remove useless #Includes
...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-26 22:47:56 +02:00
Julien Danjou
013b2afe62
remove useless #include
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-26 18:10:45 +02:00
Julien Danjou
46ead6ea3f
comments fixing
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-20 08:38:00 +02:00
Arnaud Fontaine
b9e1ec69d0
Replace xcb_aux_get_screen() by a safer function
2008-06-17 17:14:00 +02:00
Julien Danjou
6cd6e18e29
[keygrabber] Add keys between XK_Home and XK_Begin
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 22:57:26 +02:00
Julien Danjou
7d79509df9
[keygrabber] Fix key mapping
...
- Use Mod5 to enter group 2 and 3
- Do not call the function is key not recognized
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 22:37:45 +02:00
Julien Danjou
13a96b6edd
[keygrab] Add keygrabbing infrastructure
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 17:22:36 +02:00