mirror of
https://github.com/Marat-Tanalin/bsnes-mt.git
synced 2025-04-02 10:21:42 -04:00
14 lines
256 B
C++
14 lines
256 B
C++
#pragma once
|
|
|
|
#include <nall/xorg/xorg.hpp>
|
|
|
|
namespace nall::Clipboard {
|
|
|
|
auto clear() -> void {
|
|
XDisplay display;
|
|
if(auto atom = XInternAtom(display, "CLIPBOARD", XlibTrue)) {
|
|
XSetSelectionOwner(display, atom, XlibNone, XlibCurrentTime);
|
|
}
|
|
}
|
|
|
|
}
|