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);
|
|
|
|
|
|
|
|
int xtra_init(drop_callback d);
|
|
|
|
void xtra_terminate();
|
2014-10-01 23:28:34 +02:00
|
|
|
long unsigned int xtra_focused_window_id();
|
2014-10-11 23:53:02 +02:00
|
|
|
int xtra_is_this_focused(); /* returns bool */
|
2014-10-01 23:28:34 +02:00
|
|
|
|
2014-10-11 23:53:02 +02:00
|
|
|
#endif /* XTRA_H */
|