1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-01 15:37:46 +02:00
toxic/src/xtra.h

19 lines
385 B
C
Raw Normal View History

2014-10-01 23:28:34 +02:00
#ifndef XTRA_H
#define XTRA_H
/* NOTE: If no xlib present don't compile */
2014-10-11 23:53:02 +02:00
typedef enum {
DT_plain,
DT_file_list
}
DropType;
2014-10-01 23:28:34 +02:00
2014-10-11 23:53:02 +02:00
typedef void (*drop_callback) (const char*, DropType);
2014-10-12 22:54:18 +02:00
int init_xtra(drop_callback d);
void terminate_xtra();
long unsigned int focused_window_id();
int is_focused(); /* returns bool */
2014-10-01 23:28:34 +02:00
2014-10-11 23:53:02 +02:00
#endif /* XTRA_H */