summaryrefslogtreecommitdiff
path: root/src/actions.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-04 08:30:32 +0000
committerDana Jansens <danakj@orodu.net>2002-12-04 08:30:32 +0000
commit73f7a0bd69607663050f02acf121f40a739d9619 (patch)
treef706096249fb715d092f93701f62570b8367ef8e /src/actions.hh
parent559a0c67a7b26dd3cc88208db83fb4df6a031484 (diff)
enter/leave actions work!
Diffstat (limited to 'src/actions.hh')
-rw-r--r--src/actions.hh19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/actions.hh b/src/actions.hh
index 35e8e313..09e76c4e 100644
--- a/src/actions.hh
+++ b/src/actions.hh
@@ -35,8 +35,6 @@ private:
MouseButtonAction _release;
//! The mouse button currently being watched from a press for a CLICK
unsigned int _button;
- //! The window the last enter action occured on (where the mouse is located)
- Window _enter_win;
void insertPress(Window win, unsigned int button, Time time);
@@ -47,21 +45,8 @@ public:
virtual void buttonPressHandler(const XButtonEvent &e);
virtual void buttonReleaseHandler(const XButtonEvent &e);
-
-
-
- //! Notify that a mouse enter action has occured on a window.
- /*!
- @param win The window on which the action was performed.
- @param modifiers The modifier state for the action.
- */
- void enter(Window win, unsigned int modifiers);
-
- //! Notify that a mouse leave action has occured on a window.
- /*!
- @param modifiers The modifier state for the action.
- */
- void leave(unsigned int modifiers);
+ virtual void enterHandler(const XCrossingEvent &e);
+ virtual void leaveHandler(const XCrossingEvent &e);
//! Notify that a mouse drag is taking place.
/*!