There seems to be an issue with the GTK+ Mir surface getting focus.
When running through mir_demo_server_shell no mouse up/down events are received (as shown using GDK_MIR_LOG_EVENTS). However, if you drag the window using alt+mouse then release the events work after that. I can then run the demo program using both git master and the utopic version of GTK+. When I said it was working with wip/mir in comment 3 I think I might just have accidentally given the window focus when testing.
When I run in Unity 8 it still doesn't work which makes me think now that for some reason the surface doesn't have focus.
There seems to be an issue with the GTK+ Mir surface getting focus.
When running through mir_demo_ server_ shell no mouse up/down events are received (as shown using GDK_MIR_ LOG_EVENTS) . However, if you drag the window using alt+mouse then release the events work after that. I can then run the demo program using both git master and the utopic version of GTK+. When I said it was working with wip/mir in comment 3 I think I might just have accidentally given the window focus when testing.
When I run in Unity 8 it still doesn't work which makes me think now that for some reason the surface doesn't have focus.