Skip to content

Commit

Permalink
reset previous......
Browse files Browse the repository at this point in the history
  • Loading branch information
beppe committed Apr 19, 2009
1 parent fa8af95 commit 372ead6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/antico.cpp
Expand Up @@ -432,7 +432,6 @@ bool Antico::x11EventFilter(XEvent *event)
{
qDebug() << "---> _net_wm_user_time";
frm->set_focus(CurrentTime);
set_active_frame(frm);
}
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/frame.cpp
Expand Up @@ -270,7 +270,7 @@ void Frame::set_state(int state)
void Frame::set_focus(long timestamp) // set to focus to child
{
XSetInputFocus(QX11Info::display(), c_win, RevertToNone, CurrentTime);

raise();
Atom wm_take_focus = XInternAtom(QX11Info::display(), "WM_TAKE_FOCUS", False);
if (prot_take_focus) // WM_TAKE_FOCUS protocol
send_wm_protocols(wm_take_focus, timestamp);
Expand Down

0 comments on commit 372ead6

Please sign in to comment.