diff options
author | sabetts <sabetts> | 2004-04-18 21:58:40 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2004-04-18 21:58:40 +0000 |
commit | 4820c589b6368e6709c1f6bc41b5d6749d455d19 (patch) | |
tree | 797c9607ad484880082f8671063495ef93b9fef3 | |
parent | c9635a8c9e89c3900a210175f0d3f3cb3723931b (diff) | |
download | ratpoison-4820c589b6368e6709c1f6bc41b5d6749d455d19.zip |
* src/events.c (configure_request): only display a raise request
if the window isn't already focused.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/events.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2004-04-18 Shawn Betts <sabetts@vcn.bc.ca> + * src/events.c (configure_request): only display a raise request + if the window isn't already focused. + * src/manage.h (ungrab_keys_all_wins): new prototype (grab_keys_all_wins): likewise diff --git a/src/events.c b/src/events.c index d4520ca..1ecd4a2 100644 --- a/src/events.c +++ b/src/events.c @@ -244,7 +244,7 @@ configure_request (XConfigureRequestEvent *e) else if (find_windows_frame (win)) goto_window (win); } - else + else if (current_window() != win) { if (win->transient) marked_message_printf (0, 0, MESSAGE_RAISE_TRANSIENT, |