[Pkg-owncloud-commits] [owncloud-client] 02/20: raiseDialog: Actually send the XEvent

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Oct 24 20:08:12 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch sid
in repository owncloud-client.

commit 984be698b4417893e44381fd45ce3116e22f1bed
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Fri Sep 5 22:07:54 2014 +0200

    raiseDialog: Actually send the XEvent
    
    Amendment to 25c274a0bddd37dd62a9391a9a9f0972a57b70c
---
 src/mirall/owncloudgui.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/mirall/owncloudgui.cpp b/src/mirall/owncloudgui.cpp
index 3e7c684..245f456 100644
--- a/src/mirall/owncloudgui.cpp
+++ b/src/mirall/owncloudgui.cpp
@@ -559,6 +559,13 @@ 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
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list