Another merge error in sesman/chansrv/clipboar.c

ulab-next
Jim Grandy 11 years ago
parent 72ec05d37e
commit b3ee3cbd4b

@ -927,9 +927,9 @@ clipboard_provide_selection_c2s(XSelectionRequestEvent *req, Atom type)
g_clip_c2s.type = type; g_clip_c2s.type = type;
g_clip_c2s.property = req->property; g_clip_c2s.property = req->property;
g_clip_c2s.window = req->requestor; g_clip_c2s.window = req->requestor;
LLOGLN(10, ("clipboard_provide_selection_c2s: start INCR property %s " log_debug("clipboard_provide_selection_c2s: start INCR property %s "
"type %s", get_atom_text(req->property), "type %s", get_atom_text(req->property),
get_atom_text(type))); get_atom_text(type));
val1[0] = g_clip_c2s.total_bytes; val1[0] = g_clip_c2s.total_bytes;
val1[1] = 0; val1[1] = 0;
XChangeProperty(g_display, req->requestor, req->property, XChangeProperty(g_display, req->requestor, req->property,
@ -1729,8 +1729,8 @@ clipboard_get_window_property(Window wnd, Atom prop, Atom *type, int *fmt,
tui8 *lxdata; tui8 *lxdata;
Atom ltype; Atom ltype;
LLOGLN(10, ("clipboard_get_window_property:")); log_debug("clipboard_get_window_property:");
LLOGLN(10, (" prop %d name %s", prop, get_atom_text(prop))); log_debug(" prop %d name %s", prop, get_atom_text(prop));
lxdata = 0; lxdata = 0;
ltype = 0; ltype = 0;
XGetWindowProperty(g_display, wnd, prop, 0, 0, 0, XGetWindowProperty(g_display, wnd, prop, 0, 0, 0,
@ -1917,8 +1917,8 @@ clipboard_event_selection_notify(XEvent *xevent)
atom = atoms[index]; atom = atoms[index];
LOGM((LOG_LEVEL_DEBUG, "clipboard_event_selection_notify: %d %s %d", LOGM((LOG_LEVEL_DEBUG, "clipboard_event_selection_notify: %d %s %d",
atom, get_atom_text(atom), XA_STRING)); atom, get_atom_text(atom), XA_STRING));
LLOGLN(10, ("clipboard_event_selection_notify: 0x%x %s", log_debug("clipboard_event_selection_notify: 0x%x %s",
atom, get_atom_text(atom))); atom, get_atom_text(atom));
if (atom == g_utf8_atom) if (atom == g_utf8_atom)
{ {
got_utf8 = 1; got_utf8 = 1;
@ -2265,8 +2265,8 @@ clipboard_event_selection_request(XEvent *xevent)
} }
else else
{ {
LLOGLN(10, ("clipboard_event_selection_request: unknown " log_debug("clipboard_event_selection_request: unknown "
"target %s", get_atom_text(lxev->target))); "target %s", get_atom_text(lxev->target));
LOGM((LOG_LEVEL_ERROR, "clipboard_event_selection_request: unknown " LOGM((LOG_LEVEL_ERROR, "clipboard_event_selection_request: unknown "
"target %s", get_atom_text(lxev->target))); "target %s", get_atom_text(lxev->target)));
} }

Loading…
Cancel
Save