diff options
Diffstat (limited to 'src/cheese-texture.c')
-rw-r--r-- | src/cheese-texture.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cheese-texture.c b/src/cheese-texture.c index 1893a45..bdf9671 100644 --- a/src/cheese-texture.c +++ b/src/cheese-texture.c @@ -58,16 +58,18 @@ on_x_event_filter (XEvent * xev, ClutterEvent * cev, gpointer data) g_object_get (self, "window", &window, NULL); if (window == None) - return; + return CLUTTER_X11_FILTER_CONTINUE; switch (xev->type) { case MapNotify: g_message ("stage mapped %ld", xev->xmap.window); XMapWindow (xev->xmap.display, window); + XSync (xev->xmap.display, FALSE); break; case UnmapNotify: g_message ("stage unmapped %ld", xev->xmap.window); XUnmapWindow (xev->xmap.display, window); + XSync (xev->xmap.display, FALSE); break; default: break; @@ -95,7 +97,7 @@ static void cheese_texture_class_init (CheeseTextureClass * klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass); +/* ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass); */ g_type_class_add_private (klass, sizeof (CheeseTexturePrivate)); |