Adding drag-n-drop patch
This commit is contained in:
parent
b77fb11b76
commit
08b53c4960
9 changed files with 292 additions and 0 deletions
14
st.h
14
st.h
|
|
@ -37,6 +37,12 @@
|
|||
#define HISTSIZE 2000
|
||||
#endif // SCROLLBACK_PATCH | REFLOW_PATCH
|
||||
|
||||
#if DRAG_AND_DROP_PATCH
|
||||
#define HEX_TO_INT(c) ((c) >= '0' && (c) <= '9' ? (c) - '0' : \
|
||||
(c) >= 'a' && (c) <= 'f' ? (c) - 'a' + 10 : \
|
||||
(c) >= 'A' && (c) <= 'F' ? (c) - 'A' + 10 : -1)
|
||||
#endif // DRAG_AND_DROP_PATCH
|
||||
|
||||
enum glyph_attribute {
|
||||
ATTR_NULL = 0,
|
||||
ATTR_SET = 1 << 0,
|
||||
|
|
@ -247,6 +253,14 @@ typedef struct {
|
|||
GlyphFontSeq *specseq;
|
||||
#endif // LIGATURES_PATCH
|
||||
Atom xembed, wmdeletewin, netwmname, netwmiconname, netwmpid;
|
||||
#if DRAG_AND_DROP_PATCH
|
||||
Atom XdndTypeList, XdndSelection, XdndEnter, XdndPosition, XdndStatus,
|
||||
XdndLeave, XdndDrop, XdndFinished, XdndActionCopy, XdndActionMove,
|
||||
XdndActionLink, XdndActionAsk, XdndActionPrivate, XtextUriList,
|
||||
XtextPlain, XdndAware;
|
||||
int64_t XdndSourceWin, XdndSourceVersion;
|
||||
int32_t XdndSourceFormat;
|
||||
#endif // DRAG_AND_DROP_PATCH
|
||||
#if FULLSCREEN_PATCH
|
||||
Atom netwmstate, netwmfullscreen;
|
||||
#endif // FULLSCREEN_PATCH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue