]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-66331: Set correct WM_CLASS on X11 for IDLE windows (#152733)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 1 Jul 2026 15:10:49 +0000 (18:10 +0300)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 15:10:49 +0000 (11:10 -0400)
commit4e16b8d4eef162082c3d409f171802ceccb36521
tree85a39f0f12d5fc762099256ad9389297acdd41e1
parent0f59b2a800d2f91b863c80c92b64966a8ed28515
gh-66331: Set correct WM_CLASS on X11 for IDLE windows (#152733)

Set the WM_CLASS of IDLE's long-lived windows (window-list windows and
the stack viewers) to "Idle" instead of the default "Toplevel", so that
window managers group and label them correctly.
Lib/idlelib/idle_test/test_stackviewer.py
Lib/idlelib/idle_test/test_window.py
Lib/idlelib/pyshell.py
Lib/idlelib/stackviewer.py
Lib/idlelib/window.py
Misc/NEWS.d/next/IDLE/2026-07-01-00-00-00.gh-issue-66331.wMcLaS.rst [new file with mode: 0644]