xcb_icccm.h | xcb_icccm.h | |||
---|---|---|---|---|
skipping to change at line 307 | skipping to change at line 307 | |||
xcb_generic_property_handler_t handler, | xcb_generic_property_handler_t handler, | |||
void *data); | void *data); | |||
/* WM_CLASS */ | /* WM_CLASS */ | |||
/** | /** | |||
* @brief WM_CLASS hint structure | * @brief WM_CLASS hint structure | |||
*/ | */ | |||
typedef struct { | typedef struct { | |||
/** Instance name */ | /** Instance name */ | |||
char *name; | char *instance_name; | |||
/** Class of application */ | /** Class of application */ | |||
char *class; | char *class_name; | |||
/** Store reply to avoid memory allocation, should normally not be | /** Store reply to avoid memory allocation, should normally not be | |||
used directly */ | used directly */ | |||
xcb_get_property_reply_t *_reply; | xcb_get_property_reply_t *_reply; | |||
} xcb_get_wm_class_reply_t; | } xcb_get_wm_class_reply_t; | |||
/** | /** | |||
* @brief Deliver a GetProperty request to the X server for WM_CLASS. | * @brief Deliver a GetProperty request to the X server for WM_CLASS. | |||
* @param c The connection to the X server. | * @param c The connection to the X server. | |||
* @param window Window X identifier. | * @param window Window X identifier. | |||
* @return The request cookie. | * @return The request cookie. | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
xcb_keysyms.h | xcb_keysyms.h | |||
---|---|---|---|---|
skipping to change at line 12 | skipping to change at line 12 | |||
#define __XCB_KEYSYMS_H__ | #define __XCB_KEYSYMS_H__ | |||
#include <xcb/xcb.h> | #include <xcb/xcb.h> | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
typedef struct _XCBKeySymbols xcb_key_symbols_t; | typedef struct _XCBKeySymbols xcb_key_symbols_t; | |||
/* enumeration for col parameter? */ | ||||
typedef enum { | ||||
xcb_key_lookup_none_t = 1, | ||||
xcb_key_lookup_chars_t = 2, | ||||
xcb_key_lookup_key_sym_t = 3, | ||||
xcb_key_lookup_both_t = 4 | ||||
} xcb_key_lookup_t; | ||||
xcb_key_symbols_t *xcb_key_symbols_alloc (xcb_connection_t * c); | xcb_key_symbols_t *xcb_key_symbols_alloc (xcb_connection_t * c); | |||
void xcb_key_symbols_free (xcb_key_symbols_t *sym s); | void xcb_key_symbols_free (xcb_key_symbols_t *sym s); | |||
xcb_keysym_t xcb_key_symbols_get_keysym (xcb_key_symbols_t *syms, | xcb_keysym_t xcb_key_symbols_get_keysym (xcb_key_symbols_t | |||
xcb_keycode_t keycode, | *syms, | |||
xcb_key_lookup_t col); | xcb_keycode_t keycode, | |||
int col); | ||||
xcb_keycode_t xcb_key_symbols_get_keycode (xcb_key_symbols_t *syms, | xcb_keycode_t xcb_key_symbols_get_keycode (xcb_key_symbols_t *syms, | |||
xcb_keysym_t keysym) ; | xcb_keysym_t keysym); | |||
xcb_keysym_t xcb_key_press_lookup_keysym (xcb_key_symbols_t *syms, | xcb_keysym_t xcb_key_press_lookup_keysym (xcb_key_symbols_t | |||
xcb_key_press_event_t *event, | *syms, | |||
xcb_key_lookup_t col); | xcb_key_press_event_t *event, | |||
int col); | ||||
xcb_keysym_t xcb_key_release_lookup_keysym (xcb_key_symbols_t *syms, | ||||
xcb_key_release_event_t *event, | xcb_keysym_t xcb_key_release_lookup_keysym (xcb_key_symbols_t | |||
xcb_key_lookup_t col); | *syms, | |||
xcb_key_release_event_t *event, | ||||
int col); | ||||
int xcb_refresh_keyboard_mapping (xcb_key_symbols_t *sym s, | int xcb_refresh_keyboard_mapping (xcb_key_symbols_t *sym s, | |||
xcb_mapping_notify_event_t *event ); | xcb_mapping_notify_event_t *event) ; | |||
/* TODO: need XLookupString equivalent */ | /* TODO: need XLookupString equivalent */ | |||
/* Tests for classes of symbols */ | /* Tests for classes of symbols */ | |||
int xcb_is_keypad_key (xcb_keysym_t keysym); | int xcb_is_keypad_key (xcb_keysym_t keysym); | |||
int xcb_is_private_keypad_key (xcb_keysym_t keysym); | int xcb_is_private_keypad_key (xcb_keysym_t keysym); | |||
int xcb_is_cursor_key (xcb_keysym_t keysym); | int xcb_is_cursor_key (xcb_keysym_t keysym); | |||
End of changes. 5 change blocks. | ||||
20 lines changed or deleted | 15 lines changed or added | |||