소스 검색

replaced XSetBorder.../focus()

Anselm R. Garbe 19 년 전
부모
커밋
ddc79603f9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      event.c

+ 1 - 1
event.c

@@ -236,7 +236,7 @@ enternotify(XEvent *e) {
 		issel = True;
 		XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
 		if(sel)
-			XSetWindowBorder(dpy, sel->win, dc.sel[ColBorder]);
+			focus(sel);
 	}
 }