summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-04-18 21:58:40 +0000
committersabetts <sabetts>2004-04-18 21:58:40 +0000
commit4820c589b6368e6709c1f6bc41b5d6749d455d19 (patch)
tree797c9607ad484880082f8671063495ef93b9fef3
parentc9635a8c9e89c3900a210175f0d3f3cb3723931b (diff)
downloadratpoison-4820c589b6368e6709c1f6bc41b5d6749d455d19.zip
* src/events.c (configure_request): only display a raise request
if the window isn't already focused.
-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,