fixed focus new bug
This commit is contained in:
parent
4e9eac4824
commit
c7c9ec5f4d
1 changed files with 7 additions and 4 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// 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"
|
#include "fluxbox.hh"
|
||||||
|
|
||||||
|
@ -682,9 +682,12 @@ void Fluxbox::handleEvent(XEvent * const e) {
|
||||||
win->mapRequestEvent(e->xmaprequest);
|
win->mapRequestEvent(e->xmaprequest);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MapNotify:
|
case MapNotify: {
|
||||||
// handled directly in FluxboxWindow::handleEvent
|
// handled directly in FluxboxWindow::handleEvent
|
||||||
break;
|
FluxboxWindow *win = searchWindow(e->xmap.window);
|
||||||
|
if (win)
|
||||||
|
win->mapNotifyEvent(e->xmap);
|
||||||
|
} break;
|
||||||
case UnmapNotify:
|
case UnmapNotify:
|
||||||
handleUnmapNotify(e->xunmap);
|
handleUnmapNotify(e->xunmap);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue