OSDN Git Service
(root)
/
kde
/
kde-extraapps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e52b5a4
)
ksnapshot: ungrab the X11 server after pointer is queried in windowUnderCursor()...
author
Ivailo Monev
<xakepa10@gmail.com>
Sun, 6 Nov 2022 17:48:32 +0000
(19:48 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Sun, 6 Nov 2022 17:48:32 +0000
(19:48 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
ksnapshot/windowgrabber.cpp
patch
|
blob
|
history
diff --git
a/ksnapshot/windowgrabber.cpp
b/ksnapshot/windowgrabber.cpp
index
2804551
..
a313718
100644
(file)
--- a/
ksnapshot/windowgrabber.cpp
+++ b/
ksnapshot/windowgrabber.cpp
@@
-151,6
+151,7
@@
Window windowUnderCursor( bool includeDecorations = true )
XGrabServer( QX11Info::display() );
XQueryPointer( QX11Info::display(), QX11Info::appRootWindow(), &root, &child,
&rootX, &rootY, &winX, &winY, &mask );
+ XUngrabServer( QX11Info::display() );
if( child == None ) {
child = QX11Info::appRootWindow();