I had the same issue, when porting Irrlicht Engine
If I right understand you, in C in Wayland you need to say Wayland, that your
app does not freeze
shell_surface_ping (void *data, struct wl_shell_surface *shell_surface,
wl_shell_surface_pong (shell_surface, serial);
In my repo
That information you can find in many Wayland tutorials (when Wayland ping your
application, you have to answer it)
> Message: 4
> Date: Wed, 14 Feb 2018 05:50:06 +0000
> From: Martin Kampas <martin.kam...@jolla.com>
> To: Sailfish OS Developers <firstname.lastname@example.org>, Zhang Bird
> Subject: Re: [SailfishDevel] "Unnamed application is not responding" -
> How to respond from C and python?
> Content-Type: text/plain; charset="us-ascii"
> Hi Jonas,
> This example might help you
> https://github.com/sailfishos/sdk-sdl-project-example .
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Jonas Aaberg
> Sent: Tuesday, January 30, 2018 11:24 AM
> To: Zhang Bird
> Cc: Sailfish OS Developers
> Subject: Re: [SailfishDevel] "Unnamed application is not responding" - How to
> respond from C and python?
> Yes, some help would be great!
> Maybe create a wrapper util? Like
> sfos_wrap "python3 mypygame.py"
> Although, a flag in .desktop is probably prettier.
> On Sat, 27 Jan 2018 16:47:48 +0800
> Zhang Bird <0312birdzh...@gmail.com> wrote:
>> To be honest, "harbour-pygame_breakout.cpp" is uglycode.
>> I had the same question with you, and i didn't have a perfect
>> solution so i used uglycode :(
>> I tried pyotherside <http://pyotherside.readthedocs.io/en/latest/>
>> with qml, but it not support for SDL2 currently.
>> So, we need some help ;)
>> 2018-01-27 14:58 GMT+08:00 Jonas Aaberg <c...@lithops.se>:
>>> I tested two of my programs on SailfishOS:
>>> - texttv (https://bitbucket.org/gmelchett/texttv) written in
>>> python, using pygame_sdl2
>>> - endlessman (https://bitbucket.org/gmelchett/endlessman/) written
>>> in C using SDL2 (Needs some CFLAG changes to compile on Xperia X
>>> due to gcc 4.x)
>>> Both works nicely on SailfishOS, except that I repeatedly get
>>> "Unnamed application is not responding" with a some seconds in
>>> between. Is there a way to respond from python and C? Or can I
>>> somehow mark my programs as "don't communicate" with them to make
>>> SailfishOS ignore them? Special option in .desktop?
>>> Or must there be some kind of wrapper, like this one:
>>> Btw, I didn't manage to get it to compile, to me the error looks
>>> like the code is outdated (I'm completely green to QT and C++.. So
>>> some help then would be appreciated!)
>>> Best regards,
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
> Subject: Digest Footer
> Devel mailing list
> End of Devel Digest, Vol 46, Issue 5
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org