#include <x11extras.h>
|
| void | checkPropertyOnWin (bool windowCorrected, Window &window, Window &parent, Window &finalwindow, Window &root, Window *children, Display *display, unsigned int &num_children) |
| |
| void | freeDisplay () |
| |
| void | checkFeedback (XFeedbackState *temp, int &num_feedbacks, int &feedback_id) |
| |
| void | findVirtualPtr (int num_devices, XIDeviceInfo *current_devices, XIDeviceInfo *mouse_device, XIDeviceInfo *all_devices, QString pointerName) |
| |
◆ ~X11Extras()
| X11Extras::~X11Extras |
( |
| ) |
|
Close display connection if one exists.
◆ X11Extras()
| X11Extras::X11Extras |
( |
QObject * |
parent = nullptr | ) |
|
|
explicitprotected |
◆ appRootWindow()
Return root window for a given X display.
- Parameters
-
| screen | number. If no value is passed, uses screen 1. |
- Returns
- XID of the window
◆ checkFeedback()
◆ checkPropertyOnWin()
◆ closeDisplay()
| void X11Extras::closeDisplay |
( |
| ) |
|
◆ deleteInstance()
| void X11Extras::deleteInstance |
( |
| ) |
|
|
static |
◆ display()
Get display instance.
- Returns
- Display struct
◆ findClientWindow()
Find the proper client window within a hierarchy. This check is needed in some environments where the window that has been selected is actually a child to a transparent parent window which was the one that was actually grabbed.
- Parameters
-
- Returns
- Client window XID or 0 if no appropriate window was found
◆ findParentClient()
◆ findVirtualPtr()
◆ freeDisplay()
| void X11Extras::freeDisplay |
( |
| ) |
|
|
private |
◆ getApplicationLocation()
| QString X11Extras::getApplicationLocation |
( |
int |
pid | ) |
|
Find the application file location for a given PID.
- Parameters
-
- Returns
- File location of application
◆ getApplicationPid()
| int X11Extras::getApplicationPid |
( |
Window |
window | ) |
|
Check window and any parents for the window property "_NET_WM_PID".
- Parameters
-
| Window | XID for window of interest |
- Returns
- PID of the application instance corresponding to the window
◆ getDisplayString()
Get appropriate alias for a known KeySym string that might be blank or contain invalid characters when returned from X.
- Parameters
-
| xcodestring | representation of a KeySym string |
- Returns
- Alias string or a blank QString if no alias was found
◆ getEnvVariable()
◆ getGroup1KeySym()
| int X11Extras::getGroup1KeySym |
( |
int |
virtualkey | ) |
|
◆ getInstance()
◆ getKnownAliases()
◆ getPointInformation() [1/2]
◆ getPointInformation() [2/2]
◆ getPos
◆ getWindowClass()
◆ getWindowInFocus()
◆ getWindowTitle()
◆ getXDisplayString()
| QString X11Extras::getXDisplayString |
( |
| ) |
|
|
static |
Get QString representation of currently utilized X display.
- Returns
◆ hasValidDisplay()
| bool X11Extras::hasValidDisplay |
( |
| ) |
|
◆ isWindowRelevant()
Go through a window's properties and search for an Atom from a defined list. If an Atom is found in a window's properties, that window should be considered relevant and one that should be grabbed.
- Parameters
-
- Returns
- If a window has a relevant Atom in its properties.
◆ populateKnownAliases()
| void X11Extras::populateKnownAliases |
( |
| ) |
|
|
protected |
◆ setCustomDisplay()
| void X11Extras::setCustomDisplay |
( |
QString |
displayString | ) |
|
|
static |
◆ windowHasProperty()
◆ windowIsViewable()
◆ x11ResetMouseAccelerationChange() [1/2]
| void X11Extras::x11ResetMouseAccelerationChange |
( |
| ) |
|
◆ x11ResetMouseAccelerationChange() [2/2]
| void X11Extras::x11ResetMouseAccelerationChange |
( |
QString |
pointerName | ) |
|
◆ _display
◆ _instance
◆ knownAliases
The documentation for this class was generated from the following files: