Skip to content

Commit

Permalink
xside: do not release buffer of the "whole screen" window
Browse files Browse the repository at this point in the history
That window is backing buffers of other windows too. Windows GUI agent
depends on this feature. The window itself is mapped/unmapped when
switching between seamless and fill desktop modes.

Fixes QubesOS/qubes-issues#7643
  • Loading branch information
marmarek committed Jul 22, 2022
1 parent 6d3532b commit afd9a7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui-daemon/xside.c
Original file line number Diff line number Diff line change
Expand Up @@ -3504,7 +3504,8 @@ static void handle_message(Ghandles * g)
break;
vm_window->is_mapped = 0;
(void) XUnmapWindow(g->display, vm_window->local_winid);
release_mapped_mfns(g, vm_window);
if (vm_window->remote_winid != FULLSCREEN_WINDOW_ID)
release_mapped_mfns(g, vm_window);
break;
case MSG_CONFIGURE:
handle_configure_from_vm(g, vm_window);
Expand Down

0 comments on commit afd9a7e

Please sign in to comment.