xcb_icccm.h | xcb_icccm.h | |||
---|---|---|---|---|
skipping to change at line 513 | skipping to change at line 513 | |||
*/ | */ | |||
void xcb_size_hints_set_base_size(xcb_size_hints_t *hints, int32_t base_wid th, | void xcb_size_hints_set_base_size(xcb_size_hints_t *hints, int32_t base_wid th, | |||
int32_t base_height); | int32_t base_height); | |||
/** | /** | |||
* @brief Set size hints to a given window gravity. | * @brief Set size hints to a given window gravity. | |||
* @param hints SIZE_HINTS structure. | * @param hints SIZE_HINTS structure. | |||
* @param win_gravity Window gravity value. | * @param win_gravity Window gravity value. | |||
*/ | */ | |||
void xcb_size_hints_set_win_gravity(xcb_size_hints_t *hints, | void xcb_size_hints_set_win_gravity(xcb_size_hints_t *hints, | |||
uint8_t win_gravity); | uint32_t win_gravity); | |||
/** | /** | |||
* @brief Deliver a ChangeProperty request to set a value to a given proper ty. | * @brief Deliver a ChangeProperty request to set a value to a given proper ty. | |||
* @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. | |||
* @param property Property to set value for. | * @param property Property to set value for. | |||
* @param hints Hints value to set. | * @param hints Hints value to set. | |||
*/ | */ | |||
void xcb_set_wm_size_hints_checked(xcb_connection_t *c, xcb_window_t window , | void xcb_set_wm_size_hints_checked(xcb_connection_t *c, xcb_window_t window , | |||
xcb_atom_t property, xcb_size_hints_t *h ints); | xcb_atom_t property, xcb_size_hints_t *h ints); | |||
skipping to change at line 635 | skipping to change at line 635 | |||
/* WM_HINTS */ | /* WM_HINTS */ | |||
/** | /** | |||
* @brief WM hints structure (may be extended in the future). | * @brief WM hints structure (may be extended in the future). | |||
*/ | */ | |||
typedef struct { | typedef struct { | |||
/** Marks which fields in this structure are defined */ | /** Marks which fields in this structure are defined */ | |||
int32_t flags; | int32_t flags; | |||
/** Does this application rely on the window manager to get keyboard | /** Does this application rely on the window manager to get keyboard | |||
input? */ | input? */ | |||
uint8_t input; | uint32_t input; | |||
/** See below */ | /** See below */ | |||
int32_t initial_state; | int32_t initial_state; | |||
/** Pixmap to be used as icon */ | /** Pixmap to be used as icon */ | |||
xcb_pixmap_t icon_pixmap; | xcb_pixmap_t icon_pixmap; | |||
/** Window to be used as icon */ | /** Window to be used as icon */ | |||
xcb_window_t icon_window; | xcb_window_t icon_window; | |||
/** Initial position of icon */ | /** Initial position of icon */ | |||
int32_t icon_x, icon_y; | int32_t icon_x, icon_y; | |||
/** Icon mask bitmap */ | /** Icon mask bitmap */ | |||
xcb_pixmap_t icon_mask; | xcb_pixmap_t icon_mask; | |||
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 13 | skipping to change at line 13 | |||
#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? */ | /* enumeration for col parameter? */ | |||
enum { | typedef enum { | |||
xcb_lookup_none_t = 1, | xcb_key_lookup_none_t = 1, | |||
xcb_lookup_chars_t = 2, | xcb_key_lookup_chars_t = 2, | |||
xcb_lookup_key_sym_t = 3, | xcb_key_lookup_key_sym_t = 3, | |||
xcb_lookup_both_t = 4 | xcb_key_lookup_both_t = 4 | |||
} xcb_lookup_t; | } 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 | xcb_keysym_t xcb_key_symbols_get_keysym (xcb_key_symbols_t *syms, | |||
*syms, | xcb_keycode_t keycode, | |||
xcb_keycode_t keycode, | xcb_key_lookup_t col); | |||
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 | xcb_keysym_t xcb_key_press_lookup_keysym (xcb_key_symbols_t *syms, | |||
*syms, | xcb_key_press_event_t *event, | |||
xcb_key_press_event_t *event, | xcb_key_lookup_t col); | |||
int col); | ||||
xcb_keysym_t xcb_key_release_lookup_keysym (xcb_key_symbols_t *syms, | ||||
xcb_keysym_t xcb_key_release_lookup_keysym (xcb_key_symbols_t | xcb_key_release_event_t *event, | |||
*syms, | xcb_key_lookup_t col); | |||
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. | ||||
21 lines changed or deleted | 18 lines changed or added | |||