On Wed, 24 May 2017 17:33:36 -0400 "William L. Thomson Jr." <[email protected]>
said:

> Another requirement for pinentry is to grab keyboard and mouse. Mike
> did this originally in his version. However its using ecore_x specific
> code. Like the other ecore_x_init issue.

also wayland doesn't even allow grabbing of the kbd or mouse. it's considered a
highly unsocial thing to do to block a user out of everything else with their
input elsewhere.

i don't see how it is a REQUIREMENT. such a password entry dialog can work just
fine without any explicit grabbing of keyboard or mouse. the grabs sure are not
a security mechanism as they do not guarantee input is not faked. so what is
the actual REQUIREMENT (this thing can't function correctly without grabbing
keyboard and mouse)?

> I need wrappers for the grab stuff, keyboard and mouse. I do not see
> anything of the sort for Wayland. Thus for any wrapper, abstraction,
> likely have to code up such for Wayland. Then make a abstract interface
> to both. Not sure about win32 and cocoa.
> 
> ecore_x_keyboard_grab/ecore_x_keyboard_ungrab
> https://github.com/Obsidian-StudiosInc/pinentry/blob/zmike/efl/efl/pinentry-efl.c#L121
> 
> I do not think evas_object_key_grab is the same as keyboard_grab.
> 
> The idea is it should lock out everything else. The keyboard can only
> type to the opened window. The mouse can only interact with that window
> and nothing else.
> 
> -- 
> William L. Thomson Jr.


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to