Only send exposes on unmap if window really was unmapped

Exposing when you hide a hidden window is just a waste of time.
This commit is contained in:
Alexander Larsson 2009-11-03 14:41:36 +01:00
parent 8c1ea38d84
commit a299797883

View File

@ -6829,7 +6829,8 @@ gdk_window_hide (GdkWindow *window)
}
/* Invalidate the rect */
gdk_window_invalidate_in_parent (private);
if (was_mapped)
gdk_window_invalidate_in_parent (private);
}
/**