Files
FlClash/plugins/window/linux/window_drag.h
T
chen08209 1e97716636 feat(platform): move desktop windows to plugins/window and rework the tray
plugins/window replaces the window_manager fork on every desktop.

Changelog: Tray hotkeys, node delays and a delay test
2026-09-30 11:39:58 +08:00

25 lines
517 B
C

#ifndef WINDOW_DRAG_H_
#define WINDOW_DRAG_H_
#include "include/window/window_plugin.h"
G_BEGIN_DECLS
typedef struct {
GdkEventButton event_button;
gulong mouse_press_hook_id;
gulong event_after_handler_id;
GtkWidget* event_box;
bool is_dragging;
} WindowDragState;
void window_drag_init(WindowDragState* state);
void window_drag_dispose(WindowPlugin* self);
void window_drag_connect(WindowPlugin* self);
FlMethodResponse* window_drag_start(WindowPlugin* self);
G_END_DECLS
#endif // WINDOW_DRAG_H_