2017-08-31 14:42:05 +00:00
|
|
|
/**************************************************************************
|
|
|
|
* Copyright (C) 2017 tint2 authors
|
|
|
|
*
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
#ifndef DRAG_AND_DROP_H
|
|
|
|
#define DRAG_AND_DROP_H
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2017-08-31 16:38:31 +00:00
|
|
|
#include <glib.h>
|
|
|
|
|
|
|
|
extern gboolean hidden_panel_shown_for_dnd;
|
2017-09-02 10:39:40 +00:00
|
|
|
extern gboolean debug_dnd;
|
2017-08-31 14:42:05 +00:00
|
|
|
|
|
|
|
void dnd_init();
|
|
|
|
|
|
|
|
void handle_dnd_enter(XClientMessageEvent *e);
|
|
|
|
void handle_dnd_position(XClientMessageEvent *e);
|
|
|
|
void handle_dnd_drop(XClientMessageEvent *e);
|
|
|
|
void handle_dnd_selection_notify(XSelectionEvent *e);
|
|
|
|
|
|
|
|
#endif
|