From a8d2aa2761dcbaf491da09a375e246758b1137c4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 20 Oct 2020 23:08:00 +0200 Subject: Fix puglSetFrame() error handling on X11 --- pugl/pugl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pugl/pugl.h') diff --git a/pugl/pugl.h b/pugl/pugl.h index cd931ed..a665721 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -969,6 +969,9 @@ puglGetFrame(const PuglView* view); Set the current position and size of the view. The position is in screen coordinates with an upper left origin. + + @return #PUGL_UNKNOWN_ERROR on failure, in which case the view frame is + unchanged. */ PUGL_API PuglStatus puglSetFrame(PuglView* view, PuglRect frame); -- cgit v1.2.1