~amavect/makeu

4a0025afeb6d1738f64ec587b7862cfb66e97224 — amavect 1 year, 9 months ago fdc63c3
Rename dogetwindow -> egetwindow, remove unnecessary call.
1 files changed, 2 insertions(+), 3 deletions(-)

M makeu.c
M makeu.c => makeu.c +2 -3
@@ 269,7 269,7 @@ vlong startt, stopt;
	fprint(2, "%lld\n", stopt-startt)

void
dogetwindow(void)
egetwindow(void)
{
	if(getwindow(display, Refnone) < 0)
		sysfatal("Cannot reconnect to display: %r");


@@ 350,7 350,6 @@ threadmain(int argc, char **argv)
	aa.val = alpha;
	
	root->init(root);
	dogetwindow();
	root->resize(root, screen->r);
	flushimage(display, 1);
	


@@ 400,7 399,7 @@ threadmain(int argc, char **argv)
				flushimage(display, 1);
			break;
		case RESIZE:
			dogetwindow();
			egetwindow();
			root->resize(root, screen->r);
			flushimage(display, 1);
			break;