From 12a95bfdb31595ec53d72adef4e0fd6bf1ccf218 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 16 Nov 2002 14:30:18 +0000 Subject: add an OtkAppWidget which are "root windows", i.e. the managed child of root, to be shown on the display. Exit when all the "root windows" are hidden. Support the WM_DELETE protocol to hide a "root window". --- otk/eventhandler.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'otk/eventhandler.cc') diff --git a/otk/eventhandler.cc b/otk/eventhandler.cc index cab95e17..9d37bcff 100644 --- a/otk/eventhandler.cc +++ b/otk/eventhandler.cc @@ -13,7 +13,7 @@ OtkEventHandler::~OtkEventHandler() } -int OtkEventHandler::handle(const XEvent &e) +void OtkEventHandler::handle(const XEvent &e) { switch(e.type){ case KeyPress: @@ -79,7 +79,6 @@ int OtkEventHandler::handle(const XEvent &e) case SelectionRequest: return selectionRequestHandler(e.xselectionrequest); }; - return 0; } } -- cgit v1.2.3