connect xevent handler

This commit is contained in:
Tomas Frydrych 2008-10-16 10:42:03 +01:00
parent 6323467879
commit 749698eb54

View File

@ -97,7 +97,7 @@ MetaCompositorClutterPlugin META_COMPOSITOR_CLUTTER_PLUGIN_STRUCT =
.maximize = maximize,
.unmaximize = unmaximize,
.switch_workspace = switch_workspace,
.xevent_filter = xevent_filter,
.kill_effect = kill_effect,
/* The reload handler */
@ -626,6 +626,8 @@ xevent_filter (XEvent *xev)
if (xev->type != MotionNotify)
return FALSE;
printf ("got xevent type %d\n", xev->type);
if (priv->panel_out)
{
guint height = clutter_actor_get_height (priv->panel);