/srv/irclogs.ubuntu.com/2017/03/23/#ubuntu-app-devel.txt

=== chihchun is now known as chihchun_afk
=== salem_ is now known as _salem
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chrisccoulson_ is now known as chrisccoulson
eightbitbubsyhi. I'm making a windowed program with SDL2, and I need to use the binding ALT+F4, but it's reserved and generates a sigterm. Is there any way in C that I can talk to the API (probably GTK or something?) and prevent ALT+F4 from triggering any event?10:33
eightbitbubsyI know SDL2 has a hint setting for this, but it's for Windows only.10:33
eightbitbubsy(don't ask why I need to use ALT+F4, I have a legit reason)10:34
=== _salem is now known as salem_
kalikianaeightbitbubsy: It's technically a binding in the window manager, not the application. So you'd have to prevent the window from being closed and special-case closing it with hotkey that you implement.13:07
eightbitbubsyyeah, I figured it out earlier13:08
=== chihchun is now known as chihchun_afk
=== JanC_ is now known as JanC
kalikianazsombi: Wanna review these? https://github.com/CanonicalLtd/uitk2/pull/416:23
zsombikalikiana: sure :)16:37
zsombikalikiana: hmm, travis failed16:40

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!