소스 검색

set window background_pixel

master
Connor Lane Smith 12 년 전
부모
커밋
3f9b10c86a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      dmenu.c

+ 2
- 2
dmenu.c 파일 보기

@@ -575,12 +575,12 @@ setup(void) {

/* create menu window */
swa.override_redirect = True;
swa.background_pixmap = ParentRelative;
swa.background_pixel = normcol[ColBG];
swa.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask;
win = XCreateWindow(dc->dpy, root, x, y, mw, mh, 0,
DefaultDepth(dc->dpy, screen), CopyFromParent,
DefaultVisual(dc->dpy, screen),
CWOverrideRedirect | CWBackPixmap | CWEventMask, &swa);
CWOverrideRedirect | CWBackPixel | CWEventMask, &swa);

/* open input methods */
xim = XOpenIM(dc->dpy, NULL, NULL, NULL);


불러오는 중...
취소
저장