=== 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 | ||
eightbitbubsy | hi. 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 |
---|---|---|
eightbitbubsy | I 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_ | ||
kalikiana | eightbitbubsy: 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 |
eightbitbubsy | yeah, I figured it out earlier | 13:08 |
=== chihchun is now known as chihchun_afk | ||
=== JanC_ is now known as JanC | ||
kalikiana | zsombi: Wanna review these? https://github.com/CanonicalLtd/uitk2/pull/4 | 16:23 |
zsombi | kalikiana: sure :) | 16:37 |
zsombi | kalikiana: hmm, travis failed | 16:40 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!