I’m new to this list, but not completely new to SDL. Welcome
everybody.
I am experimenting SDL2.0.1 in linux and I found a strange behaviour
with the clipboard api. When I play with SDL_GetClipboardText and
SDL_SetClipboardText, then after a while, there seems to be a weird
interaction with emacs (which I use for coding).
Namely: as soon as I select a test region in emacs, emacs completely
freezes and eats 100% CPU, I have to kill it.
On the other hand, my small SDL app does not notice anything and is
still running fine.
Is it possible that SDL does something nasty with the X11 clipboard ?
I’m new to this list, but not completely new to SDL. Welcome
everybody.
I am experimenting SDL2.0.1 in linux and I found a strange behaviour
with the clipboard api. When I play with SDL_GetClipboardText and
SDL_SetClipboardText, then after a while, there seems to be a weird
interaction with emacs (which I use for coding).
Namely: as soon as I select a test region in emacs, emacs completely
freezes and eats 100% CPU, I have to kill it.
On the other hand, my small SDL app does not notice anything and is
still running fine.
Is it possible that SDL does something nasty with the X11 clipboard ?
I would report this to the Emacs developers anyway just for the fact
gets stuck eating 100% CPU and needs to be killed. No program should
get stuck like that, under any circumstances.
2014-02-01, Andreas Schiffler :> Wouldn’t the suspect be rather emacs if its process eats 100% CPU?
On 1/31/2014 1:51 AM, sanette-linux at laposte.net wrote:
Hi
I’m new to this list, but not completely new to SDL. Welcome
everybody.
I am experimenting SDL2.0.1 in linux and I found a strange behaviour
with the clipboard api. When I play with SDL_GetClipboardText and
SDL_SetClipboardText, then after a while, there seems to be a weird
interaction with emacs (which I use for coding).
Namely: as soon as I select a test region in emacs, emacs completely
freezes and eats 100% CPU, I have to kill it.
On the other hand, my small SDL app does not notice anything and is
still running fine.
Is it possible that SDL does something nasty with the X11 clipboard ?
I’m new to this list, but not completely new to SDL. Welcome
everybody.
I am experimenting SDL2.0.1 in linux and I found a strange behaviour
with the clipboard api. When I play with SDL_GetClipboardText and
SDL_SetClipboardText, then after a while, there seems to be a weird
interaction with emacs (which I use for coding).
Namely: as soon as I select a test region in emacs, emacs completely
freezes and eats 100% CPU, I have to kill it.
On the other hand, my small SDL app does not notice anything and is
still running fine.
Is it possible that SDL does something nasty with the X11 clipboard ?