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:
Elijah Newren 2005-06-02 15:47:37 +00:00 committed by Elijah Newren
parent 90dc2116ad
commit 3fdf721286
2 changed files with 11 additions and 0 deletions

View File

@ -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>
* src/window.c (meta_window_focus): if the window has a modal

View File

@ -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
{