raiseDialog: Actually send the XEvent

Amendment to 25c274a0bd

Conflicts:
	src/mirall/owncloudgui.cpp
This commit is contained in:
Daniel Molkentin 2014-09-05 22:07:54 +02:00
parent fa962b7f53
commit f59a6862ca

View file

@ -619,6 +619,12 @@ void ownCloudGui::raiseDialog( QWidget *raiseWidget )
e.xclient.data.l[2] = 0;
e.xclient.data.l[3] = 0l;
e.xclient.data.l[4] = 0l;
Display *display = QX11Info::display();
XSendEvent(display,
RootWindow(display, DefaultScreen(display)),
False, // propagate
SubstructureRedirectMask|SubstructureNotifyMask,
&e);
#endif
}
}