mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +02:00
Fix #7583
This commit is contained in:
@@ -985,6 +985,7 @@ PYWRAP1(set_os_window_title) {
|
|||||||
PyObject *title;
|
PyObject *title;
|
||||||
PA("KU", &os_window_id, &title);
|
PA("KU", &os_window_id, &title);
|
||||||
WITH_OS_WINDOW(os_window_id)
|
WITH_OS_WINDOW(os_window_id)
|
||||||
|
if (os_window->disallow_title_changes) break;
|
||||||
if (PyUnicode_GetLength(title)) {
|
if (PyUnicode_GetLength(title)) {
|
||||||
os_window->title_is_overriden = true;
|
os_window->title_is_overriden = true;
|
||||||
Py_XDECREF(os_window->window_title);
|
Py_XDECREF(os_window->window_title);
|
||||||
|
|||||||
Reference in New Issue
Block a user