]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-66331: Set correct WM_CLASS on X11 for IDLE windows (GH-152733) (#152794)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Jul 2026 15:44:06 +0000 (17:44 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 15:44:06 +0000 (15:44 +0000)
commitf7c26ed02f3af169dfc28503d5da3f2e67b71fb0
tree8613fa51c21dd29b8e9b098fbb716c1fdb3ea5e2
parent63da6c86eb7e10b04ce39d3dff70e77a1ace4255
[3.15] gh-66331: Set correct WM_CLASS on X11 for IDLE windows (GH-152733) (#152794)

gh-66331: Set correct WM_CLASS on X11 for IDLE windows (GH-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.
(cherry picked from commit 4e16b8d4eef162082c3d409f171802ceccb36521)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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]