|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: X
Length: 5338 (0x14da)
Names: »XSetInputFocus.3X«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/XSetInputFocus.3X«
0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆ 0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 ┆ u_ a_ l Library Funct┆ 0x0040…0060 69 6f 6e 73 20 20 20 20 20 20 58 53 65 74 49 6e 70 75 74 46 6f 63 75 73 28 33 58 29 0a 0a 0a 0a ┆ions XSetInputFocus(3X) ┆ 0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆ 0x0080…00a0 20 20 58 53 65 74 49 6e 70 75 74 46 6f 63 75 73 2c 20 58 47 65 74 49 6e 70 75 74 46 6f 63 75 73 ┆ XSetInputFocus, XGetInputFocus┆ 0x00a0…00c0 20 2d 20 63 6f 6e 74 72 6f 6c 20 69 6e 70 75 74 20 66 6f 63 75 73 0a 0a 53 08 53 08 53 08 53 59 ┆ - control input focus S S S SY┆ 0x00c0…00e0 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 ┆ Y Y YN N N NT T T TA A A AX X X┆ 0x00e0…0100 08 58 0a 20 20 20 20 20 58 53 65 74 49 6e 70 75 74 46 6f 63 75 73 28 5f 08 64 5f 08 69 5f 08 73 ┆ X XSetInputFocus(_ d_ i_ s┆ 0x0100…0120 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 2c 20 5f 08 66 5f 08 6f 5f 08 63 5f 08 75 5f 08 73 2c 20 5f ┆_ p_ l_ a_ y, _ f_ o_ c_ u_ s, _┆ 0x0120…0140 08 72 5f 08 65 5f 08 76 5f 08 65 5f 08 72 5f 08 74 5f 5f 08 74 5f 08 6f 2c 20 5f 08 74 5f 08 69 ┆ r_ e_ v_ e_ r_ t__ t_ o, _ t_ i┆ 0x0140…0160 5f 08 6d 5f 08 65 29 0a 20 20 20 20 20 20 20 20 20 20 20 44 69 73 70 6c 61 79 20 2a 5f 08 64 5f ┆_ m_ e) Display *_ d_┆ 0x0160…0180 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 3b 0a 20 20 20 20 20 20 20 20 20 20 20 57 69 ┆ i_ s_ p_ l_ a_ y; Wi┆ 0x0180…01a0 6e 64 6f 77 20 5f 08 66 5f 08 6f 5f 08 63 5f 08 75 5f 08 73 3b 0a 20 20 20 20 20 20 20 20 20 20 ┆ndow _ f_ o_ c_ u_ s; ┆ 0x01a0…01c0 20 69 6e 74 20 5f 08 72 5f 08 65 5f 08 76 5f 08 65 5f 08 72 5f 08 74 5f 5f 08 74 5f 08 6f 3b 0a ┆ int _ r_ e_ v_ e_ r_ t__ t_ o; ┆ 0x01c0…01e0 20 20 20 20 20 20 20 20 20 20 20 54 69 6d 65 20 5f 08 74 5f 08 69 5f 08 6d 5f 08 65 3b 0a 0a 20 ┆ Time _ t_ i_ m_ e; ┆ 0x01e0…0200 20 20 20 20 58 47 65 74 49 6e 70 75 74 46 6f 63 75 73 28 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f ┆ XGetInputFocus(_ d_ i_ s_ p_┆ 0x0200…0220 08 6c 5f 08 61 5f 08 79 2c 20 5f 08 66 5f 08 6f 5f 08 63 5f 08 75 5f 08 73 5f 5f 08 72 5f 08 65 ┆ l_ a_ y, _ f_ o_ c_ u_ s__ r_ e┆ 0x0220…0240 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 2c 20 5f 08 72 5f 08 65 5f 08 76 5f 08 65 5f 08 72 5f 08 74 ┆_ t_ u_ r_ n, _ r_ e_ v_ e_ r_ t┆ 0x0240…0260 5f 5f 08 74 5f 08 6f 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 29 0a 20 20 20 20 ┆__ t_ o__ r_ e_ t_ u_ r_ n) ┆ 0x0260…0280 20 20 20 20 20 20 20 44 69 73 70 6c 61 79 20 2a 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f ┆ Display *_ d_ i_ s_ p_ l_┆ 0x0280…02a0 08 61 5f 08 79 3b 0a 20 20 20 20 20 20 20 20 20 20 20 57 69 6e 64 6f 77 20 2a 5f 08 66 5f 08 6f ┆ a_ y; Window *_ f_ o┆ 0x02a0…02c0 5f 08 63 5f 08 75 5f 08 73 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 3b 0a 20 20 ┆_ c_ u_ s__ r_ e_ t_ u_ r_ n; ┆ 0x02c0…02e0 20 20 20 20 20 20 20 20 20 69 6e 74 20 2a 5f 08 72 5f 08 65 5f 08 76 5f 08 65 5f 08 72 5f 08 74 ┆ int *_ r_ e_ v_ e_ r_ t┆ 0x02e0…0300 5f 5f 08 74 5f 08 6f 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 3b 0a 0a 41 08 41 ┆__ t_ o__ r_ e_ t_ u_ r_ n; A A┆ 0x0300…0320 08 41 08 41 52 08 52 08 52 08 52 47 08 47 08 47 08 47 55 08 55 08 55 08 55 4d 08 4d 08 4d 08 4d ┆ A AR R R RG G G GU U U UM M M M┆ 0x0320…0340 45 08 45 08 45 08 45 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 53 08 53 08 53 08 53 0a 20 20 20 ┆E E E EN N N NT T T TS S S S ┆ 0x0340…0360 20 20 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 20 20 20 53 70 65 63 69 66 ┆ _ d_ i_ s_ p_ l_ a_ y Specif┆ 0x0360…0380 69 65 73 20 74 68 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 74 6f 20 74 68 65 20 58 20 73 65 72 76 ┆ies the connection to the X serv┆ 0x0380…03a0 65 72 2e 0a 0a 20 20 20 20 20 5f 08 66 5f 08 6f 5f 08 63 5f 08 75 5f 08 73 20 20 20 20 20 53 70 ┆er. _ f_ o_ c_ u_ s Sp┆ 0x03a0…03c0 65 63 69 66 69 65 73 20 74 68 65 20 77 69 6e 64 6f 77 2c 20 5f 08 50 5f 08 6f 5f 08 69 5f 08 6e ┆ecifies the window, _ P_ o_ i_ n┆ 0x03c0…03e0 5f 08 74 5f 08 65 5f 08 72 5f 08 52 5f 08 6f 5f 08 6f 5f 08 74 2c 20 6f 72 20 5f 08 4e 5f 08 6f ┆_ t_ e_ r_ R_ o_ o_ t, or _ N_ o┆ 0x03e0…0400 5f 08 6e 5f 08 65 2e 0a 0a 20 20 20 20 20 5f 08 66 5f 08 6f 5f 08 63 5f 08 75 5f 08 73 5f 5f 08 ┆_ n_ e. _ f_ o_ c_ u_ s__ ┆ 0x0400…0420 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆r_ e_ t_ u_ r_ n ┆ 0x0420…0440 52 65 74 75 72 6e 73 20 74 68 65 20 66 6f 63 75 73 20 77 69 6e 64 6f 77 2c 20 5f 08 50 5f 08 6f ┆Returns the focus window, _ P_ o┆ 0x0440…0460 5f 08 69 5f 08 6e 5f 08 74 5f 08 65 5f 08 72 5f 08 52 5f 08 6f 5f 08 6f 5f 08 74 2c 20 6f 72 20 ┆_ i_ n_ t_ e_ r_ R_ o_ o_ t, or ┆ 0x0460…0480 5f 08 4e 5f 08 6f 5f 08 6e 5f 08 65 2e 0a 0a 20 20 20 20 20 5f 08 72 5f 08 65 5f 08 76 5f 08 65 ┆_ N_ o_ n_ e. _ r_ e_ v_ e┆ 0x0480…04a0 5f 08 72 5f 08 74 5f 5f 08 74 5f 08 6f 20 53 70 65 63 69 66 69 65 73 20 77 68 65 72 65 20 74 68 ┆_ r_ t__ t_ o Specifies where th┆ 0x04a0…04c0 65 20 69 6e 70 75 74 20 66 6f 63 75 73 20 72 65 76 65 72 74 73 20 74 6f 20 69 66 20 74 68 65 0a ┆e input focus reverts to if the ┆ 0x04c0…04e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 20 62 65 63 6f 6d 65 73 20 6e 6f ┆ window becomes no┆ 0x04e0…0500 74 20 76 69 65 77 61 62 6c 65 2e 20 20 59 6f 75 20 63 61 6e 20 70 61 73 73 20 5f 08 52 5f 08 65 ┆t viewable. You can pass _ R_ e┆ 0x0500…0520 5f 08 76 5f 08 65 5f 08 72 5f 08 74 5f 08 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f ┆_ v_ e_ r_ t_ - _┆ 0x0520…0540 08 54 5f 08 6f 5f 08 50 5f 08 61 5f 08 72 5f 08 65 5f 08 6e 5f 08 74 2c 20 5f 08 52 5f 08 65 5f ┆ T_ o_ P_ a_ r_ e_ n_ t, _ R_ e_┆ 0x0540…0560 08 76 5f 08 65 5f 08 72 5f 08 74 5f 08 54 5f 08 6f 5f 08 50 5f 08 6f 5f 08 69 5f 08 6e 5f 08 74 ┆ v_ e_ r_ t_ T_ o_ P_ o_ i_ n_ t┆ 0x0560…0580 5f 08 65 5f 08 72 5f 08 52 5f 08 6f 5f 08 6f 5f 08 74 2c 20 6f 72 20 5f 08 52 5f 08 65 5f 08 76 ┆_ e_ r_ R_ o_ o_ t, or _ R_ e_ v┆ 0x0580…05a0 5f 08 65 5f 08 72 5f 08 74 5f 08 54 5f 08 6f 5f 08 4e 5f 08 6f 5f 08 6e 5f 08 65 2e 0a 0a 20 20 ┆_ e_ r_ t_ T_ o_ N_ o_ n_ e. ┆ 0x05a0…05c0 20 20 20 5f 08 72 5f 08 65 5f 08 76 5f 08 65 5f 08 72 5f 08 74 5f 5f 08 74 5f 08 6f 5f 5f 08 72 ┆ _ r_ e_ v_ e_ r_ t__ t_ o__ r┆ 0x05c0…05e0 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 ┆_ e_ t_ u_ r_ n R┆ 0x05e0…0600 65 74 75 72 6e 73 20 74 68 65 20 63 75 72 72 65 6e 74 20 66 6f 63 75 73 20 73 74 61 74 65 20 28 ┆eturns the current focus state (┆ 0x0600…0620 5f 08 52 5f 08 65 5f 08 76 5f 08 65 5f 08 72 5f 08 74 5f 08 54 5f 08 6f 5f 08 50 5f 08 61 5f 08 ┆_ R_ e_ v_ e_ r_ t_ T_ o_ P_ a_ ┆ 0x0620…0640 72 5f 08 65 5f 08 6e 5f 08 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 52 5f 08 ┆r_ e_ n_ t, _ R_ ┆ 0x0640…0660 65 5f 08 76 5f 08 65 5f 08 72 5f 08 74 5f 08 54 5f 08 6f 5f 08 50 5f 08 6f 5f 08 69 5f 08 6e 5f ┆e_ v_ e_ r_ t_ T_ o_ P_ o_ i_ n_┆ 0x0660…0680 08 74 5f 08 65 5f 08 72 5f 08 52 5f 08 6f 5f 08 6f 5f 08 74 2c 20 6f 72 20 5f 08 52 5f 08 65 5f ┆ t_ e_ r_ R_ o_ o_ t, or _ R_ e_┆ 0x0680…06a0 08 76 5f 08 65 5f 08 72 5f 08 74 5f 08 54 5f 08 6f 5f 08 4e 5f 08 6f 5f 08 6e 5f 08 65 29 2e 0a ┆ v_ e_ r_ t_ T_ o_ N_ o_ n_ e). ┆ 0x06a0…06c0 0a 20 20 20 20 20 5f 08 74 5f 08 69 5f 08 6d 5f 08 65 20 20 20 20 20 20 53 70 65 63 69 66 69 65 ┆ _ t_ i_ m_ e Specifie┆ 0x06c0…06e0 73 20 74 68 65 20 74 69 6d 65 2e 20 20 59 6f 75 20 63 61 6e 20 70 61 73 73 20 65 69 74 68 65 72 ┆s the time. You can pass either┆ 0x06e0…0700 20 61 20 74 69 6d 65 73 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 61 6d 70 20 6f 72 ┆ a times- tamp or┆ 0x0700…0720 20 5f 08 43 5f 08 75 5f 08 72 5f 08 72 5f 08 65 5f 08 6e 5f 08 74 5f 08 54 5f 08 69 5f 08 6d 5f ┆ _ C_ u_ r_ r_ e_ n_ t_ T_ i_ m_┆ 0x0720…0740 08 65 2e 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 ┆ e. D D D DE E E ES S S SC C C ┆ 0x0740…0760 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 ┆CR R R RI I I IP P P PT T T TI I┆ 0x0760…0780 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 54 68 65 20 5f 08 58 5f ┆ I IO O O ON N N N The _ X_┆ 0x0780…07a0 08 53 5f 08 65 5f 08 74 5f 08 49 5f 08 6e 5f 08 70 5f 08 75 5f 08 74 5f 08 46 5f 08 6f 5f 08 63 ┆ S_ e_ t_ I_ n_ p_ u_ t_ F_ o_ c┆ 0x07a0…07c0 5f 08 75 5f 08 73 20 66 75 6e 63 74 69 6f 6e 20 63 68 61 6e 67 65 73 20 74 68 65 20 69 6e 70 75 ┆_ u_ s function changes the inpu┆ 0x07c0…07e0 74 20 66 6f 63 75 73 20 61 6e 64 20 74 68 65 0a 20 20 20 20 20 6c 61 73 74 2d 66 6f 63 75 73 2d ┆t focus and the last-focus-┆ 0x07e0…0800 63 68 61 6e 67 65 20 74 69 6d 65 2e 20 20 49 74 20 68 61 73 20 6e 6f 20 65 66 66 65 63 74 20 69 ┆change time. It has no effect i┆ 0x0800…0820 66 20 74 68 65 20 73 70 65 63 69 66 69 65 64 0a 20 20 20 20 20 74 69 6d 65 20 69 73 20 65 61 72 ┆f the specified time is ear┆ 0x0820…0840 6c 69 65 72 20 74 68 61 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 6c 61 73 74 2d 66 6f 63 75 73 ┆lier than the current last-focus┆ 0x0840…0860 2d 63 68 61 6e 67 65 20 74 69 6d 65 20 6f 72 0a 20 20 20 20 20 69 73 20 6c 61 74 65 72 20 74 68 ┆-change time or is later th┆ 0x0860…0880 61 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 58 20 73 65 72 76 65 72 20 74 69 6d 65 2e 20 20 4f ┆an the current X server time. O┆ 0x0880…08a0 74 68 65 72 77 69 73 65 2c 20 74 68 65 0a 20 20 20 20 20 6c 61 73 74 2d 66 6f 63 75 73 2d 63 68 ┆therwise, the last-focus-ch┆ 0x08a0…08c0 61 6e 67 65 20 74 69 6d 65 20 69 73 20 73 65 74 20 74 6f 20 74 68 65 20 73 70 65 63 69 66 69 65 ┆ange time is set to the specifie┆ 0x08c0…08e0 64 20 74 69 6d 65 0a 20 20 20 20 20 28 5f 08 43 5f 08 75 5f 08 72 5f 08 72 5f 08 65 5f 08 6e 5f ┆d time (_ C_ u_ r_ r_ e_ n_┆ 0x08e0…0900 08 74 5f 08 54 5f 08 69 5f 08 6d 5f 08 65 20 69 73 20 72 65 70 6c 61 63 65 64 20 62 79 20 74 68 ┆ t_ T_ i_ m_ e is replaced by th┆ 0x0900…0920 65 20 63 75 72 72 65 6e 74 20 58 20 73 65 72 76 65 72 20 74 69 6d 65 29 2e 0a 20 20 20 20 20 5f ┆e current X server time). _┆ 0x0920…0940 08 58 5f 08 53 5f 08 65 5f 08 74 5f 08 49 5f 08 6e 5f 08 70 5f 08 75 5f 08 74 5f 08 46 5f 08 6f ┆ X_ S_ e_ t_ I_ n_ p_ u_ t_ F_ o┆ 0x0940…0960 5f 08 63 5f 08 75 5f 08 73 20 63 61 75 73 65 73 20 74 68 65 20 58 20 73 65 72 76 65 72 20 74 6f ┆_ c_ u_ s causes the X server to┆ 0x0960…0980 20 67 65 6e 65 72 61 74 65 20 5f 08 46 5f 08 6f 5f 08 63 5f 08 75 5f 08 73 5f 08 49 5f 08 6e 20 ┆ generate _ F_ o_ c_ u_ s_ I_ n ┆ 0x0980…09a0 61 6e 64 0a 20 20 20 20 20 5f 08 46 5f 08 6f 5f 08 63 5f 08 75 5f 08 73 5f 08 4f 5f 08 75 5f 08 ┆and _ F_ o_ c_ u_ s_ O_ u_ ┆ 0x09a0…09c0 74 20 65 76 65 6e 74 73 2e 0a 0a 20 20 20 20 20 44 65 70 65 6e 64 69 6e 67 20 6f 6e 20 74 68 65 ┆t events. Depending on the┆ 0x09c0…09e0 20 66 6f 63 75 73 20 61 72 67 75 6d 65 6e 74 2c 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6f ┆ focus argument, the following o┆ 0x09e0…0a00 63 63 75 72 73 3a 0a 0a 20 20 20 20 20 6f 08 2b 20 20 20 20 49 66 20 66 6f 63 75 73 20 69 73 20 ┆ccurs: o + If focus is ┆ 0x0a00…0a20 5f 08 4e 5f 08 6f 5f 08 6e 5f 08 65 2c 20 61 6c 6c 20 6b 65 79 62 6f 61 72 64 20 65 76 65 6e 74 ┆_ N_ o_ n_ e, all keyboard event┆ 0x0a20…0a40 73 20 61 72 65 20 64 69 73 63 61 72 64 65 64 0a 20 20 20 20 20 20 20 20 20 20 75 6e 74 69 6c 20 ┆s are discarded until ┆ 0x0a40…0a60 61 20 6e 65 77 20 66 6f 63 75 73 20 77 69 6e 64 6f 77 20 69 73 20 73 65 74 2c 20 61 6e 64 20 74 ┆a new focus window is set, and t┆ 0x0a60…0a80 68 65 20 72 65 76 65 72 74 5f 74 6f 0a 20 20 20 20 20 20 20 20 20 20 61 72 67 75 6d 65 6e 74 20 ┆he revert_to argument ┆ 0x0a80…0aa0 69 73 20 69 67 6e 6f 72 65 64 2e 0a 0a 20 20 20 20 20 6f 08 2b 20 20 20 20 49 66 20 66 6f 63 75 ┆is ignored. o + If focu┆ 0x0aa0…0ac0 73 20 69 73 20 61 20 77 69 6e 64 6f 77 2c 20 69 74 20 62 65 63 6f 6d 65 73 20 74 68 65 20 6b 65 ┆s is a window, it becomes the ke┆ 0x0ac0…0ae0 79 62 6f 61 72 64 27 73 20 66 6f 63 75 73 0a 20 20 20 20 20 20 20 20 20 20 77 69 6e 64 6f 77 2e ┆yboard's focus window.┆ 0x0ae0…0b00 20 20 49 66 20 61 20 67 65 6e 65 72 61 74 65 64 20 6b 65 79 62 6f 61 72 64 20 65 76 65 6e 74 20 ┆ If a generated keyboard event ┆ 0x0b00…0b20 77 6f 75 6c 64 20 6e 6f 72 6d 61 6c 6c 79 0a 20 20 20 20 20 20 20 20 20 20 62 65 20 72 65 70 6f ┆would normally be repo┆ 0x0b20…0b40 72 74 65 64 20 74 6f 20 74 68 69 73 20 77 69 6e 64 6f 77 20 6f 72 20 6f 6e 65 20 6f 66 20 69 74 ┆rted to this window or one of it┆ 0x0b40…0b60 73 20 69 6e 66 65 72 69 6f 72 73 2c 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 ┆s inferiors, the event┆ 0x0b60…0b80 20 69 73 20 72 65 70 6f 72 74 65 64 20 61 73 20 75 73 75 61 6c 2e 20 4f 74 68 65 72 77 69 73 65 ┆ is reported as usual. Otherwise┆ 0x0b80…0ba0 2c 20 74 68 65 20 65 76 65 6e 74 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 72 65 70 6f 72 74 65 ┆, the event is reporte┆ 0x0ba0…0bc0 64 20 72 65 6c 61 74 69 76 65 20 74 6f 20 74 68 65 20 66 6f 63 75 73 20 77 69 6e 64 6f 77 2e 0a ┆d relative to the focus window. ┆ 0x0bc0…0be0 0a 20 20 20 20 20 6f 08 2b 20 20 20 20 49 66 20 66 6f 63 75 73 20 69 73 20 5f 08 50 5f 08 6f 5f ┆ o + If focus is _ P_ o_┆ 0x0be0…0c00 08 69 5f 08 6e 5f 08 74 5f 08 65 5f 08 72 5f 08 52 5f 08 6f 5f 08 6f 5f 08 74 2c 20 74 68 65 20 ┆ i_ n_ t_ e_ r_ R_ o_ o_ t, the ┆ 0x0c00…0c20 66 6f 63 75 73 20 77 69 6e 64 6f 77 20 69 73 20 64 79 6e 61 6d 69 2d 0a 20 20 20 20 20 20 20 20 ┆focus window is dynami- ┆ 0x0c20…0c40 20 20 63 61 6c 6c 79 20 74 61 6b 65 6e 20 74 6f 20 62 65 20 74 68 65 20 72 6f 6f 74 20 77 69 6e ┆ cally taken to be the root win┆ 0x0c40…0c60 64 6f 77 20 6f 66 20 77 68 61 74 65 76 65 72 20 73 63 72 65 65 6e 0a 20 20 20 20 20 20 20 20 20 ┆dow of whatever screen ┆ 0x0c60…0c80 20 74 68 65 20 70 6f 69 6e 74 65 72 20 69 73 20 6f 6e 20 61 74 20 65 61 63 68 20 6b 65 79 62 6f ┆ the pointer is on at each keybo┆ 0x0c80…0ca0 61 72 64 20 65 76 65 6e 74 2e 20 49 6e 20 74 68 69 73 20 63 61 73 65 2c 0a 0a 0a 0a 0a 0a 0a 20 ┆ard event. In this case, ┆ 0x0ca0…0cc0 20 20 20 20 20 20 20 20 20 74 68 65 20 72 65 76 65 72 74 5f 74 6f 20 61 72 67 75 6d 65 6e 74 20 ┆ the revert_to argument ┆ 0x0cc0…0ce0 69 73 20 69 67 6e 6f 72 65 64 2e 0a 0a 20 20 20 20 20 54 68 65 20 73 70 65 63 69 66 69 65 64 20 ┆is ignored. The specified ┆ 0x0ce0…0d00 66 6f 63 75 73 20 77 69 6e 64 6f 77 20 6d 75 73 74 20 62 65 20 76 69 65 77 61 62 6c 65 20 61 74 ┆focus window must be viewable at┆ 0x0d00…0d20 20 74 68 65 20 74 69 6d 65 0a 20 20 20 20 20 5f 08 58 5f 08 53 5f 08 65 5f 08 74 5f 08 49 5f 08 ┆ the time _ X_ S_ e_ t_ I_ ┆ 0x0d20…0d40 6e 5f 08 70 5f 08 75 5f 08 74 5f 08 46 5f 08 6f 5f 08 63 5f 08 75 5f 08 73 20 69 73 20 63 61 6c ┆n_ p_ u_ t_ F_ o_ c_ u_ s is cal┆ 0x0d40…0d60 6c 65 64 2c 20 6f 72 20 61 20 5f 08 42 5f 08 61 5f 08 64 5f 08 4d 5f 08 61 5f 08 74 5f 08 63 5f ┆led, or a _ B_ a_ d_ M_ a_ t_ c_┆ 0x0d60…0d80 08 68 20 65 72 72 6f 72 20 72 65 73 75 6c 74 73 2e 20 20 49 66 0a 20 20 20 20 20 74 68 65 20 66 ┆ h error results. If the f┆ 0x0d80…0da0 6f 63 75 73 20 77 69 6e 64 6f 77 20 6c 61 74 65 72 20 62 65 63 6f 6d 65 73 20 6e 6f 74 20 76 69 ┆ocus window later becomes not vi┆ 0x0da0…0dc0 65 77 61 62 6c 65 2c 20 74 68 65 20 58 20 73 65 72 76 65 72 0a 20 20 20 20 20 65 76 61 6c 75 61 ┆ewable, the X server evalua┆ 0x0dc0…0de0 74 65 73 20 74 68 65 20 72 65 76 65 72 74 5f 74 6f 20 61 72 67 75 6d 65 6e 74 20 74 6f 20 64 65 ┆tes the revert_to argument to de┆ 0x0de0…0e00 74 65 72 6d 69 6e 65 20 74 68 65 20 6e 65 77 20 66 6f 63 75 73 0a 20 20 20 20 20 77 69 6e 64 6f ┆termine the new focus windo┆ 0x0e00…0e20 77 20 61 73 20 66 6f 6c 6c 6f 77 73 3a 0a 0a 20 20 20 20 20 6f 08 2b 20 20 20 20 49 66 20 72 65 ┆w as follows: o + If re┆ 0x0e20…0e40 76 65 72 74 5f 74 6f 20 69 73 20 5f 08 52 5f 08 65 5f 08 76 5f 08 65 5f 08 72 5f 08 74 5f 08 54 ┆vert_to is _ R_ e_ v_ e_ r_ t_ T┆ 0x0e40…0e60 5f 08 6f 5f 08 50 5f 08 61 5f 08 72 5f 08 65 5f 08 6e 5f 08 74 2c 20 74 68 65 20 66 6f 63 75 73 ┆_ o_ P_ a_ r_ e_ n_ t, the focus┆ 0x0e60…0e80 20 72 65 76 65 72 74 73 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 70 61 72 65 6e 74 ┆ reverts to the parent┆ 0x0e80…0ea0 20 28 6f 72 20 74 68 65 20 63 6c 6f 73 65 73 74 20 76 69 65 77 61 62 6c 65 20 61 6e 63 65 73 74 ┆ (or the closest viewable ancest┆ 0x0ea0…0ec0 6f 72 29 2c 20 61 6e 64 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 6e 65 77 20 72 65 76 65 72 ┆or), and the new rever┆ 0x0ec0…0ee0 74 5f 74 6f 20 76 61 6c 75 65 20 69 73 20 74 61 6b 65 6e 20 74 6f 20 62 65 20 5f 08 52 5f 08 65 ┆t_to value is taken to be _ R_ e┆ 0x0ee0…0f00 5f 08 76 5f 08 65 5f 08 72 5f 08 74 5f 08 54 5f 08 6f 5f 08 4e 5f 08 6f 5f 08 6e 5f 08 65 2e 0a ┆_ v_ e_ r_ t_ T_ o_ N_ o_ n_ e. ┆ 0x0f00…0f20 0a 20 20 20 20 20 6f 08 2b 20 20 20 20 49 66 20 72 65 76 65 72 74 5f 74 6f 20 69 73 20 5f 08 52 ┆ o + If revert_to is _ R┆ 0x0f20…0f40 5f 08 65 5f 08 76 5f 08 65 5f 08 72 5f 08 74 5f 08 54 5f 08 6f 5f 08 50 5f 08 6f 5f 08 69 5f 08 ┆_ e_ v_ e_ r_ t_ T_ o_ P_ o_ i_ ┆ 0x0f40…0f60 6e 5f 08 74 5f 08 65 5f 08 72 5f 08 52 5f 08 6f 5f 08 6f 5f 08 74 20 6f 72 20 5f 08 52 5f 08 65 ┆n_ t_ e_ r_ R_ o_ o_ t or _ R_ e┆ 0x0f60…0f80 5f 08 76 5f 08 65 5f 08 72 5f 08 74 5f 08 54 5f 08 6f 5f 08 4e 5f 08 6f 5f 08 6e 5f 08 65 2c 0a ┆_ v_ e_ r_ t_ T_ o_ N_ o_ n_ e, ┆ 0x0f80…0fa0 20 20 20 20 20 20 20 20 20 20 74 68 65 20 66 6f 63 75 73 20 72 65 76 65 72 74 73 20 74 6f 20 5f ┆ the focus reverts to _┆ 0x0fa0…0fc0 08 50 5f 08 6f 5f 08 69 5f 08 6e 5f 08 74 5f 08 65 5f 08 72 5f 08 52 5f 08 6f 5f 08 6f 5f 08 74 ┆ P_ o_ i_ n_ t_ e_ r_ R_ o_ o_ t┆ 0x0fc0…0fe0 20 6f 72 20 5f 08 4e 5f 08 6f 5f 08 6e 5f 08 65 2c 20 72 65 73 70 65 63 74 69 76 65 6c 79 2e 0a ┆ or _ N_ o_ n_ e, respectively. ┆ 0x0fe0…1000 20 20 20 20 20 20 20 20 20 20 57 68 65 6e 20 74 68 65 20 66 6f 63 75 73 20 72 65 76 65 72 74 73 ┆ When the focus reverts┆ 0x1000…1020 2c 20 74 68 65 20 58 20 73 65 72 76 65 72 20 67 65 6e 65 72 61 74 65 73 20 5f 08 46 5f 08 6f 5f ┆, the X server generates _ F_ o_┆ 0x1020…1040 08 63 5f 08 75 5f 08 73 5f 08 49 5f 08 6e 0a 20 20 20 20 20 20 20 20 20 20 61 6e 64 20 5f 08 46 ┆ c_ u_ s_ I_ n and _ F┆ 0x1040…1060 5f 08 6f 5f 08 63 5f 08 75 5f 08 73 5f 08 4f 5f 08 75 5f 08 74 20 65 76 65 6e 74 73 2c 20 62 75 ┆_ o_ c_ u_ s_ O_ u_ t events, bu┆ 0x1060…1080 74 20 74 68 65 20 6c 61 73 74 2d 66 6f 63 75 73 2d 63 68 61 6e 67 65 20 74 69 6d 65 20 69 73 0a ┆t the last-focus-change time is ┆ 0x1080…10a0 20 20 20 20 20 20 20 20 20 20 6e 6f 74 20 61 66 66 65 63 74 65 64 2e 0a 0a 20 20 20 20 20 5f 08 ┆ not affected. _ ┆ 0x10a0…10c0 58 5f 08 53 5f 08 65 5f 08 74 5f 08 49 5f 08 6e 5f 08 70 5f 08 75 5f 08 74 5f 08 46 5f 08 6f 5f ┆X_ S_ e_ t_ I_ n_ p_ u_ t_ F_ o_┆ 0x10c0…10e0 08 63 5f 08 75 5f 08 73 20 63 61 6e 20 67 65 6e 65 72 61 74 65 20 5f 08 42 5f 08 61 5f 08 64 5f ┆ c_ u_ s can generate _ B_ a_ d_┆ 0x10e0…1100 08 4d 5f 08 61 5f 08 74 5f 08 63 5f 08 68 2c 20 5f 08 42 5f 08 61 5f 08 64 5f 08 56 5f 08 61 5f ┆ M_ a_ t_ c_ h, _ B_ a_ d_ V_ a_┆ 0x1100…1120 08 6c 5f 08 75 5f 08 65 2c 20 61 6e 64 20 5f 08 42 5f 08 61 5f 08 64 5f 08 57 5f 08 69 5f 08 6e ┆ l_ u_ e, and _ B_ a_ d_ W_ i_ n┆ 0x1120…1140 5f 08 2d 0a 20 20 20 20 20 5f 08 64 5f 08 6f 5f 08 77 20 65 72 72 6f 72 73 2e 0a 0a 20 20 20 20 ┆_ - _ d_ o_ w errors. ┆ 0x1140…1160 20 54 68 65 20 5f 08 58 5f 08 47 5f 08 65 5f 08 74 5f 08 49 5f 08 6e 5f 08 70 5f 08 75 5f 08 74 ┆ The _ X_ G_ e_ t_ I_ n_ p_ u_ t┆ 0x1160…1180 5f 08 46 5f 08 6f 5f 08 63 5f 08 75 5f 08 73 20 66 75 6e 63 74 69 6f 6e 20 72 65 74 75 72 6e 73 ┆_ F_ o_ c_ u_ s function returns┆ 0x1180…11a0 20 74 68 65 20 66 6f 63 75 73 20 77 69 6e 64 6f 77 20 61 6e 64 20 74 68 65 0a 20 20 20 20 20 63 ┆ the focus window and the c┆ 0x11a0…11c0 75 72 72 65 6e 74 20 66 6f 63 75 73 20 73 74 61 74 65 2e 0a 0a 44 08 44 08 44 08 44 49 08 49 08 ┆urrent focus state. D D D DI I ┆ 0x11c0…11e0 49 08 49 41 08 41 08 41 08 41 47 08 47 08 47 08 47 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 53 ┆I IA A A AG G G GN N N NO O O OS┆ 0x11e0…1200 08 53 08 53 08 53 54 08 54 08 54 08 54 49 08 49 08 49 08 49 43 08 43 08 43 08 43 53 08 53 08 53 ┆ S S ST T T TI I I IC C C CS S S┆ 0x1200…1220 08 53 0a 20 20 20 20 20 5f 08 42 5f 08 61 5f 08 64 5f 08 56 5f 08 61 5f 08 6c 5f 08 75 5f 08 65 ┆ S _ B_ a_ d_ V_ a_ l_ u_ e┆ 0x1220…1240 20 20 53 6f 6d 65 20 6e 75 6d 65 72 69 63 20 76 61 6c 75 65 20 66 61 6c 6c 73 20 6f 75 74 73 69 ┆ Some numeric value falls outsi┆ 0x1240…1260 64 65 20 74 68 65 20 72 61 6e 67 65 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 ┆de the range of v┆ 0x1260…1280 61 6c 75 65 73 20 61 63 63 65 70 74 65 64 20 62 79 20 74 68 65 20 72 65 71 75 65 73 74 2e 20 20 ┆alues accepted by the request. ┆ 0x1280…12a0 55 6e 6c 65 73 73 20 61 20 73 70 65 63 69 66 69 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆Unless a specific ┆ 0x12a0…12c0 20 72 61 6e 67 65 20 69 73 20 73 70 65 63 69 66 69 65 64 20 66 6f 72 20 61 6e 20 61 72 67 75 6d ┆ range is specified for an argum┆ 0x12c0…12e0 65 6e 74 2c 20 74 68 65 20 66 75 6c 6c 20 72 61 6e 67 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ent, the full range ┆ 0x12e0…1300 20 20 20 64 65 66 69 6e 65 64 20 62 79 20 74 68 65 20 61 72 67 75 6d 65 6e 74 27 73 20 74 79 70 ┆ defined by the argument's typ┆ 0x1300…1320 65 20 69 73 20 61 63 63 65 70 74 65 64 2e 20 20 41 6e 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆e is accepted. Any ┆ 0x1320…1340 20 20 20 61 72 67 75 6d 65 6e 74 20 64 65 66 69 6e 65 64 20 61 73 20 61 20 73 65 74 20 6f 66 20 ┆ argument defined as a set of ┆ 0x1340…1360 61 6c 74 65 72 6e 61 74 69 76 65 73 20 63 61 6e 20 67 65 6e 2d 0a 20 20 20 20 20 20 20 20 20 20 ┆alternatives can gen- ┆ 0x1360…1380 20 20 20 20 20 65 72 61 74 65 20 74 68 69 73 20 65 72 72 6f 72 2e 0a 0a 20 20 20 20 20 5f 08 42 ┆ erate this error. _ B┆ 0x1380…13a0 5f 08 61 5f 08 64 5f 08 57 5f 08 69 5f 08 6e 5f 08 64 5f 08 6f 5f 08 77 20 41 20 76 61 6c 75 65 ┆_ a_ d_ W_ i_ n_ d_ o_ w A value┆ 0x13a0…13c0 20 66 6f 72 20 61 20 57 69 6e 64 6f 77 20 61 72 67 75 6d 65 6e 74 20 64 6f 65 73 20 6e 6f 74 20 ┆ for a Window argument does not ┆ 0x13c0…13e0 6e 61 6d 65 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 69 6e 65 64 20 57 69 ┆name a defined Wi┆ 0x13e0…1400 6e 64 6f 77 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 ┆ndow. S S S SE E E EE E E E A A┆ 0x1400…1420 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 58 ┆ A AL L L LS S S SO O O O X┆ 0x1420…1440 57 61 72 70 50 6f 69 6e 74 65 72 28 33 58 31 31 29 0a 20 20 20 20 20 5f 08 58 5f 08 6c 5f 08 69 ┆WarpPointer(3X11) _ X_ l_ i┆ 0x1440…1460 5f 08 62 20 2d 20 5f 08 43 20 5f 08 4c 5f 08 61 5f 08 6e 5f 08 67 5f 08 75 5f 08 61 5f 08 67 5f ┆_ b - _ C _ L_ a_ n_ g_ u_ a_ g_┆ 0x1460…1480 08 65 20 5f 08 58 20 5f 08 49 5f 08 6e 5f 08 74 5f 08 65 5f 08 72 5f 08 66 5f 08 61 5f 08 63 5f ┆ e _ X _ I_ n_ t_ e_ r_ f_ a_ c_┆ 0x1480…14a0 08 65 0a 0a 41 75 67 75 73 74 20 31 39 39 31 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ e August 1991 ┆ 0x14a0…14c0 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 ┆ TX Programmer's Refe┆ 0x14c0…14da 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆rence ┆