Release the GL window here. Disconect from the magnifier, not the stacker.

Fri Mar 31 16:44:56 2006  Søren Sandmann  <sandmann@redhat.com>

	* src/c-screen.c (meta_screen_info_unredirect): Release the GL
	window here. Disconect from the magnifier, not the stacker.
This commit is contained in:
Søren Sandmann 2006-03-31 21:45:29 +00:00 committed by Søren Sandmann Pedersen
parent 21d5a43c29
commit 6445d16fd5
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Mar 31 16:44:56 2006 Søren Sandmann <sandmann@redhat.com>
* src/c-screen.c (meta_screen_info_unredirect): Release the GL
window here. Disconect from the magnifier, not the stacker.
Fri Mar 31 12:24:26 2006 Søren Sandmann <sandmann@redhat.com>
* src/c-screen.c (meta_screen_info_redirect): Only use magnifier

View File

@ -344,11 +344,14 @@ meta_screen_info_unredirect (MetaScreenInfo *info)
g_print ("unredirecting %lx\n", WS_RESOURCE_XID (root));
#endif
g_signal_handler_disconnect (info->stacker, info->repaint_id);
g_signal_handler_disconnect (info->magnifier, info->repaint_id);
g_object_unref (info->stacker);
ws_window_unredirect_subwindows (root);
#if 0
ws_window_unmap (info->gl_window);
#endif
ws_screen_release_gl_window (ws_screen);
ws_display_sync (info->display);
}