Knowledge

Focus (computing)

Source 📝

136:(X11) is the "focus follows mouse" policy (or FFM), where the focus automatically follows the current placement of the pointer. The focused window is not necessarily raised; parts of it may remain below other windows. Window managers with this policy usually offer "autoraise," which raises the window when it is focused, typically after a configurable short delay. A possible consequence of a 525:
Which component should have the default focus, and how focus should move between components, are difficult but important problems in user interface design. Giving the wrong thing focus means that the user has to waste time moving the focus. Conversely, giving the right thing focus can significantly
521:
Individual components of a window may also have a focal position. For instance in a text editing package, the text editing window must have the Focus so that text can be entered. When text is entered into the component, it will appear at the position of the text-cursor, which will also normally be
116:, it is common to find a "focus follows click" policy (or "click to focus"), where one must click the mouse inside of the window for that window to gain focus. This also typically results in the window being raised above all other windows on screen. If a 152:
model is a variant of the followfocus model. It allows input to continue to be collected by the last focused window when the mouse pointer is moved away from any window, such as over a menubar or desktop area.
60:
involved. Moving the mouse will typically move the mouse pointer without changing the focus. The focus can usually be changed by clicking on a component that can receive focus with the mouse. Many
41:
when it is selected to receive input from the user by an event such as a mouse button click or keypress. Moving the focus away from a specific user interface element is known as a
120:
model such as this is being used, the current application window continues to retain focus and collect input, even if the mouse pointer is over another application window.
80:
to the previous one. When graphical interfaces were first introduced, many computers did not have mice, so this alternative was necessary. This feature makes it easier for
49:
are virtually simultaneous in relation to different user interface elements, one that becomes focused and one that is "blurred" (in the computing, not visual, sense).
369: 140:
policy is that no window has focus when the pointer is moved over the background with no window underneath; otherwise the focus simply remains in the last window.
417: 45:
event in relation to this element. Typically, the focus is withdrawn from an element by giving another element the focus. This means that focus and blur
439: 193: 401: 289: 209: 177: 385: 565: 901: 896: 634: 883:
Per window or window class, with additional support for "never focus" — windows that should never receive focus.
591: 545: 273: 17: 225: 34: 535: 53: 81: 56:
in a text-based environment. However, when considering a graphical interface, there is also a
499: 8: 61: 469: 46: 660: 133: 540: 97: 890: 57: 854: 810: 64:
also allow the focus to be changed with the keyboard. By convention, the
638: 113: 96:
The behaviour of focus on one's desktop can be governed by policies in
85: 665: 616: 433: 109: 71: 31: 688: 70:
key is used to move the focus to the next focusable component and
788: 740: 321: 65: 832: 453: 766: 741:"evilwm - a minimalist window manager for the X Window System" 353: 714: 337: 305: 241: 156: 129: 257: 108:
On most mainstream user-interfaces, such as ones made by
84:
to use the user interface. In certain circumstances the
592:"Javascript Window Blur() and Window Focus() Method" 888: 566:"Managing UI Component Focus - Concept of Focus" 516: 157:Focus models used by X11 window managers 123: 27:The active GUI component receiving input 689:"AHWM - Alex Hioreanu's Window Manager" 14: 889: 661:"Guide to X11/Window Managers/aewm++" 589: 24: 811:"lwm - Lightweight Window Manager" 637:. 27 December 2007. Archived from 25: 913: 522:movable using the mouse pointer. 103: 789:"Karmen: A Window Manager for X" 847: 825: 803: 781: 590:Garg, Naman (12 October 2018). 143: 91: 759: 733: 715:"dwm - dynamic window manager" 707: 681: 653: 627: 609: 583: 558: 13: 1: 551: 526:enhance the user experience. 88:can be used to change focus. 517:Intra-window component focus 82:people unable to use a mouse 52:The concept is similar to a 7: 529: 10: 918: 745:The Dragon 32/64 Computers 546:Selection (user interface) 902:User interface techniques 897:Graphical user interfaces 128:Another common policy on 877: 855:"Whim basic information" 35:graphical user interface 37:(GUI), a component has 124:Focus follows pointer 833:"incise.org: tinywm" 623:. 25 February 2012. 861:. 24 November 2009 813:. 26 February 2015 791:. 28 December 2008 769:. 13 February 2021 695:. 24 February 2014 641:on 14 January 2016 721:. 9 November 2015 635:"aewm - Red Bean" 514: 513: 98:window management 16:(Redirected from 909: 871: 870: 868: 866: 851: 845: 844: 842: 840: 829: 823: 822: 820: 818: 807: 801: 800: 798: 796: 785: 779: 778: 776: 774: 763: 757: 756: 754: 752: 737: 731: 730: 728: 726: 711: 705: 704: 702: 700: 685: 679: 678: 676: 674: 657: 651: 650: 648: 646: 631: 625: 624: 613: 607: 606: 604: 602: 587: 581: 580: 578: 576: 562: 161: 160: 21: 917: 916: 912: 911: 910: 908: 907: 906: 887: 886: 880: 875: 874: 864: 862: 853: 852: 848: 838: 836: 835:. 23 April 2014 831: 830: 826: 816: 814: 809: 808: 804: 794: 792: 787: 786: 782: 772: 770: 765: 764: 760: 750: 748: 739: 738: 734: 724: 722: 713: 712: 708: 698: 696: 687: 686: 682: 672: 670: 659: 658: 654: 644: 642: 633: 632: 628: 621:c2.com/cgi/wiki 615: 614: 610: 600: 598: 588: 584: 574: 572: 564: 563: 559: 554: 532: 519: 159: 146: 134:X Window System 126: 106: 94: 78: 74: 68: 28: 23: 22: 15: 12: 11: 5: 915: 905: 904: 899: 885: 884: 879: 876: 873: 872: 846: 824: 802: 780: 758: 747:. 13 July 2015 732: 706: 680: 669:. 18 July 2010 652: 626: 617:"Sloppy Focus" 608: 582: 556: 555: 553: 550: 549: 548: 543: 541:Focus stealing 538: 531: 528: 518: 515: 512: 511: 508: 505: 502: 496: 495: 492: 489: 486: 482: 481: 478: 475: 472: 466: 465: 462: 459: 456: 450: 449: 446: 443: 436: 430: 429: 426: 423: 420: 414: 413: 410: 407: 404: 398: 397: 394: 391: 388: 382: 381: 378: 375: 372: 366: 365: 362: 359: 356: 350: 349: 346: 345:Yes (default) 343: 340: 334: 333: 330: 327: 324: 318: 317: 314: 311: 308: 302: 301: 298: 295: 292: 286: 285: 284:Yes (default) 282: 279: 276: 270: 269: 266: 263: 260: 254: 253: 250: 247: 244: 238: 237: 234: 231: 228: 222: 221: 218: 215: 212: 206: 205: 202: 199: 196: 190: 189: 186: 183: 180: 174: 173: 170: 167: 164: 158: 155: 145: 142: 132:systems using 125: 122: 105: 104:Click to focus 102: 93: 90: 76: 72: 66: 26: 9: 6: 4: 3: 2: 914: 903: 900: 898: 895: 894: 892: 882: 881: 860: 856: 850: 834: 828: 812: 806: 790: 784: 768: 762: 746: 742: 736: 720: 716: 710: 694: 690: 684: 668: 667: 662: 656: 640: 636: 630: 622: 618: 612: 597: 596:GeeksforGeeks 593: 586: 571: 570:Enlightenment 567: 561: 557: 547: 544: 542: 539: 537: 534: 533: 527: 523: 509: 506: 503: 501: 498: 497: 493: 490: 487: 484: 483: 479: 476: 473: 471: 468: 467: 463: 460: 457: 455: 452: 451: 447: 444: 441: 438:Yes (with no 437: 435: 432: 431: 427: 424: 421: 419: 416: 415: 411: 408: 405: 403: 400: 399: 395: 392: 389: 387: 384: 383: 379: 376: 373: 371: 368: 367: 363: 360: 357: 355: 352: 351: 347: 344: 341: 339: 336: 335: 331: 328: 325: 323: 320: 319: 315: 312: 309: 307: 304: 303: 299: 296: 293: 291: 288: 287: 283: 280: 277: 275: 272: 271: 267: 264: 261: 259: 256: 255: 251: 248: 245: 243: 240: 239: 235: 232: 229: 227: 224: 223: 219: 216: 213: 211: 208: 207: 203: 200: 197: 195: 192: 191: 187: 184: 181: 179: 176: 175: 171: 168: 165: 163: 162: 154: 151: 141: 139: 135: 131: 121: 119: 115: 111: 101: 99: 89: 87: 83: 79: 69: 63: 59: 58:mouse pointer 55: 50: 48: 44: 40: 36: 33: 19: 863:. Retrieved 859:Tcler's Wiki 858: 849: 837:. Retrieved 827: 815:. Retrieved 805: 793:. Retrieved 783: 771:. Retrieved 761: 749:. Retrieved 744: 735: 723:. Retrieved 719:suckless.org 718: 709: 697:. Retrieved 693:hioreanu.net 692: 683: 671:. Retrieved 664: 655: 643:. Retrieved 639:the original 629: 620: 611: 599:. Retrieved 595: 585: 573:. Retrieved 569: 560: 524: 520: 172:Sloppyfocus 169:Followfocus 149: 147: 144:Sloppy focus 137: 127: 117: 107: 95: 92:Window focus 51: 42: 38: 29: 773:16 February 166:Clickfocus 150:sloppyfocus 138:followfocus 891:Categories 865:16 January 839:16 January 817:16 January 795:16 January 767:"icewm(1)" 751:16 January 725:16 January 699:16 January 673:16 January 645:16 January 552:References 118:clickfocus 86:arrow keys 18:User focus 666:Wikibooks 536:Tab order 440:autoraise 434:WindowLab 110:Microsoft 32:computing 530:See also 62:desktops 322:Fluxbox 226:awesome 73:⇧ Shift 601:4 June 575:4 June 470:Mutter 402:TinyWM 370:Karmen 290:evilwm 194:aewm++ 54:cursor 47:events 878:Notes 354:IceWM 114:Apple 77:Tab ↹ 67:Tab ↹ 39:focus 30:In a 867:2016 841:2016 819:2016 797:2016 775:2021 753:2016 727:2016 701:2016 675:2016 647:2016 603:2023 577:2023 504:Yes 494:Yes 488:Yes 485:JWM 480:Yes 477:Yes 474:Yes 464:Yes 461:Yes 458:Yes 454:Xfwm 428:Yes 422:Yes 418:Whim 412:Yes 396:Yes 390:Yes 374:Yes 364:Yes 361:Yes 358:Yes 348:Yes 342:Yes 338:FVWM 332:Yes 329:Yes 326:Yes 316:Yes 306:FLWM 297:Yes 281:Yes 278:Yes 265:Yes 262:Yes 252:Yes 249:Yes 246:Yes 242:CTWM 236:Yes 233:Yes 230:Yes 220:Yes 214:Yes 210:AHWM 198:Yes 185:Yes 178:aewm 148:The 130:Unix 112:and 43:blur 510:No 507:No 500:MWM 491:No 448:No 445:No 425:No 409:No 406:No 393:No 386:lwm 380:No 377:No 313:No 310:No 300:No 294:No 274:E16 268:No 258:dwm 217:No 204:No 201:No 188:No 182:No 893:: 857:. 743:. 717:. 691:. 663:. 619:. 594:. 568:. 442:) 100:. 869:. 843:. 821:. 799:. 777:. 755:. 729:. 703:. 677:. 649:. 605:. 579:. 75:+ 20:)

Index

User focus
computing
graphical user interface
events
cursor
mouse pointer
desktops
Tab ↹
⇧ Shift+Tab ↹
people unable to use a mouse
arrow keys
window management
Microsoft
Apple
Unix
X Window System
aewm
aewm++
AHWM
awesome
CTWM
dwm
E16
evilwm
FLWM
Fluxbox
FVWM
IceWM
Karmen
lwm

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.