Procházet zdrojové kódy

window.c: include ButtonPress events in Input

Signed-off-by: Dave Reisner <d@falconindy.com>
master
Dave Reisner před 14 roky
rodič
revize
13eb5ac929
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      window.c

+ 1
- 1
window.c Zobrazit soubor

@@ -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);


Načítá se…
Zrušit
Uložit