Replace XSetSelectionOwner with XCB
Note that the argument order is different between Xlib and XCB. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
0cae42faaa
commit
a192bfb130
|
@ -3565,7 +3565,7 @@ register_cm(session_t *ps) {
|
|||
fprintf(stderr, "Another composite manager is already running\n");
|
||||
return false;
|
||||
}
|
||||
XSetSelectionOwner(ps->dpy, atom, ps->reg_win, 0);
|
||||
xcb_set_selection_owner(c, ps->reg_win, atom, 0);
|
||||
free(buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue