fixed : changed active task with wm_menu option

git-svn-id: http://tint2.googlecode.com/svn/trunk@228 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-10-23 22:20:42 +00:00
parent cb6ac44a9c
commit 2e8fddba60
3 changed files with 6 additions and 4 deletions

View File

@@ -303,10 +303,10 @@ void event_button_press (XEvent *e)
e->xbutton.window = server.root_win;
// icewm doesn't open under the mouse.
// and xfce doesn't open at all.
//e->xbutton.x = e->xbutton.x_root;
//e->xbutton.y = e->xbutton.y_root;
e->xbutton.x = e->xbutton.x_root;
e->xbutton.y = e->xbutton.y_root;
//printf("**** %d, %d\n", e->xbutton.x, e->xbutton.y);
XSetInputFocus(server.dsp, e->xbutton.window, RevertToParent, e->xbutton.time);
//XSetInputFocus(server.dsp, e->xbutton.window, RevertToParent, e->xbutton.time);
XSendEvent(server.dsp, e->xbutton.window, False, ButtonPressMask, e);
return;
}