diff options
author | David Robillard <d@drobilla.net> | 2022-05-21 15:40:44 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-05-21 15:40:44 -0400 |
commit | 2b6dd4c37f40496741cf69fe315f47b3032b16fa (patch) | |
tree | 8b525f278b4c51ae1cc9588ef6b7feb6467dc3d2 /src | |
parent | 66f2133d2b6293f62729d4665124094990441320 (diff) | |
download | pugl-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.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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; |