Use "conn" for xcb_connection and "event" for xcb_event_* variables everywhere
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
Rect get_unoccupied_space(Workspace *workspace);
|
||||
void decorate_window(xcb_connection_t *conn, Client *client, xcb_drawable_t drawable, xcb_gcontext_t gc, int offset);
|
||||
void redecorate_window(xcb_connection_t *conn, Client *client);
|
||||
void render_container(xcb_connection_t *connection, Container *container);
|
||||
void render_container(xcb_connection_t *conn, Container *container);
|
||||
void render_layout(xcb_connection_t *conn);
|
||||
|
||||
#endif
|
||||
|
@ -29,10 +29,10 @@ void *smalloc(size_t size);
|
||||
void *scalloc(size_t size);
|
||||
char *sstrdup(const char *str);
|
||||
void start_application(const char *command);
|
||||
void check_error(xcb_connection_t *connection, xcb_void_cookie_t cookie, char *err_message);
|
||||
void check_error(xcb_connection_t *conn, xcb_void_cookie_t cookie, char *err_message);
|
||||
void set_focus(xcb_connection_t *conn, Client *client);
|
||||
void switch_layout_mode(xcb_connection_t *conn, Container *container, int mode);
|
||||
void warp_pointer_into(xcb_connection_t *connection, Client *client);
|
||||
void warp_pointer_into(xcb_connection_t *conn, Client *client);
|
||||
void toggle_fullscreen(xcb_connection_t *conn, Client *client);
|
||||
|
||||
#endif
|
||||
|
@ -34,14 +34,14 @@ enum { _NET_SUPPORTED = 0,
|
||||
UTF8_STRING
|
||||
};
|
||||
|
||||
i3Font *load_font(xcb_connection_t *connection, const char *pattern);
|
||||
i3Font *load_font(xcb_connection_t *conn, const char *pattern);
|
||||
uint32_t get_colorpixel(xcb_connection_t *conn, Client *client, xcb_window_t window, char *hex);
|
||||
xcb_window_t create_window(xcb_connection_t *conn, Rect r, uint16_t window_class, uint16_t cursor,
|
||||
uint32_t mask, uint32_t *values);
|
||||
void xcb_change_gc_single(xcb_connection_t *conn, xcb_gcontext_t gc, uint32_t mask, uint32_t value);
|
||||
void xcb_draw_line(xcb_connection_t *conn, xcb_drawable_t drawable, xcb_gcontext_t gc,
|
||||
uint32_t colorpixel, uint32_t x, uint32_t y, uint32_t to_x, uint32_t to_y);
|
||||
void xcb_draw_rect(xcb_connection_t *connection, xcb_drawable_t drawable, xcb_gcontext_t gc,
|
||||
void xcb_draw_rect(xcb_connection_t *conn, xcb_drawable_t drawable, xcb_gcontext_t gc,
|
||||
uint32_t colorpixel, uint32_t x, uint32_t y, uint32_t width, uint32_t height);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user