aboutsummaryrefslogtreecommitdiffstats
path: root/src/r-x11.c
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-03-01 21:10:28 +0000
committerJoursoir <chat@joursoir.net>2021-03-01 21:10:28 +0000
commitce7c8411d7af66904da5e852f01fd95426ccf5c0 (patch)
tree29a0e1545cf2aa38d128e9031c9495f26582fa18 /src/r-x11.c
parent10b676a2fee216cc00d2ca090a93a23d8b47241f (diff)
downloadlock-password-ce7c8411d7af66904da5e852f01fd95426ccf5c0.tar.gz
lock-password-ce7c8411d7af66904da5e852f01fd95426ccf5c0.tar.bz2
lock-password-ce7c8411d7af66904da5e852f01fd95426ccf5c0.zip
use xlib for copy password
Diffstat (limited to 'src/r-x11.c')
-rw-r--r--src/r-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r-x11.c b/src/r-x11.c
index 0e68225..3a4b240 100644
--- a/src/r-x11.c
+++ b/src/r-x11.c
@@ -65,7 +65,7 @@ static void send_data(Display *dpy, XSelectionRequestEvent *sev,
XSendEvent(dpy, sev->requestor, True, NoEventMask, (XEvent *)&ssev);
}
-int run_clipboard(char *data)
+int run_clipboard(const char *data)
{
Display *dpy;
Window owner, root;