浏览代码

window.c: include ButtonPress events in Input

Signed-off-by: Dave Reisner <d@falconindy.com>
master
Dave Reisner 14 年前
父节点
当前提交
13eb5ac929
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      window.c

+ 1
- 1
window.c 查看文件

@@ -64,7 +64,7 @@ void win_open(win_t *win) {
DIE("could not create window");
XSelectInput(e->dpy, win->xwin,
StructureNotifyMask | KeyPressMask);
StructureNotifyMask | KeyPressMask | ButtonPressMask);

gcval.foreground = bgcol.pixel;
win->bgc = XCreateGC(e->dpy, win->xwin, GCForeground, &gcval);


正在加载...
取消
保存