mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
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>
|
||||
|
||||
* 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,
|
||||
RevertToPointerRoot,
|
||||
timestamp);
|
||||
display->expected_focus_window = NULL;
|
||||
meta_display_remove_autoraise_callback (display);
|
||||
}
|
||||
|
||||
|
@ -4303,9 +4303,6 @@ meta_window_notify_focus (MetaWindow *window,
|
||||
|
||||
if (event->type == FocusIn)
|
||||
{
|
||||
if (window->display->expected_focus_window == window)
|
||||
window->display->expected_focus_window = NULL;
|
||||
|
||||
if (window != window->display->focus_window)
|
||||
{
|
||||
meta_topic (META_DEBUG_FOCUS,
|
||||
|
Loading…
Reference in New Issue
Block a user