]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-66331: Set correct WM_CLASS on X11 for IDLE windows (GH-152733) (#152795)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Jul 2026 15:37:43 +0000 (17:37 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 15:37:43 +0000 (15:37 +0000)
commita05d65212954fb0e521f32caac28e5f9d39bb8c4
treeb90f51b622d69b1f827f3f49d6589a307bc369ed
parentf8fb02db9d1d83a2fe4d2a62dfda69a02023b75a
[3.14] gh-66331: Set correct WM_CLASS on X11 for IDLE windows (GH-152733) (#152795)

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]