* registrar: doesnt match open windows when new file created and is then opened for edit or line number
* registrar: group by hostname or group env var in registrar
* tide: gap buffer does not handle UTF-8 currently
-* tide: sometimes tide starts with white screen until an event occurs
* tide: highlight current line if jumped to line is 0
* tide: jumping to line should call XMapRaised
}
static void xupdate(Job* job) {
- int nqueued;
+ int nqueued, nevents;
do {
nqueued = XEventsQueued(X.display, QueuedAfterFlush);
+ XGetMotionEvents(X.display, X.self, CurrentTime, CurrentTime, &nevents);
for (XEvent e; XPending(X.display);) {
XNextEvent(X.display, &e);
if (!XFilterEvent(&e, None) && X.eventfns[e.type])