diff options
author | fluxgen <fluxgen> | 2003-04-27 00:36:28 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-04-27 00:36:28 (GMT) |
commit | c7c9ec5f4d962a631e5c97a5c7efd6799ebac204 (patch) | |
tree | cba9f68b30ea3568ea2cb09d3adee4d3e37a473e /src | |
parent | 4e9eac4824ba042f0a192b51758ce68293c16582 (diff) | |
download | fluxbox-c7c9ec5f4d962a631e5c97a5c7efd6799ebac204.zip fluxbox-c7c9ec5f4d962a631e5c97a5c7efd6799ebac204.tar.bz2 |
fixed focus new bug
Diffstat (limited to 'src')
-rw-r--r-- | src/fluxbox.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 5512af3..8681e48 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.cc,v 1.119 2003/04/26 05:42:36 rathnor Exp $ | 25 | // $Id: fluxbox.cc,v 1.120 2003/04/27 00:36:28 fluxgen Exp $ |
26 | 26 | ||
27 | #include "fluxbox.hh" | 27 | #include "fluxbox.hh" |
28 | 28 | ||
@@ -682,9 +682,12 @@ void Fluxbox::handleEvent(XEvent * const e) { | |||
682 | win->mapRequestEvent(e->xmaprequest); | 682 | win->mapRequestEvent(e->xmaprequest); |
683 | } | 683 | } |
684 | break; | 684 | break; |
685 | case MapNotify: | 685 | case MapNotify: { |
686 | // handled directly in FluxboxWindow::handleEvent | 686 | // handled directly in FluxboxWindow::handleEvent |
687 | break; | 687 | FluxboxWindow *win = searchWindow(e->xmap.window); |
688 | if (win) | ||
689 | win->mapNotifyEvent(e->xmap); | ||
690 | } break; | ||
688 | case UnmapNotify: | 691 | case UnmapNotify: |
689 | handleUnmapNotify(e->xunmap); | 692 | handleUnmapNotify(e->xunmap); |
690 | break; | 693 | break; |