Hi, try with focusedFrame instead Frame *frame = page->focusController()->focusedOrMainFrame();
thanks Wajahat On Tue, Feb 2, 2010 at 3:50 PM, Jaroslav Klaus <[email protected]>wrote: > Hi > > How could I find focused node? I usually use > m_frame->document()->focusedNode() but it doesn't work for gmail's input > fields for some reason. > > When I click to search input field in gmail main page (the one after login) > I get no node focused while I get focused input text field node in gmail > login page or google web page. > > If I type and see cursor in input field it should be focused, shouldn't > it? > > Thx. > jaroslav > > _______________________________________________ > webkit-gtk mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk > >
_______________________________________________ webkit-gtk mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
