diff options
author | sabetts <sabetts> | 2001-08-26 22:10:34 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-08-26 22:10:34 +0000 |
commit | 811f8aeb91e0b501930359593ff6d3d3401bde3a (patch) | |
tree | de29ff376c803bc2d5a8417b8001450db7c9022b /src/events.c | |
parent | c2a6c97837fc2346868f74feb0f16563588937b9 (diff) | |
download | ratpoison-811f8aeb91e0b501930359593ff6d3d3401bde3a.zip |
raise request bug fix
Diffstat (limited to 'src/events.c')
-rw-r--r-- | src/events.c | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/src/events.c b/src/events.c index e887022..2759ae8 100644 --- a/src/events.c +++ b/src/events.c @@ -281,24 +281,28 @@ configure_request (XConfigureRequestEvent *e) { /* Depending on the rudeness level, actually map the window. */ - if ((rp_honour_transient_raise && win->transient) - || (rp_honour_normal_raise && !win->transient)) + if (win->state == IconicState) { - if (win->state == IconicState) - set_active_window (win); + if ((rp_honour_transient_raise && win->transient) + || (rp_honour_normal_raise && !win->transient)) + { + set_active_window (win); + } + else + { + if (win->transient) + marked_message_printf (0, 0, "Raise request from transient window %d (%s)", + win->number, win->name); + else + marked_message_printf (0, 0, "Raise request from window %d (%s)", + win->number, win->name); + } } else { - if (win->transient) - marked_message_printf (0, 0, "Raise request from transient window %d (%s)", - win->number, win->name); - else - marked_message_printf (0, 0, "Raise request from window %d (%s)", - win->number, win->name); + if (find_windows_frame (win)) + goto_window (win); } - - if (find_windows_frame (win)) - goto_window (win); } PRINT_DEBUG("request CWStackMode %d\n", e->detail); |