mirror of https://github.com/bsnes-emu/bsnes.git
15 lines
268 B
C++
15 lines
268 B
C++
|
#pragma once
|
||
|
|
||
|
#include <nall/xorg/xorg.hpp>
|
||
|
|
||
|
namespace nall { namespace Clipboard {
|
||
|
|
||
|
auto clear() -> void {
|
||
|
XDisplay display;
|
||
|
if(auto atom = XInternAtom(display, "CLIPBOARD", XlibTrue)) {
|
||
|
XSetSelectionOwner(display, atom, XlibNone, XlibCurrentTime);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}}
|