summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/clipboardapplet/clipboard.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/applets/clipboardapplet/clipboard.cpp b/core/applets/clipboardapplet/clipboard.cpp
index cd4f61c..203e23e 100644
--- a/core/applets/clipboardapplet/clipboard.cpp
+++ b/core/applets/clipboardapplet/clipboard.cpp
@@ -150,28 +150,28 @@ void ClipboardApplet::action(int id)
switch ( id ) {
case 0:
unicode='X'-'@';
scan=Key_X; // Cut
break;
case 1:
unicode='C'-'@';
scan=Key_C; // Copy
break;
case 2:
unicode='V'-'@';
scan=Key_V; // Paste
break;
}
if ( scan ) {
- qwsServer->processKeyEvent( unicode, scan, ControlButton, TRUE, FALSE );
- qwsServer->processKeyEvent( unicode, scan, ControlButton, FALSE, FALSE );
+ qwsServer-> sendKeyEvent ( unicode, scan, ControlButton, true, false );
+ qwsServer-> sendKeyEvent ( unicode, scan, ControlButton, true, false );
}
}
void ClipboardApplet::paintEvent ( QPaintEvent* )
{
QPainter p ( this );
p. drawPixmap ( 0, 1, clipboardPixmap );
}