mirror of
https://github.com/yshui/picom.git
synced 2025-04-21 18:03:02 -04:00
x: remove an unused function
This commit is contained in:
parent
38d2c4a4ed
commit
f3c16f40ec
2 changed files with 0 additions and 6 deletions
4
src/x.c
4
src/x.c
|
@ -883,10 +883,6 @@ const char *x_strerror(struct x_connection *c, const xcb_generic_error_t *e) {
|
|||
e->error_code);
|
||||
}
|
||||
|
||||
void x_flush(struct x_connection *c) {
|
||||
xcb_flush(c->c);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a pixmap and check that creation succeeded.
|
||||
*/
|
||||
|
|
2
src/x.h
2
src/x.h
|
@ -392,8 +392,6 @@ void x_print_error_impl(struct x_connection *c, unsigned long serial, uint8_t ma
|
|||
*/
|
||||
const char *x_strerror(struct x_connection *c, const xcb_generic_error_t *e);
|
||||
|
||||
void x_flush(struct x_connection *c);
|
||||
|
||||
xcb_pixmap_t x_create_pixmap(struct x_connection *, uint8_t depth, int width, int height);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue