5 #include <X11/keysym.h> 
    7 #include "renderers/cairo.h" 
   17     uint32_t width, height;
 
   32     uint32_t x, y, width, height, max_height;
 
   39         void (*render)(
struct cairo *
cairo, uint32_t width, uint32_t height, uint32_t max_height, 
const struct bm_menu *menu, 
struct cairo_paint_result *result);
 
   48 void bm_x11_window_render(
struct window *
window, 
const struct bm_menu *menu);
 
   49 void bm_x11_window_key_press(
struct window *
window, XKeyEvent *ev);
 
   50 void bm_x11_window_set_monitor(
struct window *
window, uint32_t monitor);
 
   51 void bm_x11_window_set_bottom(
struct window *
window, 
bool bottom);
 
   52 bool bm_x11_window_create(
struct window *
window, Display *display);