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)
committerChris Hanson <org/chris-hanson/cph>
Sat, 26 Jan 2019 22:48:01 +0000 (14:48 -0800)
(cherry picked from commit 8bdee68690a0a8e70b4f9c6183cf80f668f0cad4)

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,