1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-08 01:46:35 +01:00

Dnd works

This commit is contained in:
mannol
2014-10-11 23:53:02 +02:00
parent 70add920fe
commit c825adc1e3
3 changed files with 300 additions and 111 deletions

View File

@@ -3,10 +3,17 @@
/* NOTE: If no xlib present don't compile */
void xtra_init();
void xtra_terminate();
typedef enum {
DT_plain,
DT_file_list
}
DropType;
typedef void (*drop_callback) (const char*, DropType);
int xtra_init(drop_callback d);
void xtra_terminate();
long unsigned int xtra_focused_window_id();
int xtra_is_this_focused(); /* returns bool */
int xtra_is_this_focused(); /* returns bool */
#endif /* DND_H */
#endif /* XTRA_H */