12.07.2015 Views

Xlib − C Language X Interface

Xlib − C Language X Interface

Xlib − C Language X Interface

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Xlib</strong> − C LibraryX11, Release 6.7 DRAFT−Ifwindow Pisaninferior of window Bbut window Pisnot window Aoraninferioror ancestor of window A,itgenerates a FocusIn event on each window below windowB,down toand including window P,with the detail member of each XFocusIn-Event structure set to NotifyPointer.• When the focus moves from window Atowindow B,Bisaninferior of A, and the pointeris in window P,the X server does the following:−−Ifwindow Pisaninferior of window Abut P is not an inferior of window Boranancestor of B, it generates a FocusOut event on each window from window Puptobut not including window A,with the detail member of each XFocusOutEventstructure set to NotifyPointer.Itgenerates a FocusOut event on window A,with the detail member of the XFocusOutEventstructure set to NotifyInferior.− Itgenerates a FocusIn event on each window between window Aand window B,exclusive, with the detail member of each XFocusInEvent structure set to NotifyVirtual.−Itgenerates a FocusIn event on window B,with the detail member of the XFocusIn-Event structure set to NotifyAncestor.• When the focus moves from window Atowindow B,window Cistheir least commonancestor, and the pointer is in window P,the X server does the following:−−Ifwindow Pisaninferior of window A,itgenerates a FocusOut event on each windowfrom window Puptobut not including window A,with the detail member of theXFocusOutEvent structure set to NotifyPointer.Itgenerates a FocusOut event on window A,with the detail member of the XFocusOutEventstructure set to NotifyNonlinear.− Itgenerates a FocusOut event on each window between window Aand window C,exclusive, with the detail member of each XFocusOutEvent structure set to NotifyNonlinearVirtual.−−−Itgenerates a FocusIn event on each window between C and B, exclusive, with thedetail member of each XFocusInEvent structure set to NotifyNonlinearVirtual.Itgenerates a FocusIn event on window B,with the detail member of the XFocusIn-Event structure set to NotifyNonlinear.Ifwindow Pisaninferior of window B,itgenerates a FocusIn event on each windowbelow window Bdown toand including window P,with the detail member ofthe XFocusInEvent structure set to NotifyPointer.• When the focus moves from window Atowindow Bondifferent screens and the pointer isin window P,the X server does the following:−−−Ifwindow Pisaninferior of window A,itgenerates a FocusOut event on each windowfrom window Puptobut not including window A,with the detail member ofeach XFocusOutEvent structure set to NotifyPointer.Itgenerates a FocusOut event on window A,with the detail member of the XFocusOutEventstructure set to NotifyNonlinear.Ifwindow Aisnot a root window, itgenerates a FocusOut event on each windowabove window Auptoand including its root, with the detail member of each XFocusOutEventstructure set to NotifyNonlinearVirtual.212

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!