x11: Fix declaration of x_graphics_set_clip_rectangle.
authorMatt Birkholz <matt@birchwood-abbey.net>
Thu, 24 Jan 2019 19:42:24 +0000 (12:42 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Thu, 24 Jan 2019 19:42:24 +0000 (12:42 -0700)
src/x11/x11-shim.h

index ad08660e69f32ce8a413817bfa9e72744a423f06..0aedde11ad1451e223e116fda1f2a34a1963afda 100644 (file)
@@ -168,8 +168,8 @@ extern void x_graphics_set_vdc_extent (struct xwindow * xw,
 extern void x_graphics_vdc_extent (struct xwindow * xw, float * results);
 extern void x_graphics_reset_clip_rectangle (struct xwindow * xw);
 extern void x_graphics_set_clip_rectangle (struct xwindow * xw,
-                                          int x_left, int y_bottom,
-                                          int x_right, int y_top);
+                                          float x_left, float y_bottom,
+                                          float x_right, float y_top);
 extern void x_graphics_reconfigure (struct xwindow * xw,
                                    unsigned int width, unsigned int height);
 extern struct xwindow * x_graphics_open_window (struct xdisplay * xd,