瀏覽代碼

Fix copy paste on linux

luboslenco 1 周之前
父節點
當前提交
7792774553
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      base/sources/backends/linux_system.c

+ 1 - 0
base/sources/backends/linux_system.c

@@ -80,6 +80,7 @@ void iron_x11_init() {
 	XdndStatus = XInternAtom(x11_ctx.display, "XdndStatus", False);
 	XdndActionCopy = XInternAtom(x11_ctx.display, "XdndActionCopy", False);
 	XdndSelection = XInternAtom(x11_ctx.display, "XdndSelection", False);
+	CLIPBOARD = XInternAtom(x11_ctx.display, "CLIPBOARD", False);
 	UTF8_STRING = XInternAtom(x11_ctx.display, "UTF8_STRING", False);
 	XSEL_DATA = XInternAtom(x11_ctx.display, "XSEL_DATA", False);
 	TARGETS = XInternAtom(x11_ctx.display, "TARGETS", False);