View Single Post
Old 10-13-2018, 11:51 AM   #1
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
user interaction while nickel is running?

While reading a book with nickel, I'd like to do something akin of displaying a Yes/No popup dialog box, and allow the user to interact with it.

The problem is, nickel will process those touch events and flip pages or do other random things.

Is there a way to make nickel ignore touch events temporarily, so you can go seamlessly from reading to an interactive popup and back to reading?

My attempts so far were unsuccessful:

- (un-)binding the touchscreen driver disables touch, but for nickel it does so permanently; have to re-start nickel entirely to make touch work again.

- freezing nickel (kill SIGSTOP) allows user interaction just fine, but when you unfreeze nickel (kill SIGCONT), it will still process all touch events that happened while frozen

Any ideas?
frostschutz is offline   Reply With Quote