summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-02-01 19:06:51 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2014-02-14 23:19:41 -0500
commitaec3edb1cc5ae386efbb08ec7414173478ff0d89 (patch)
tree94cbd0e60c8bbd3080b88d9f0ef2dba8c987b971 /doc
parent0c5a6ad775632356d6c35991ebad1b04ee0b8b68 (diff)
downloadmutter-aec3edb1cc5ae386efbb08ec7414173478ff0d89.tar.gz
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
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/meta-sections.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/reference/meta-sections.txt b/doc/reference/meta-sections.txt
index 7aa893177..22d435034 100644
--- a/doc/reference/meta-sections.txt
+++ b/doc/reference/meta-sections.txt
@@ -96,8 +96,6 @@ meta_compositor_hide_window
meta_compositor_switch_workspace
meta_compositor_maximize_window
meta_compositor_unmaximize_window
-meta_compositor_window_mapped
-meta_compositor_window_unmapped
meta_compositor_sync_window_geometry
meta_compositor_set_updates_frozen
meta_compositor_queue_frame_drawn