summaryrefslogtreecommitdiff
path: root/src/blackbox.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-26 08:37:15 +0000
committerDana Jansens <danakj@orodu.net>2002-07-26 08:37:15 +0000
commit83b6c9bfa0ccc8088e4c65e5a2cf139933959565 (patch)
treef27f3a710d25eceb2027001f14c05fcd8936c1fe /src/blackbox.cc
parentcd6c4ebcb27b796b214296aefd78a41235dd8640 (diff)
sync with bb-cvs
Diffstat (limited to 'src/blackbox.cc')
-rw-r--r--src/blackbox.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/blackbox.cc b/src/blackbox.cc
index cdc7137a..66a62e55 100644
--- a/src/blackbox.cc
+++ b/src/blackbox.cc
@@ -282,16 +282,6 @@ void Blackbox::process_event(XEvent *e) {
}
case ConfigureRequest: {
- // compress configure requests...
- XEvent realevent;
- unsigned int i = 0;
- while(XCheckTypedWindowEvent(getXDisplay(), e->xconfigurerequest.window,
- ConfigureRequest, &realevent)) {
- i++;
- }
- if ( i > 0 )
- e = &realevent;
-
BlackboxWindow *win = (BlackboxWindow *) 0;
Slit *slit = (Slit *) 0;
@@ -496,7 +486,7 @@ void Blackbox::process_event(XEvent *e) {
if (win->getScreen()->isSloppyFocus() &&
(! win->isFocused()) && (! no_focus) &&
win->isNormal()) { // don't focus non-normal windows with mouseover
- if (((! sa.leave) || sa.inferior) && win->isVisible()) {
+ if ((! sa.leave || sa.inferior) && win->isVisible()) {
if (win->setInputFocus())
win->installColormap(True); // XXX: shouldnt we honour no install?
}