]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-66331: Set correct WM_CLASS on X11 for IDLE windows (GH-152733) (#152796)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Jul 2026 15:34:47 +0000 (17:34 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2026 15:34:47 +0000 (15:34 +0000)
commit665c36b993696c6a1c13b86674accee1a1407ffa
tree5648060b52fe9ea237055f054a800478b8af0e98
parentbb7fb4de60286c0087ea84f02b519443969dbc92
[3.13] gh-66331: Set correct WM_CLASS on X11 for IDLE windows (GH-152733) (#152796)

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]