From 111aa79f7e0216fb72ba60e6a9140b7cc1f9898a Mon Sep 17 00:00:00 2001 From: dzaima Date: Tue, 24 Sep 2024 16:26:03 +0300 Subject: [PATCH] X11: fix _nSetTitle return type --- linux/java/WindowX11.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/java/WindowX11.java b/linux/java/WindowX11.java index d60e0502..c11920df 100644 --- a/linux/java/WindowX11.java +++ b/linux/java/WindowX11.java @@ -225,7 +225,7 @@ public boolean isFullScreen() { @ApiStatus.Internal public native void _nMaximize(); @ApiStatus.Internal public native void _nMinimize(); @ApiStatus.Internal public native void _nRestore(); - @ApiStatus.Internal public native Screen _nSetTitle(byte[] title); + @ApiStatus.Internal public native void _nSetTitle(byte[] title); @ApiStatus.Internal public native void _nSetTitlebarVisible(boolean isVisible); @ApiStatus.Internal public native void _nSetFullScreen(boolean isFullScreen); @ApiStatus.Internal public native boolean _nIsFullScreen();