Alter the meaning of expected_focus_window; doesn't affect current
2004-10-08 Elijah Newren <newren@math.utah.edu> Alter the meaning of expected_focus_window; doesn't affect current operation but assists in fixing some other bugs (#154598) * src/display.c (meta_display_focus_the_no_focus_window): set the expected_focus_window to NULL. * src/window.c (meta_window_notify_focus): don't NULL the expected_focus_window when that window receives a FocusIn event
This commit is contained in:
parent
714fb3d539
commit
79b4de04fc
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
|||||||
|
2004-10-08 Elijah Newren <newren@math.utah.edu>
|
||||||
|
|
||||||
|
Alter the meaning of expected_focus_window; doesn't affect
|
||||||
|
current operation but assists in fixing some other bugs
|
||||||
|
(#154598)
|
||||||
|
|
||||||
|
* src/display.c (meta_display_focus_the_no_focus_window): set the
|
||||||
|
expected_focus_window to NULL.
|
||||||
|
|
||||||
|
* src/window.c (meta_window_notify_focus): don't NULL the
|
||||||
|
expected_focus_window when that window receives a FocusIn event
|
||||||
|
|
||||||
2004-10-04 Elijah Newren <newren@math.utah.edu>
|
2004-10-04 Elijah Newren <newren@math.utah.edu>
|
||||||
|
|
||||||
* src/display.c (event_callback): if the root window gets focused,
|
* src/display.c (event_callback): if the root window gets focused,
|
||||||
|
@ -4593,6 +4593,7 @@ meta_display_focus_the_no_focus_window (MetaDisplay *display,
|
|||||||
display->no_focus_window,
|
display->no_focus_window,
|
||||||
RevertToPointerRoot,
|
RevertToPointerRoot,
|
||||||
timestamp);
|
timestamp);
|
||||||
|
display->expected_focus_window = NULL;
|
||||||
meta_display_remove_autoraise_callback (display);
|
meta_display_remove_autoraise_callback (display);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4303,9 +4303,6 @@ meta_window_notify_focus (MetaWindow *window,
|
|||||||
|
|
||||||
if (event->type == FocusIn)
|
if (event->type == FocusIn)
|
||||||
{
|
{
|
||||||
if (window->display->expected_focus_window == window)
|
|
||||||
window->display->expected_focus_window = NULL;
|
|
||||||
|
|
||||||
if (window != window->display->focus_window)
|
if (window != window->display->focus_window)
|
||||||
{
|
{
|
||||||
meta_topic (META_DEBUG_FOCUS,
|
meta_topic (META_DEBUG_FOCUS,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user