1
0
Fork 0
mutter-performance-source/doc
Jasper St. Pierre 7cdf55871e Always map the client and frame windows
Traditionally, WMs unmap windows when minimizing them, and map them
when restoring them or wanting to show them for other reasons, like
upon creation.

However, as metacity morphed into mutter, we optionally chose to keep
windows mapped for the lifetime of the window under the user option
"live-window-previews", which makes the code keep windows mapped so it
can show window preview for minimized windows in other places, like
Alt-Tab and Expose.

I removed this preference two years ago mechanically, by removing all
the if statements, but never went through and cleaned up the code so
that windows are simply mapped for the lifetime of the window -- the
"architecture" of the old code that maps and unmaps on show/hide was
still there.

Remove this now.

The one case we still need to be careful of is shaded windows, in which
we do still unmap the client window. In the future, we might want to
show previews of shaded windows in the overview and Alt-Tab. In that
we'd also keep shaded windows mapped, and could remove all unmap logic,
but we'd need a more complex method of showing the shaded titlebar, such
as using a different actor.

At the same time, simplify the compositor interface by removing
meta_compositor_window_[un]mapped API, and instead adding/removing the
window on-demand.

https://bugzilla.gnome.org/show_bug.cgi?id=720631
2014-02-14 23:42:07 -05:00
..
man Drop man pages for removed utilities 2013-08-22 12:35:05 +02:00
reference Always map the client and frame windows 2014-02-14 23:42:07 -05:00
.cvsignore and you 2002-11-26 12:21:59 +00:00
code-overview.txt Provide more documentation to make it easier for people to contribute to 2005-01-02 21:59:05 +00:00
compositor-control.txt Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
dialogs.txt A small writeup on how to use dialogs in metacity. Approved by Havoc. 2003-02-17 05:00:40 +00:00
how-constraints-works.txt Merge of all the changes on the constraints_experiments branch. This is 2005-11-19 14:58:50 +00:00
how-to-get-focus-right.txt workspace: Don't try to use per-workspace MRU lists as a hint for focusing 2012-03-20 17:08:34 -04:00
Makefile.am Build reference docs 2013-03-14 17:56:36 -04:00
strut-and-related-updating.txt Oops, missed a couple cleanups in this documentation 2005-11-21 18:19:58 +00:00
theme-format.txt theme: Allow using custom colors from the GTK+ theme 2011-07-08 22:40:43 +02:00