summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/events.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bf009d9..047c23f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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,