<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I had the same issue, when porting Irrlicht Engine <a href="https://together.jolla.com/question/165688/nearly-done-irrlicht-19-opengles2-engine-port/" class="">https://together.jolla.com/question/165688/nearly-done-irrlicht-19-opengles2-engine-port/</a><div class="">If I right understand you, in C in Wayland you need to say Wayland, <span class="translation-chunk" data-align="22:26">that</span> <span class="translation-chunk" data-align="38:40">your</span> <span class="translation-chunk" data-align="27:37">app</span> <span class="translation-chunk" data-align="41:48">does not freeze </span></div><div class=""><span class="translation-chunk" data-align="41:48"><br class=""></span></div><div class=""><span class="translation-chunk" data-align="41:48"><pre style="word-wrap: break-word; white-space: pre-wrap;" class="">static void
shell_surface_ping (void *data, struct wl_shell_surface *shell_surface, uint32_t serial)
{
        wl_shell_surface_pong (shell_surface, serial);
}</pre><div class="">In my repo <a href="https://github.com/savegame/sailfish-irrlicht/blob/master/source/Irrlicht/CIrrDeviceLinux.cpp" class="">https://github.com/savegame/sailfish-irrlicht/blob/master/source/Irrlicht/CIrrDeviceLinux.cpp</a> line 637</div></span></div><div class=""></div><div class=""></div><div class=""><br class=""></div><div class="">That information you can find in many Wayland tutorials (when Wayland ping your application, you have to answer it)</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Message: 4</div><div class=""><div class="">Date: Wed, 14 Feb 2018 05:50:06 +0000<br class="">From: Martin Kampas <<a href="mailto:martin.kampas@jolla.com" class="">martin.kampas@jolla.com</a>><br class="">To: Sailfish OS Developers <<a href="mailto:devel@lists.sailfishos.org" class="">devel@lists.sailfishos.org</a>>, Zhang Bird<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span><<a href="mailto:0312birdzhang@gmail.com" class="">0312birdzhang@gmail.com</a>><br class="">Subject: Re: [SailfishDevel] "Unnamed application is not responding" -<br class=""><span class="Apple-tab-span" style="white-space:pre">     </span>How to respond from C and python?<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space:pre">      </span><<a href="mailto:597ECB6BFD23CC488EED8B6CD7566AD25B0C0989@ORD2MBX01B.mex05.mlsrvr.com" class="">597ECB6BFD23CC488EED8B6CD7566AD25B0C0989@ORD2MBX01B.mex05.mlsrvr.com</a>><br class="">Content-Type: text/plain; charset="us-ascii"<br class=""><br class="">Hi Jonas,<br class=""><br class="">This example might help you <a href="https://github.com/sailfishos/sdk-sdl-project-example" class="">https://github.com/sailfishos/sdk-sdl-project-example</a> .<br class=""><br class="">BR,<br class="">Martin<br class=""><br class="">________________________________________<br class="">From: Devel [<a href="mailto:devel-bounces@lists.sailfishos.org" class="">devel-bounces@lists.sailfishos.org</a>] on behalf of Jonas Aaberg [<a href="mailto:cja@lithops.se" class="">cja@lithops.se</a>]<br class="">Sent: Tuesday, January 30, 2018 11:24 AM<br class="">To: Zhang Bird<br class="">Cc: Sailfish OS Developers<br class="">Subject: Re: [SailfishDevel] "Unnamed application is not responding" - How to respond from C and python?<br class=""><br class="">Yes, some help would be great!<br class=""><br class="">Maybe create a wrapper util? Like<br class=""><br class="">--<br class="">sfos_wrap "python3 mypygame.py"<br class="">--<br class=""><br class="">Although, a flag in .desktop is probably prettier.<br class=""><br class="">BR,<br class=""> Jonas<br class=""><br class=""><br class="">On Sat, 27 Jan 2018 16:47:48 +0800<br class="">Zhang Bird <<a href="mailto:0312birdzhang@gmail.com" class="">0312birdzhang@gmail.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class="">To be honest, "harbour-pygame_breakout.cpp" is uglycode.<br class="">I had the same question with you, and i didn't have a perfect<br class="">solution so i used uglycode :(<br class=""><br class="">I tried pyotherside <<a href="http://pyotherside.readthedocs.io/en/latest/" class="">http://pyotherside.readthedocs.io/en/latest/</a>><br class="">with qml, but it not support for SDL2 currently.<br class="">So, we need some help ;)<br class=""><br class=""><br class="">2018-01-27 14:58 GMT+08:00 Jonas Aaberg <<a href="mailto:cja@lithops.se" class="">cja@lithops.se</a>>:<br class=""><br class=""><blockquote type="cite" class=""><br class=""><br class="">Hi,<br class=""><br class="">I tested two of my programs on SailfishOS:<br class=""> - texttv (<a href="https://bitbucket.org/gmelchett/texttv" class="">https://bitbucket.org/gmelchett/texttv</a>) written in<br class="">python, using pygame_sdl2<br class=""> - endlessman (<a href="https://bitbucket.org/gmelchett/endlessman/" class="">https://bitbucket.org/gmelchett/endlessman/</a>) written<br class="">in C using SDL2 (Needs some CFLAG changes to compile on Xperia X<br class="">due to gcc 4.x)<br class=""><br class="">Both works nicely on SailfishOS, except that I repeatedly get<br class="">"Unnamed application is not responding" with a some seconds in<br class="">between. Is there a way to respond from python and C? Or can I<br class="">somehow mark my programs as "don't communicate" with them to make<br class="">SailfishOS ignore them? Special option in .desktop?<br class=""><br class="">Or must there be some kind of wrapper, like this one:<br class=""><br class=""><a href="https://github.com/0312birdzhang/harbour-pygame_breakout/blob/master/src/" class="">https://github.com/0312birdzhang/harbour-pygame_breakout/blob/master/src/</a><br class="">harbour-pygame_breakout.cpp<br class=""><br class=""><br class="">Btw, I didn't manage to get it to compile, to me the error looks<br class="">like the code is outdated (I'm completely green to QT and C++.. So<br class="">some help then would be appreciated!)<br class=""><br class=""><br class="">Best regards,<br class=""> Jonas<br class="">_______________________________________________<br class="">SailfishOS.org Devel mailing list<br class="">To unsubscribe, please send a mail to devel-unsubscribe@lists.<br class="">sailfishos.org<br class=""></blockquote></blockquote><br class="">_______________________________________________<br class=""><a href="http://SailfishOS.org" class="">SailfishOS.org</a> Devel mailing list<br class="">To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" class="">devel-unsubscribe@lists.sailfishos.org</a><br class=""><br class=""><br class="">------------------------------<br class=""><br class="">Subject: Digest Footer<br class=""><br class="">_______________________________________________<br class="">Devel mailing list<br class=""><a href="mailto:Devel@lists.sailfishos.org" class="">Devel@lists.sailfishos.org</a><br class="">https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel<br class=""><br class="">------------------------------<br class=""><br class="">End of Devel Digest, Vol 46, Issue 5<br class="">************************************<br class=""></div></div></blockquote></div><br class=""></div></body></html>