connect xevent handler
This commit is contained in:
parent
6323467879
commit
749698eb54
@ -97,7 +97,7 @@ MetaCompositorClutterPlugin META_COMPOSITOR_CLUTTER_PLUGIN_STRUCT =
|
|||||||
.maximize = maximize,
|
.maximize = maximize,
|
||||||
.unmaximize = unmaximize,
|
.unmaximize = unmaximize,
|
||||||
.switch_workspace = switch_workspace,
|
.switch_workspace = switch_workspace,
|
||||||
|
.xevent_filter = xevent_filter,
|
||||||
.kill_effect = kill_effect,
|
.kill_effect = kill_effect,
|
||||||
|
|
||||||
/* The reload handler */
|
/* The reload handler */
|
||||||
@ -626,6 +626,8 @@ xevent_filter (XEvent *xev)
|
|||||||
if (xev->type != MotionNotify)
|
if (xev->type != MotionNotify)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
printf ("got xevent type %d\n", xev->type);
|
||||||
|
|
||||||
if (priv->panel_out)
|
if (priv->panel_out)
|
||||||
{
|
{
|
||||||
guint height = clutter_actor_get_height (priv->panel);
|
guint height = clutter_actor_get_height (priv->panel);
|
||||||
|
Loading…
Reference in New Issue
Block a user