remove xtestsender

This commit is contained in:
2025-12-19 14:52:18 +08:00
parent 902a5ce5dd
commit 0be1e76ba2
3 changed files with 0 additions and 32 deletions

View File

@@ -43,7 +43,6 @@ set(XEMBED_SNI_PROXY_SOURCES
main.cpp
fdoselectionmanager.cpp fdoselectionmanager.h
traymanager1.cpp traymanager1.h
xtestsender.cpp xtestsender.h
)
set_source_files_properties(

View File

@@ -1,19 +0,0 @@
/* Wrap XLIB code in a new file as it defines keywords that conflict with Qt
SPDX-FileCopyrightText: 2017 David Edmundson <davidedmundson@kde.org>
SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include "xtestsender.h"
#include <X11/extensions/XTest.h>
void sendXTestPressed(Display *display, int button)
{
XTestFakeButtonEvent(display, button, true, 0);
}
void sendXTestReleased(Display *display, int button)
{
XTestFakeButtonEvent(display, button, false, 0);
}

View File

@@ -1,12 +0,0 @@
/* Wrap XLIB code in a new file as it defines keywords that conflict with Qt
SPDX-FileCopyrightText: 2017 David Edmundson <davidedmundson@kde.org>
SPDX-License-Identifier: LGPL-2.1-or-later
*/
#pragma once
typedef struct _XDisplay Display;
void sendXTestPressed(Display *display, int button);
void sendXTestReleased(Display *display, int button);