qrt bug workaround - qt does not remove WM_STATE when withdrawing
as per icccm - client should remove WM_STATE when withdrawing... and qt relies on WM_STATE to know if it re-show a window - the property it itself refused to remove...
This commit is contained in:
parent
e8e01ac168
commit
34c8ce2fa1
|
@ -5214,6 +5214,11 @@ _e_comp_x_hook_client_del(void *d EINA_UNUSED, E_Client *ec)
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
// work around broken clients that withdraw windows and don't
|
||||||
|
// remove WM_STATE themselves... like qt6 + telegram and media
|
||||||
|
// window popups.
|
||||||
|
ecore_x_window_prop_property_del(e_client_util_win_get(ec),
|
||||||
|
ECORE_X_ATOM_WM_STATE);
|
||||||
if (e_pixmap_free(ec->pixmap))
|
if (e_pixmap_free(ec->pixmap))
|
||||||
e_pixmap_client_set(ec->pixmap, NULL);
|
e_pixmap_client_set(ec->pixmap, NULL);
|
||||||
ec->pixmap = NULL;
|
ec->pixmap = NULL;
|
||||||
|
|
Loading…
Reference in New Issue