updated m_last_time, this fixes the mozilla focus issue
fluxgen fluxgen
1 files changed,
4 insertions(+),
2 deletions(-)
jump to
M
src/fluxbox.cc
→
src/fluxbox.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.212 2003/12/21 15:24:28 rathnor Exp $ +// $Id: fluxbox.cc,v 1.213 2003/12/21 16:23:59 fluxgen Exp $ #include "fluxbox.hh"@@ -873,6 +873,7 @@
} break; case MotionNotify: + m_last_time = e->xmotion.time; break; case PropertyNotify: { m_last_time = e->xproperty.time;@@ -945,7 +946,7 @@ #ifdef DEBUG
cerr<<__FILE__<<"("<<__FUNCTION__<<") Focus out is not a FluxboxWindow !!"<<endl; #endif // DEBUG } else if (winclient && winclient == m_focused_window) - setFocusedWindow(0); + setFocusedWindow(0); } break; case ClientMessage:@@ -1064,6 +1065,7 @@ }
} break; case ButtonRelease: + m_last_time = be.time; break; default: break;