It’s been years since I’ve been bothered by the fact that Firefox (or, at that time, GNOME Web, or any GTK app for that matter) won’t let you use Twitcher because it will capture the keys before Haiku could do anything, rendering Twitcher almost useless for me since almost always have a browser window open. Yesterday I did a search on the forums that pointed that this is apparently a bug on Haiku (Making sure you're not a bot!), that should handle this on the input_server
I wrote (or basically stole) a very simple input_server filter and to my surprise, it worked! Now I can change apps with ALT-TAB while on Firefox. The only downside is that Twitcher window doesn’t open: just the quick change feature works, and I can’t figure out why. I’m basically doing the same that BWindow::DispatchMessage does, but I’m obviously messing up somewhere. I checked that the code that “decides” between doing a quick change or opening a Twitcher windows is on Deskbar’s side, so this shouldn’t be the problem.
EDIT: for those of you who don’t know, if you release the TAB key quick enough, Twitcher will change apps without showing its window. If you leave the key pressed a little bit longer, it will show the window with all the open apps.
I’m sure it’s something easy and you can point me to the correct solution. Thanks!