aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-12-21 16:23:59 (GMT)
committerfluxgen <fluxgen>2003-12-21 16:23:59 (GMT)
commit18898e08dc11423731de39a6b11b264222c2e492 (patch)
treeacaab7bc166c0afaf72a283296c4f844f9be67a9 /src
parenta1511455009fa8bdcea655f7d22776189ffc8a37 (diff)
downloadfluxbox-18898e08dc11423731de39a6b11b264222c2e492.zip
fluxbox-18898e08dc11423731de39a6b11b264222c2e492.tar.bz2
updated m_last_time, this fixes the mozilla focus issue
Diffstat (limited to 'src')
-rw-r--r--src/fluxbox.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 3330c8c..1e1ef36 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.cc,v 1.212 2003/12/21 15:24:28 rathnor Exp $ 25// $Id: fluxbox.cc,v 1.213 2003/12/21 16:23:59 fluxgen Exp $
26 26
27#include "fluxbox.hh" 27#include "fluxbox.hh"
28 28
@@ -873,6 +873,7 @@ void Fluxbox::handleEvent(XEvent * const e) {
873 } 873 }
874 break; 874 break;
875 case MotionNotify: 875 case MotionNotify:
876 m_last_time = e->xmotion.time;
876 break; 877 break;
877 case PropertyNotify: { 878 case PropertyNotify: {
878 m_last_time = e->xproperty.time; 879 m_last_time = e->xproperty.time;
@@ -945,7 +946,7 @@ void Fluxbox::handleEvent(XEvent * const e) {
945 cerr<<__FILE__<<"("<<__FUNCTION__<<") Focus out is not a FluxboxWindow !!"<<endl; 946 cerr<<__FILE__<<"("<<__FUNCTION__<<") Focus out is not a FluxboxWindow !!"<<endl;
946#endif // DEBUG 947#endif // DEBUG
947 } else if (winclient && winclient == m_focused_window) 948 } else if (winclient && winclient == m_focused_window)
948 setFocusedWindow(0); 949 setFocusedWindow(0);
949 } 950 }
950 break; 951 break;
951 case ClientMessage: 952 case ClientMessage:
@@ -1064,6 +1065,7 @@ void Fluxbox::handleButtonEvent(XButtonEvent &be) {
1064 1065
1065 } break; 1066 } break;
1066 case ButtonRelease: 1067 case ButtonRelease:
1068 m_last_time = be.time;
1067 break; 1069 break;
1068 default: 1070 default:
1069 break; 1071 break;