cosmetic, tabs to spaces
This commit is contained in:
parent
1081940af3
commit
e51cc63ccb
1 changed files with 10 additions and 10 deletions
|
@ -19,7 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: EventManager.cc,v 1.13 2004/06/07 11:46:05 rathnor Exp $
|
// $Id: EventManager.cc,v 1.14 2004/09/10 07:15:23 akir Exp $
|
||||||
|
|
||||||
#include "EventManager.hh"
|
#include "EventManager.hh"
|
||||||
#include "FbWindow.hh"
|
#include "FbWindow.hh"
|
||||||
|
@ -152,31 +152,31 @@ void EventManager::dispatch(Window win, XEvent &ev, bool parent) {
|
||||||
switch (ev.type) {
|
switch (ev.type) {
|
||||||
case KeyPress:
|
case KeyPress:
|
||||||
evhand->keyPressEvent(ev.xkey);
|
evhand->keyPressEvent(ev.xkey);
|
||||||
break;
|
break;
|
||||||
case KeyRelease:
|
case KeyRelease:
|
||||||
evhand->keyReleaseEvent(ev.xkey);
|
evhand->keyReleaseEvent(ev.xkey);
|
||||||
break;
|
break;
|
||||||
case ButtonPress:
|
case ButtonPress:
|
||||||
evhand->buttonPressEvent(ev.xbutton);
|
evhand->buttonPressEvent(ev.xbutton);
|
||||||
break;
|
break;
|
||||||
case ButtonRelease:
|
case ButtonRelease:
|
||||||
evhand->buttonReleaseEvent(ev.xbutton);
|
evhand->buttonReleaseEvent(ev.xbutton);
|
||||||
break;
|
break;
|
||||||
case MotionNotify:
|
case MotionNotify:
|
||||||
evhand->motionNotifyEvent(ev.xmotion);
|
evhand->motionNotifyEvent(ev.xmotion);
|
||||||
break;
|
break;
|
||||||
case Expose:
|
case Expose:
|
||||||
evhand->exposeEvent(ev.xexpose);
|
evhand->exposeEvent(ev.xexpose);
|
||||||
break;
|
break;
|
||||||
case EnterNotify:
|
case EnterNotify:
|
||||||
evhand->enterNotifyEvent(ev.xcrossing);
|
evhand->enterNotifyEvent(ev.xcrossing);
|
||||||
break;
|
break;
|
||||||
case LeaveNotify:
|
case LeaveNotify:
|
||||||
evhand->leaveNotifyEvent(ev.xcrossing);
|
evhand->leaveNotifyEvent(ev.xcrossing);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
evhand->handleEvent(ev);
|
evhand->handleEvent(ev);
|
||||||
break;
|
break;
|
||||||
};
|
};
|
||||||
|
|
||||||
// find out which window is the parent and
|
// find out which window is the parent and
|
||||||
|
|
Loading…
Reference in a new issue