st/patch/openurlonclick.h

9 lines
260 B
C
Raw Permalink Normal View History

2023-10-24 12:44:14 +02:00
#include <spawn.h>
static inline void restoremousecursor(void) {
if (!(win.mode & MODE_MOUSE) && xw.pointerisvisible)
XDefineCursor(xw.dpy, xw.win, xw.vpointer);
}
static void clearurl(void);
static void openUrlOnClick(int col, int row, char* url_opener);