Event buttonpress: Fix bug #9 opened by Cheaterman.

This commit is contained in:
Martin Duquesnoy
2009-03-28 19:17:46 +01:00
parent 0faf031150
commit a3f144f642
4 changed files with 22 additions and 8 deletions

View File

@@ -136,10 +136,11 @@ init_root(void)
XSetWindowAttributes at;
at.event_mask = KeyMask | ButtonMask | MouseMask
| SubstructureRedirectMask | SubstructureNotifyMask |StructureNotifyMask;
| SubstructureRedirectMask | SubstructureNotifyMask | StructureNotifyMask;
at.cursor = cursor[CurNormal];
XChangeWindowAttributes(dpy, ROOT, CWEventMask | CWCursor, &at);
if(conf.root.background_command)
uicb_spawn(conf.root.background_command);