mirror of
https://github.com/brl/mutter.git
synced 2025-07-24 02:18:02 +00:00
update comment also set expected focus window when setting input focus.
2002-08-08 Craig Black <blackc@speakeasy.net> * src/display.h: update comment * src/window.c: (meta_window_focus): also set expected focus window when setting input focus.
This commit is contained in:
@@ -2781,6 +2781,7 @@ meta_window_focus (MetaWindow *window,
|
||||
window->frame->xwindow,
|
||||
RevertToPointerRoot,
|
||||
CurrentTime);
|
||||
window->display->expected_focus_window = window;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -2796,6 +2797,7 @@ meta_window_focus (MetaWindow *window,
|
||||
window->xwindow,
|
||||
RevertToPointerRoot,
|
||||
timestamp);
|
||||
window->display->expected_focus_window = window;
|
||||
}
|
||||
|
||||
if (window->take_focus)
|
||||
|
Reference in New Issue
Block a user