Remove unused param for X11 input sender

This commit is contained in:
Vasily
2019-06-15 10:00:46 +02:00
committed by username223
parent 589b759c77
commit e2f41fce37
+2 -2
View File
@@ -3,7 +3,7 @@
#include <X11/Intrinsic.h>
#include <X11/extensions/XTest.h>
unsigned int tokenToKeyCode( const Token token, Display* const display )
unsigned int tokenToKeyCode( const Token token )
{
switch ( token )
{
@@ -175,7 +175,7 @@ void sendKeyPress( const Token token,
LOG( INFO ) << "Status:";
LOG( INFO ) << static_cast<int>( status );
XTestFakeKeyEvent( display, tokenToKeyCode( token, display ), keyDown, 0 );
XTestFakeKeyEvent( display, tokenToKeyCode( token ), keyDown, 0 );
}
void sendTokensAsInput( const std::vector<Token> tokens )