diff options
author | Elijah Newren <newren@gmail.com> | 2005-06-02 15:47:37 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2005-06-02 15:47:37 +0000 |
commit | 3fdf72128605a4b66a9c9757771363a7e53854f7 (patch) | |
tree | 7f43c04a0320e8af92188232138eea91f2ef2add | |
parent | 90dc2116ad179b4dcfcc715db66ca6df4067fc9a (diff) | |
download | metacity-3fdf72128605a4b66a9c9757771363a7e53854f7.tar.gz |
If a window requests to be raised and is denied, set the demands attention
2005-06-02 Elijah Newren <newren@gmail.com>
* src/window.c (meta_window_configure_request): If a window
requests to be raised and is denied, set the demands attention
hint. Fixes #305882.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/window.c | 5 |
2 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2005-06-02 Elijah Newren <newren@gmail.com> + * src/window.c (meta_window_configure_request): If a window + requests to be raised and is denied, set the demands attention + hint. Fixes #305882. + +2005-06-02 Elijah Newren <newren@gmail.com> + * src/window.c (meta_window_focus): if the window has a modal transient which is being unmanaged, don't focus it. Fixes the Metacity issue reported in #305362. diff --git a/src/window.c b/src/window.c index 385bc429..217fbecf 100644 --- a/src/window.c +++ b/src/window.c @@ -4082,6 +4082,11 @@ meta_window_configure_request (MetaWindow *window, window->net_wm_user_time, active_window->desc, active_window->net_wm_user_time); + if (event->xconfigurerequest.detail == Above) + { + window->wm_state_demands_attention = TRUE; + set_net_wm_state (window); + } } else { |