From ebed5b108082ea81e14c3cdcf0559a0395e401b9 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Thu, 24 Jan 2019 12:42:24 -0700 Subject: [PATCH] x11: Fix declaration of x_graphics_set_clip_rectangle. (cherry picked from commit 8bdee68690a0a8e70b4f9c6183cf80f668f0cad4) --- src/x11/x11-shim.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x11/x11-shim.h b/src/x11/x11-shim.h index ad08660e6..0aedde11a 100644 --- a/src/x11/x11-shim.h +++ b/src/x11/x11-shim.h @@ -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, -- 2.25.1