Wed Nov 3 18:17:52 2004 Michael Jennings (mej)
Small patch for building against libast 0.6.1. Fixed compile error when enabling OFFIX_DND support pointed out by JG Miller <miller@yoyo.org>. ---------------------------------------------------------------------- SVN revision: 12140
This commit is contained in:
parent
5c1c47b132
commit
7db420d474
|
@ -5250,3 +5250,10 @@ Fri Jul 23 12:27:18 2004 Michael Jennings (mej)
|
|||
|
||||
Oops, missed one. :(
|
||||
----------------------------------------------------------------------
|
||||
Wed Nov 3 18:17:52 2004 Michael Jennings (mej)
|
||||
|
||||
Small patch for building against libast 0.6.1.
|
||||
|
||||
Fixed compile error when enabling OFFIX_DND support pointed out by JG
|
||||
Miller <miller@yoyo.org>.
|
||||
----------------------------------------------------------------------
|
||||
|
|
|
@ -344,7 +344,7 @@ handle_client_message(event_t *ev)
|
|||
XGetWindowProperty(Xdisplay, Xroot, props[PROP_DND_SELECTION], 0L, 1000000L, False, AnyPropertyType, &ActualType, &ActualFormat, &Size, &RemainingBytes, &data);
|
||||
if (data != NULL) {
|
||||
XChangeProperty(Xdisplay, Xroot, XA_CUT_BUFFER0, XA_STRING, 8, PropModeReplace, data, strlen(data));
|
||||
selection_paste(Xroot, XA_CUT_BUFFER0, True);
|
||||
selection_paste(XA_CUT_BUFFER0);
|
||||
XSetInputFocus(Xdisplay, Xroot, RevertToNone, CurrentTime);
|
||||
XFree(data);
|
||||
}
|
||||
|
|
|
@ -102,7 +102,9 @@ eterm_bootstrap(int argc, char *argv[])
|
|||
}
|
||||
|
||||
/* This MUST be called before any other Xlib functions */
|
||||
|
||||
#ifdef SPIFOPT_SETTING_PREPARSE
|
||||
SPIFOPT_FLAG_SET(SPIFOPT_SETTING_PREPARSE);
|
||||
#endif
|
||||
spifopt_parse(argc, argv);
|
||||
init_defaults();
|
||||
|
||||
|
|
Loading…
Reference in New Issue