src/glinject/glinject.c
/*
 * Handles X11 ConfigureNotify events. For instance, this is triggered
 * when a window is resized.
 */
Handles X11 ConfigureNotify events. For instance, this is triggered
when a window is resized.
Handles X11 ConfigureNotify events . For instance this is triggered when a window is resized .
void glinject_handle_x11_configure_notify_event(XEvent* event) {
	lua_getglobal(L, "configure_notify_event");
	if (!lua_isfunction(L, -1)) {
		fprintf(stderr, "configure_notify_event is not a function!\n");
		return;
	}
	if (lua_pcall(L, 0, 0, 0) != 0) {
		fprintf(stderr, "error running function: %s\n", lua_tostring(L, -1));
	}
}
void glinject_handle_x11_configure_notify_event ( XEvent * event ) { lua_getglobal ( L , " " ) ; if ( ! lua_isfunction ( L , -1 ) ) { fprintf ( stderr , " \n " ) ; return ; } if ( lua_pcall ( L , 0 , 0 , 0 ) != 0 ) { fprintf ( stderr , " \n " , lua_tostring ( L , -1 ) ) ; } }
Handles X11 ConfigureNotify events.
Handles X11 ConfigureNotify events .