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>
|
2022-05-10 21:47:17 +00:00
|
|
|
#include <X11/X.h>
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include <sys/socket.h>
|
|
|
|
#include <sys/wait.h>
|
|
|
|
#include <signal.h>
|
|
|
|
#include <X11/Xatom.h>
|
|
|
|
#include <gdk/x11/gdkx.h>
|
2022-05-09 21:03:14 +00:00
|
|
|
#include <webkit2/webkit2.h>
|
2022-05-10 21:47:17 +00:00
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
enum { AtomFind, AtomGo, AtomUri, AtomUTF8, AtomLast };
|
|
|
|
static Atom atoms[AtomLast];
|
|
|
|
static Display *dpy;
|
|
|
|
const char* getatom(int a);
|
2022-05-13 10:30:15 +00:00
|
|
|
void setatom(int a, const char *v);
|
2022-05-10 21:47:17 +00:00
|
|
|
static int spair[2];
|