=== added file 'src/modules/Unity/Application/fake/fakemaliit.cpp'
+ MirBufferStream* buffer_stream = mir_window_get_buffer_stream(window);
+ // TODO sometimes buffer_stream is nullptr
+ // (Only observed when creating a lot of clients at once)
Just FYI, this is a deprecated method. The null thing is weird, I'd suggest logging a bug but if it is to be deprecated anyway, not worth the trouble.
+ for (int i = 0; i < m_windows.count(); ++i) {
+ MirWindow *window = m_windows[i];
ranged for a little nicer! It's not an eyesore IMO
=== added file 'src/modules/ Unity/Applicati on/fake/ fakemaliit. cpp' get_buffer_ stream( window) ;
+ MirBufferStream* buffer_stream = mir_window_
+ // TODO sometimes buffer_stream is nullptr
+ // (Only observed when creating a lot of clients at once)
Just FYI, this is a deprecated method. The null thing is weird, I'd suggest logging a bug but if it is to be deprecated anyway, not worth the trouble.
+ for (int i = 0; i < m_windows.count(); ++i) {
+ MirWindow *window = m_windows[i];
ranged for a little nicer! It's not an eyesore IMO
=== added file 'src/modules/ Unity/Applicati on/fake/ fakeprompt. cpp' MirWindow* window, const MirEvent *event, QEvent::Type type) ref(event) ;
+ MirClientEvent(
+ : QEvent(type), window(window), mirEvent(event) {
+ mirEvent = mir_event_
you're setting mirEvent twice afaics.