[Pkg-owncloud-commits] [owncloud-client] 82/219: raiseDialog: Actually send the XEvent

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 11 14:43:12 UTC 2014


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

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

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

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

diff --git a/src/mirall/owncloudgui.cpp b/src/mirall/owncloudgui.cpp
index 0b3051d..80cb3b4 100644
--- a/src/mirall/owncloudgui.cpp
+++ b/src/mirall/owncloudgui.cpp
@@ -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
     }
 }

-- 
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