mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
Also check for overlay_window.
Tue Mar 28 09:57:26 2006 Søren Sandmann <sandmann@redhat.com> * src/c-screen.c (meta_screen_info_add_window): Also check for overlay_window. * src/c-screen.c (meta_screen_info_redirect): Trap errors out of unredirect().
This commit is contained in:
parent
9b6aeeef12
commit
ea1568c720
@ -1,3 +1,10 @@
|
||||
Tue Mar 28 09:57:26 2006 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* src/c-screen.c (meta_screen_info_add_window): Also check for overlay_window.
|
||||
|
||||
* src/c-screen.c (meta_screen_info_redirect): Trap errors out of
|
||||
unredirect().
|
||||
|
||||
2006-03-25 Thomas Thurman <thomas@thurman.org.uk>
|
||||
|
||||
* src/window.c, src/window.h (update_net_wm_state,
|
||||
|
@ -282,8 +282,12 @@ meta_screen_info_redirect (MetaScreenInfo *info)
|
||||
region = ws_server_region_new (info->display);
|
||||
ws_window_set_input_shape (info->gl_window, region);
|
||||
g_object_unref (G_OBJECT (region));
|
||||
|
||||
ws_display_begin_error_trap (info->display);
|
||||
|
||||
ws_window_unredirect (info->gl_window);
|
||||
|
||||
ws_display_end_error_trap (info->display);
|
||||
|
||||
claim_selection (info);
|
||||
|
||||
@ -491,7 +495,8 @@ meta_screen_info_add_window (MetaScreenInfo *info,
|
||||
if (ws_window_query_input_only (WS_WINDOW (drawable)))
|
||||
goto out;
|
||||
|
||||
if (WS_WINDOW (drawable) == info->gl_window)
|
||||
if (WS_WINDOW (drawable) == info->gl_window ||
|
||||
WS_WINDOW (drawable) == info->screen->overlay_window)
|
||||
{
|
||||
g_print ("gl window\n");
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user