rosenrot/rose.h

30 lines
539 B
C
Raw Normal View History

2022-05-09 21:03:14 +00:00
#pragma once
2022-05-10 21:47:17 +00:00
#include "window.h"
#include "webview.h"
#include "config.h"
2022-05-09 21:03:14 +00:00
#include <gtk/gtk.h>
#include <gdk/x11/gdkx.h>
2022-05-10 21:47:17 +00:00
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <stdlib.h>
#include <webkit2/webkit2.h>
#include <sys/wait.h>
enum {
AtomFind,
AtomGo,
AtomUri,
AtomUTF8,
AtomLast
};
extern Display *glob_dpy; /* declared in rose.c */
2022-05-10 21:47:17 +00:00
/* Set/get X11 window properties. `getatom` retuns an allocated string
which has to be free'd. */
char *getatom(int aid);
void setatom(int aid, const char *val);