summaryrefslogtreecommitdiff
path: root/vcl/unx/kde4
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-01 08:13:30 +0200
committerNoel Grandin <noel@peralex.com>2014-10-01 12:20:47 +0200
commit544c4fc14bca0e670ed1d59569f22c5d4a643c72 (patch)
tree077a06221c9e39e5201518e9affd1f6bafc95566 /vcl/unx/kde4
parentc8ae1787c6315bd7a8513656626132f1140e77f9 (diff)
fdo#82577: Handle KeyPress
It appears that this became unnecessary at some point Change-Id: Iee7c09d00f8dee79f51f0a93b8f5f16137c9c626
Diffstat (limited to 'vcl/unx/kde4')
-rw-r--r--vcl/unx/kde4/KDESalDisplay.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/kde4/KDESalDisplay.cxx b/vcl/unx/kde4/KDESalDisplay.cxx
index 4c268b11570a..06e7b6d06c76 100644
--- a/vcl/unx/kde4/KDESalDisplay.cxx
+++ b/vcl/unx/kde4/KDESalDisplay.cxx
@@ -76,7 +76,7 @@ void SalKDEDisplay::Yield()
// would need this handling).
bool SalKDEDisplay::checkDirectInputEvent( XEvent* ev )
{
- if( ev->xany.type == XLIB_KeyPress || ev->xany.type == KeyRelease
+ if( ev->xany.type == KeyPress || ev->xany.type == KeyRelease
|| ( ev->xany.type == ClientMessage && ev->xclient.message_type == xim_protocol ))
{
if( QApplication::activeWindow() == NULL )