1
0
forked from ports/opt
opt/wmii/wmii-2.patch
2005-11-16 17:40:34 +00:00

39 lines
1.4 KiB
Diff

*** wmii-2/base/page.c 2005-07-31 00:14:00.000000000 +0200
--- wmii-2/base/page.c 2005-09-10 18:46:16.000000000 +0200
***************
*** 287,295 ****
focus_frame(f, 1, 1, 1);
/* suppress all EnterNotifs */
XSelectInput(dpy, root, ROOT_MASK & ~StructureNotifyMask);
- XWarpPointer(dpy, None, f->win, 0, 0, 0, 0,
- atoi(f->files[F_BORDER_W]->content),
- atoi(f->files[F_BORDER_W]->content));
XSelectInput(dpy, root, ROOT_MASK);
if(old)
draw_frame(old);
--- 287,292 ----
***************
*** 460,468 ****
focus_frame(f, 1, 0, 1);
if(is_managed_frame(f) && p->layout)
p->layout->manage(f);
- XWarpPointer(dpy, None, f->win, 0, 0, 0, 0,
- atoi(f->files[F_BORDER_W]->content),
- atoi(f->files[F_BORDER_W]->content));
XSelectInput(dpy, root, ROOT_MASK);
if(old)
draw_frame(old);
--- 457,462 ----
***************
*** 504,512 ****
fr = get_selected(p);
if(fr) {
XSelectInput(dpy, root, ROOT_MASK & ~StructureNotifyMask);
- XWarpPointer(dpy, None, fr->win, 0, 0, 0, 0,
- atoi(fr->files[F_BORDER_W]->content),
- atoi(fr->files[F_BORDER_W]->content));
XSelectInput(dpy, root, ROOT_MASK);
draw_frame(fr);
}
--- 498,503 ----