revery icon indicating copy to clipboard operation
revery copied to clipboard

Force grab focus of application

Open einarpersson opened this issue 5 years ago • 3 comments

Hi, new here. Would it be possible to use revery to create a desktop application that is "locked-down" / force focus? Think of a quiz-app where you want to prevent cheating

einarpersson avatar Nov 22 '19 21:11 einarpersson

Hi @einarpersson !

There are a couple of SDL2 flags that could facilitate this:

We'd need to plumb the API through into Revery, so that they are exposed on our Window API

bryphe avatar Nov 25 '19 23:11 bryphe

Also new here and following up on this. Are you open to pull requests on reason-sdl2? I am up for working on this. =)

ifazk avatar Apr 15 '20 17:04 ifazk

Also new here and following up on this. Are you open to pull requests on reason-sdl2? I am up for working on this. =)

Hey @ifazk, definitely open to PR's and we'll happily try to assist if you decide to give it a go. 🙂

lessp avatar Apr 15 '20 18:04 lessp