mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 21:34:09 +00:00
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.
This commit is contained in:
parent
90dc2116ad
commit
3fdf721286
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
2005-06-02 Elijah Newren <newren@gmail.com>
|
||||||
|
|
||||||
* src/window.c (meta_window_focus): if the window has a modal
|
* src/window.c (meta_window_focus): if the window has a modal
|
||||||
|
@ -4082,6 +4082,11 @@ meta_window_configure_request (MetaWindow *window,
|
|||||||
window->net_wm_user_time,
|
window->net_wm_user_time,
|
||||||
active_window->desc,
|
active_window->desc,
|
||||||
active_window->net_wm_user_time);
|
active_window->net_wm_user_time);
|
||||||
|
if (event->xconfigurerequest.detail == Above)
|
||||||
|
{
|
||||||
|
window->wm_state_demands_attention = TRUE;
|
||||||
|
set_net_wm_state (window);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user