From 2b6dd4c37f40496741cf69fe315f47b3032b16fa Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 21 May 2022 15:40:44 -0400 Subject: Avoid setting cursor on realization This avoids issues when the default X11 cursor isn't the expected "default" of the environment, for example with Plasma. A real application that changes the cursor needs to do so consistently on mouse enter and leave events anyway. --- src/x11.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/x11.c b/src/x11.c index 9504705..cce1f8c 100644 --- a/src/x11.c +++ b/src/x11.c @@ -387,10 +387,6 @@ puglRealize(PuglView* const view) impl->win, (XIM)0); -#ifdef HAVE_XCURSOR - defineCursorShape(view, impl->cursorShape); -#endif - puglDispatchSimpleEvent(view, PUGL_CREATE); return PUGL_SUCCESS; -- cgit v1.2.1