[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55836: 29.0.50; (iconify-frame) freezes buffer view under Wayland.
From: |
Po Lu |
Subject: |
bug#55836: 29.0.50; (iconify-frame) freezes buffer view under Wayland. |
Date: |
Sun, 04 Sep 2022 20:50:26 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
夜坂雅 <shadowrz@disroot.org> writes:
>> Another thing I found interesting: I also used M-x server-start so
>> emacsclient can control this Emacs. Without your patch,
>> When I iconify Emacs via emacsclient by running:
>>
>> $ emacsclient -e '(iconify-or-deiconify-frame)'
>>
>> I can't deiconify it using the same command. But I can deiconify it
>> using the taskbar (I use Latte Dock's taskbar), and the bug doesn't
>> happen.
That's to be expected. It turns out that programmatically deiconifying
a window isn't supported by the Wayland protocol (see here:
https://wayland.app/protocols/xdg-shell#xdg_toplevel is missing a
function corresponding to "SetMinimized" to disable the minimized
state), so GDK and Emacs don't support it either.
>> But when I apply your patch, running
>>
>> $ emacsclient -e '(iconify-or-deiconify-frame)'
>>
>> and deiconify it using taskbar, the bug happens.
I'm not sure what you mean by that. What happens if you comment out
every call to `SET_FRAME_ICONIFIED' in pgtkterm.c?
- bug#55836: 29.0.50; (iconify-frame) freezes buffer view under Wayland., Po Lu, 2022/09/25
- Message not available
- bug#55836: 29.0.50; (iconify-frame) freezes buffer view under Wayland., Po Lu, 2022/09/25
- Message not available
- bug#55836: 29.0.50; (iconify-frame) freezes buffer view under Wayland., Po Lu, 2022/09/25
- Message not available
- bug#55836: 29.0.50; (iconify-frame) freezes buffer view under Wayland., Po Lu, 2022/09/26
- bug#55836: 29.0.50; (iconify-frame) freezes buffer view under Wayland., Tino Calancha, 2022/09/28
- bug#55836: 29.0.50; (iconify-frame) freezes buffer view under Wayland., Po Lu, 2022/09/28
- bug#55836: 29.0.50; (iconify-frame) freezes buffer view under Wayland., Tino Calancha, 2022/09/30
- bug#55836: 29.0.50; (iconify-frame) freezes buffer view under Wayland., Po Lu, 2022/09/30