com_unfocused
OpenJK
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Controls com_unfocused in the engine-shared module. Consult the cited behavior reads before relying on values not listed here.
At a glance
| Field | Value |
|---|---|
| Category | Engine & diagnostics |
| Module | engine-shared |
| Also registered in | engine-shared |
| Renderer | All / not renderer-specific |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | code-trace |
| Confidence | medium |
| In-game xdocs | No |
| In-game menu | No |
| Default | 0 |
| Value type | bitmask |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
No discrete value list is enforced or documented in the inspected source.
Flags
CVAR_ROM— read-only after registration
Provenance
Origin: OpenJK
- Ultimate-origin introduction:
a7c43677a2bbin OpenJK (content authored2015-01-10, integrated2015-02-07) - Upstream registration evidence: shared/sys/sys_main.cpp:159
- Attribution method:
shared-earliest-commit-lineage-order - Attribution confidence:
medium - Notes: The earliest authored/submitted introduction is shared by openjk, eternaljk, rend2, taystjk, japro, newjk, vulkan; fork-lineage order selects openjk.
Dated project introductions
Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.
| Project | Authored | PR opened | Integrated | Commit | Relationship |
|---|---|---|---|---|---|
| OpenJK | 2015-01-10 |
— | 2015-02-07 |
a7c43677a2bb |
Ultimate origin |
| EternalJK | 2015-01-10 |
— | 2015-02-07 |
a7c43677a2bb |
Shared integration commit |
| rend2 | 2015-01-10 |
— | 2015-02-07 |
a7c43677a2bb |
Shared integration commit |
| TaystJK | 2015-01-10 |
— | 2015-02-07 |
a7c43677a2bb |
Shared integration commit |
| jaPRO | 2015-01-10 |
— | 2015-02-07 |
a7c43677a2bb |
Shared integration commit |
| NewJK / NewMod | 2015-01-10 |
— | 2015-02-07 |
a7c43677a2bb |
Shared integration commit |
| Vulkan | 2015-01-10 |
— | 2015-02-07 |
a7c43677a2bb |
Shared integration commit |
| JK2MV | 2015-03-19 |
— | 2015-03-19 |
907e53cc40d4 |
Other project appearance |
Later changes
These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.
| Date | Change source | Commit / subject | Evidence | Confidence |
|---|---|---|---|---|
2015-03-04 |
OpenJK | 65fe955170be[Shared] Fix #629: Mute sound on window minimize |
Changed an exact bound cvar-variable reference. shared/sdl/sdl_input.cpp |
medium |
2016-03-21 |
EternalJK | f5defc782a90Merge branch ‘master’ of https://github.com/JACoders/OpenJK into japro |
Changed an exact bound cvar-variable reference. codemp/qcommon/common.cpp |
medium |
2016-04-05 |
EternalJK | f6922b58dfc5Improved console timestamps, Added con_notifyname Setting con_notifyname to your name will highlight timestamps cyan if the name you set it to is mentioned to chat. If you have a short nickname like mine (“et”), you may want to set it to something like “@et” and tell every1 to say that if they want to contact you. If con_notifyname is set, the icon will flash if minimized or the window will flash if unfocused. (Only supported on Windows for now) Console now has proper indentation for all messages Repeated timestamps are replaced with “::::::::” Chat msgs have white timestamps instead of Grey User inputted commands have green timestamps Improved R_PrintLongString so that words aren’t cut off |
Changed an exact bound cvar-variable reference. shared/sdl/sdl_input.cpp |
medium |
2017-12-28 |
EternalJK | 668821b03696Merge remote-tracking branch ‘origin/master’ |
Changed an exact bound cvar-variable reference. codemp/client/snd_dma.cpp |
medium |
2018-11-08 |
EternalJK | 7bc2134b98d4Minimized/unfocused chatbubble recode |
Changed an exact bound cvar-variable reference. codemp/client/cl_input.cpp |
medium |
2019-03-21 |
EternalJK | ba0a05b38b4asnd_mute_losefocus |
Changed an exact bound cvar-variable reference. codemp/client/snd_dma.cpp |
medium |
2019-06-04 |
EternalJK | 95bd6ae28589Fix non-raw-input option after 01081bc |
Changed an exact bound cvar-variable reference. shared/sdl/sdl_input.cpp |
medium |
2026-04-19 |
TaystJK | 86f04849f381 · PR #302[client] add option to toggle unfocused chat bubble behaviour via cl_chatBubbleUnfocused, as well as cl_chatBubbleSelf to disable ever bringing up chat bubble (#302) |
Changed an exact bound cvar-variable reference. codemp/client/cl_input.cpp |
medium |
Evidence
- registration: shared/sys/sys_main.cpp:169 (Cvar_Get)
- behavior: codemp/client/cl_input.cpp:1264
- behavior: codemp/client/snd_dma.cpp:1581
- behavior: codemp/qcommon/common.cpp:1757
- behavior: shared/sdl/sdl_input.cpp:845
- behavior: shared/sdl/sdl_input.cpp:665