[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63511: [Patch] Fix for hidden window bug
From: |
Stefan Kangas |
Subject: |
bug#63511: [Patch] Fix for hidden window bug |
Date: |
Thu, 24 Aug 2023 01:24:11 +0200 |
Christian Schmidt <cs@aibiot.de> writes:
> At least on enlightenment, when switching virtual desktop away from the
> on containing emacs and back, emacs does not render screen updates.
> This patch fixes the cause.
> Analysis for the bug tracker, copied from commit message:
>
> If no state flags are set in the _NET_WM_STATE property,
> the returned X property type will be "0". This situation
> occurs when "_NET_WM_STATE_HIDDEN" was the only property
> set for the emacs window, e.g. in enlightenment due to
> change of a virtual desktop.
> In the current code this causes copying of the iconified
> state in x_get_current_wm_state(), which causes emacs to
> stay hidden. For DMs such as Enlightenent or Gnome Shell
> that use only the hidden but not the iconified state
> this clashes with the intention of handling the
> _NET_WM_STATE property notification in
> handle_one_xevent(), which requires not_hidden &&
> FRAME_ICONIFIED_P (f) to actually activate the frame.
Po, could you take a look at this patch please.
- bug#63511: [Patch] Fix for hidden window bug,
Stefan Kangas <=