protected override bool OnButtonReleaseEvent(Gdk.EventButton args) { double x = args.X + Allocation.X; double y = args.Y + Allocation.Y; if (glass.Dragging) glass.EndDrag (x, y); return base.OnButtonReleaseEvent (args); }