mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-01 02:56:21 -04:00
Fix build failure in AutoTypePlatformX11::SendEvent().
This commit is contained in:
parent
a71e25a8ba
commit
6502da549b
1 changed files with 2 additions and 2 deletions
|
@ -568,7 +568,7 @@ int AutoTypePlatformX11::AddKeysym(KeySym keysym)
|
||||||
*/
|
*/
|
||||||
void AutoTypePlatformX11::SendEvent(XKeyEvent* event, int event_type)
|
void AutoTypePlatformX11::SendEvent(XKeyEvent* event, int event_type)
|
||||||
{
|
{
|
||||||
XSync(event->display, FALSE);
|
XSync(event->display, False);
|
||||||
int (*oldHandler) (Display*, XErrorEvent*) = XSetErrorHandler(MyErrorHandler);
|
int (*oldHandler) (Display*, XErrorEvent*) = XSetErrorHandler(MyErrorHandler);
|
||||||
|
|
||||||
event->type = event_type;
|
event->type = event_type;
|
||||||
|
@ -670,7 +670,7 @@ void AutoTypePlatformX11::SendKeyPressedEvent(KeySym keysym)
|
||||||
event.y = 1;
|
event.y = 1;
|
||||||
event.x_root = 1;
|
event.x_root = 1;
|
||||||
event.y_root = 1;
|
event.y_root = 1;
|
||||||
event.same_screen = TRUE;
|
event.same_screen = True;
|
||||||
|
|
||||||
Window root, child;
|
Window root, child;
|
||||||
int root_x, root_y, x, y;
|
int root_x, root_y, x, y;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue