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 Bisnot a root window, itgenerates a FocusIn event on each windowfrom window B’s root down to but not including window B,with the detail memberof each XFocusInEvent structure set to NotifyNonlinearVirtual.Itgenerates a FocusIn event on window B,with the detail member of each XFocusInEventstructure 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 ofeach XFocusInEvent structure set to NotifyPointer.• When the focus moves from window Ato PointerRoot (events sent to the window underthe pointer) or None (discard), 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 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.Itgenerates a FocusIn event on the root window ofall screens, with the detail memberof each XFocusInEvent structure set to NotifyPointerRoot (or NotifyDetail-None).Ifthe new focus is PointerRoot, itgenerates a FocusIn event on each window fromwindow P’s root down to and including window P,with the detail member of eachXFocusInEvent structure set to NotifyPointer.• When the focus moves from PointerRoot (events sent to the window under the pointer) orNone to window A,and the pointer is in window P,the X server does the following:−−−−−Ifthe old focus is PointerRoot, itgenerates a FocusOut event on each windowfrom window Puptoand including window P’s root, with the detail member of eachXFocusOutEvent structure set to NotifyPointer.Itgenerates a FocusOut event on all root windows, with the detail member of eachXFocusOutEvent structure set to NotifyPointerRoot (or NotifyDetailNone).Ifwindow Aisnot a root window, itgenerates a FocusIn event on each windowfrom window A’s root down to but not including window A,with the detail memberof each XFocusInEvent structure set to NotifyNonlinearVirtual.Itgenerates a FocusIn event on window A,with the detail member of the XFocusInEventstructure set to NotifyNonlinear.Ifwindow Pisaninferior of window A,itgenerates a FocusIn event on each windowbelow window Adown toand including window P,with the detail member ofeach XFocusInEvent structure set to NotifyPointer.• When the focus moves from PointerRoot (events sent to the window under the pointer) toNone (or vice versa), and the pointer is in window P,the X server does the following:−Ifthe old focus is PointerRoot, itgenerates a FocusOut event on each windowfrom window Puptoand including window P’s root, with the detail member of eachXFocusOutEvent structure set to NotifyPointer.213

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

Saved successfully!

Ooh no, something went wrong!