> Your analysis is almost right :-)
The story of my life. :-P
> poll waits for file descriptors which includes things like pipes and other
> communication methods, like those used by the Wayland compositor or X11 to
> tell GTK to redraw its part of the screen.
I see. It makes sense.
> Given your distro I presume its running with Wayland direct, not via
> xwayland, run with GDK_BACKEND=wayland geany and GDK_BACKEND=x11 geany and
> see if there is any difference.
I exported `GDK_BACKEND` to be *wayland*, and then run `gdb geany`, but it
failed with `can't open display':
```gdb
$ export GDK_BACKEND=wayland
$ gdb geany
(gdb) r
Geany: cannot open display
[Inferior 1 (process 1838926) exited with code 01]
(gdb) q
```
With exported `GDK_BACKEND` to be *x11* it started correctly, I guess tomorrow
I'll be able to say what happens.
I've also `run gdb` on **SciTE** to check whether it freezes or not at the same
spot.
If setting GDK_BACKED to x11 solves the issue, well, I guess that is a
workaround.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3447#issuecomment-1611008556
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3447/[email protected]>