fixed focus new bug

This commit is contained in:
fluxgen 2003-04-27 00:36:28 +00:00
parent 4e9eac4824
commit c7c9ec5f4d

View file

@ -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.119 2003/04/26 05:42:36 rathnor Exp $
// $Id: fluxbox.cc,v 1.120 2003/04/27 00:36:28 fluxgen Exp $
#include "fluxbox.hh"
@ -682,9 +682,12 @@ void Fluxbox::handleEvent(XEvent * const e) {
win->mapRequestEvent(e->xmaprequest);
}
break;
case MapNotify:
case MapNotify: {
// handled directly in FluxboxWindow::handleEvent
break;
FluxboxWindow *win = searchWindow(e->xmap.window);
if (win)
win->mapNotifyEvent(e->xmap);
} break;
case UnmapNotify:
handleUnmapNotify(e->xunmap);
break;