diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-16 14:30:18 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-16 14:30:18 +0000 |
| commit | 12a95bfdb31595ec53d72adef4e0fd6bf1ccf218 (patch) | |
| tree | 5a7fd6a4b2a56e6849ef0fe87b67b5dcc03807ab /otk/eventhandler.cc | |
| parent | 3bc1f37469a4933966f049cc57093fb564b721a3 (diff) | |
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".
Diffstat (limited to 'otk/eventhandler.cc')
| -rw-r--r-- | otk/eventhandler.cc | 3 |
1 files changed, 1 insertions, 2 deletions
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; } } |
