Use screenshot for overlay window background

Instead of requiring a compositing manager for the transparent background
of the OverlayWindow, take a screenshot and use that instead.
This commit is contained in:
Dan Williams
2007-01-31 11:31:52 -05:00
parent f196eb264e
commit de2cfecf92
2 changed files with 26 additions and 8 deletions
+2 -2
View File
@@ -96,14 +96,14 @@ class ActivityHost:
def chat_show(self, frame_was_visible):
if self._overlay_window:
self._overlay_window.show_all()
self._overlay_window.appear()
self._chat_window.show_all()
self._frame_was_visible = frame_was_visible
def chat_hide(self):
self._chat_window.hide()
if self._overlay_window:
self._overlay_window.hide()
self._overlay_window.disappear()
wasvis = self._frame_was_visible
self._frame_was_visible = False
return wasvis