mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-13 15:15:21 +08:00
x11: Wrap platform functions in XWindowsClipboard class
This commit is contained in:
committed by
Adrian Lucrèce Céleste
parent
ce3e8243a9
commit
624a718f2d
@@ -528,3 +528,25 @@ Status XWindowsImpl::DPMSDisable(Display* display)
|
||||
{
|
||||
return ::DPMSDisable(display);
|
||||
}
|
||||
|
||||
int XWindowsImpl::XSetSelectionOwner(Display* display, Atom selection, Window w,
|
||||
Time time)
|
||||
{
|
||||
return ::XSetSelectionOwner(display, selection, w, time);
|
||||
}
|
||||
|
||||
Window XWindowsImpl::XGetSelectionOwner(Display* display, Atom selection)
|
||||
{
|
||||
return ::XGetSelectionOwner(display, selection);
|
||||
}
|
||||
|
||||
Atom* XWindowsImpl::XListProperties(Display* display, Window w,
|
||||
int* num_prop_return)
|
||||
{
|
||||
return ::XListProperties(display, w, num_prop_return);
|
||||
}
|
||||
|
||||
char* XWindowsImpl::XGetAtomName(Display* display, Atom atom)
|
||||
{
|
||||
return ::XGetAtomName(display, atom);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user