diff --git a/include/hexagram/window.h b/include/hexagram/window.h index 65f5b1c..34bfc98 100644 --- a/include/hexagram/window.h +++ b/include/hexagram/window.h @@ -22,7 +22,7 @@ void hexagram_window_destroy(hexagram_window *window); Display *hexagram_window_get_display(hexagram_window *window); -int hexagram_window_get_display_fd(hexagram_window *window); +int hexagram_window_display_fd(hexagram_window *window); int hexagram_window_show(hexagram_window *window); diff --git a/src/window.c b/src/window.c index 04b8cd4..713bee9 100644 --- a/src/window.c +++ b/src/window.c @@ -170,7 +170,7 @@ Display *hexagram_window_get_display(hexagram_window *window) { return window->display; } -int hexagram_window_get_display_fd(hexagram_window *window) { +int hexagram_window_display_fd(hexagram_window *window) { return ConnectionNumber(window->display); }