## STAGING
-* GOTO message should warp mouse
-* implement tide registrar
-* implement edit (tctl) command
-* implement new version of tfetch (plumb)
+* registrar should remove invalid windows from registry when detected
+* tide should re-register with the registrar when a new registrar is launched
+* edit command should have a force option to launch tide without registrar notification
+* edit command should launch tide instead of registrar
+* fetch should stuff match strings in environment variables instead of evaling
* Line - Get the current line number(s) containing the selection
* gap buffer does not handle UTF-8 currently
}
}
-void xclientmsg(XConf* x, XEvent* e) {
- (void)x, (void)e;
- puts("clientmsg");
-}
-
int main(int argc, char** argv) {
XConf x = {0};
x11_init(&x);
x11_mkwin(&x, 1, 1, 0);
- x.eventfns[ClientMessage] = xclientmsg;
XA_REGISTRAR = XInternAtom(x.display, "TIDE_REGISTRAR", PropertyChangeMask);
XA_OPEN = XInternAtom(x.display, "OPEN", 0);
XA_DONE = XInternAtom(x.display, "DONE", 0);
if (argc == 1) {
spawn("tide");
} else {
- /* Loop over files and send and OPEN message for each one. */
+ /* Loop over files and send an OPEN message for each one. */
for (int i = 1; i < argc; i++) {
char* addr = strrchr(argv[i], ':');
if (addr) *addr = '\0', addr++;