aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-21 15:40:44 -0400
committerDavid Robillard <d@drobilla.net>2022-05-21 15:40:44 -0400
commit2b6dd4c37f40496741cf69fe315f47b3032b16fa (patch)
tree8b525f278b4c51ae1cc9588ef6b7feb6467dc3d2 /src
parent66f2133d2b6293f62729d4665124094990441320 (diff)
downloadpugl-2b6dd4c37f40496741cf69fe315f47b3032b16fa.tar.gz
pugl-2b6dd4c37f40496741cf69fe315f47b3032b16fa.tar.bz2
pugl-2b6dd4c37f40496741cf69fe315f47b3032b16fa.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/x11.c4
1 files changed, 0 insertions, 4 deletions
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;