From bf7fc0d8fe1a38a6c9055e0fedfc445d81af0f94 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 15 Apr 2003 19:04:18 +0000 Subject: removed already handled events --- src/fluxbox.cc | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index b9fa1aa..d6b7784 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.110 2003/04/15 13:58:57 rathnor Exp $ +// $Id: fluxbox.cc,v 1.111 2003/04/15 19:04:18 fluxgen Exp $ #include "fluxbox.hh" @@ -643,8 +643,7 @@ void Fluxbox::handleEvent(XEvent * const e) { FluxboxWindow *win = (FluxboxWindow *) 0; if ((win = searchWindow(e->xconfigurerequest.window))) { - win->configureRequestEvent(e->xconfigurerequest); - + // already handled in FluxboxWindow::handleEvent } else { grab(); @@ -659,7 +658,8 @@ void Fluxbox::handleEvent(XEvent * const e) { xwc.sibling = e->xconfigurerequest.above; xwc.stack_mode = e->xconfigurerequest.detail; - XConfigureWindow(getXDisplay(), e->xconfigurerequest.window, + XConfigureWindow(FbTk::App::instance()->display(), + e->xconfigurerequest.window, e->xconfigurerequest.value_mask, &xwc); } @@ -684,9 +684,7 @@ void Fluxbox::handleEvent(XEvent * const e) { else cerr<<"Fluxbox Warning! Could not find screen to map window on!"<xmaprequest.window))) - win->mapRequestEvent(e->xmaprequest); + // handled in FluxboxWindow::handleEvent } break; @@ -1033,14 +1031,12 @@ void Fluxbox::handleKeyEvent(XKeyEvent &ke) { case KeyPress: { BScreen *screen = searchScreen(ke.window); - - if (screen == 0) break; #ifdef DEBUG - cerr<<"KeyEvent"<getAction(&ke); -- cgit v0.11.2