Commit graph

16 commits

Author SHA1 Message Date
Dana Jansens
59c831642a make array large enough 2010-02-19 17:17:14 -05:00
Dana Jansens
b7ddaa5728 get the modifier mask for a modifier key that is pressed/released more accurately, using the table we built already for other purposes 2010-02-19 16:59:28 -05:00
Dana Jansens
890e13b919 use g_slice_new() instead of g_new() part 3 2010-02-12 14:03:24 -05:00
Dana Jansens
7c2eb3a781 destroy XIC's that belong to an XIM before closing the XIM, else Xlib will seggie! 2010-02-12 09:37:46 -05:00
Dana Jansens
35ce211ec3 dont print warnings when reading keys which dont generate text 2010-02-11 15:15:01 -05:00
Dana Jansens
096dad0c6c make control keys work in menus/dialogs/etc with the new obt code, using XLookup stuff 2010-02-11 15:07:08 -05:00
Dana Jansens
41dbce908a make obt translate keypress events to a valid utf8 character (note this makes openbox not compile) 2010-02-11 14:06:00 -05:00
Dana Jansens
8f1ea42bb1 add interface in obt to create an Input Context for a window 2010-02-11 11:27:36 -05:00
Dana Jansens
6e280e9f53 create an X Input Method in obt for the app to use for all input 2010-02-11 11:16:17 -05:00
Dana Jansens
e9070fe7da dont assert when there is no valid key layout present 2010-02-09 21:01:58 -05:00
Dana Jansens
50d6626811 Merge branch 'backport' into work
Conflicts:

	obt/keyboard.c
	obt/keyboard.h
	openbox/event.c
	openbox/menuframe.c
	openbox/moveresize.c
	openbox/openbox.c
	openbox/screen.c
2009-12-16 15:39:25 -05:00
Mikael Magnusson
0ffd1ccc47 () -> (void) 2008-02-15 16:21:35 +01:00
Dana Jansens
46cf95d36b make menu event handling work more like how other events are handled, less special-casey 2008-01-31 12:25:30 -05:00
Dana Jansens
ea481338b5 make the obt library branch compile again with all the changes merged in from backport 2008-01-20 01:36:56 -05:00
Dana Jansens
759e9f58a8 change openbox to use the libotk's keyboard.[ch] stuff instead of the old modkeys.[ch] and some of translate.[ch] 2008-01-20 01:36:55 -05:00
Dana Jansens
1aac72bc4c add keyboard.[ch] to libobt. these are for tracking modifier keys, and translating to/from keycodes/keysyms/modmasks (also include a new obt/internal.h for putting functions that are not public) 2008-01-20 01:36:55 -05:00