Skip to content

LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.

306 B
Raw Blame
/* js_wm.h — lord.wm: window dragging in C (see js_wm.c and grab.h). */
#ifndef LORD_JS_WM_H
#define LORD_JS_WM_H

#include "quickjs.h"

void js_wm_register(JSContext *c, JSValue lord);
void js_wm_end(int node, int edges, float dx, float dy, float dw, float dh);   /* → __lordWm('end', …) */

#endif