1
0
Fork 0
mutter-performance-source/src/core
Dan Winship 7a4c808e43 display: clean up focus_window vs expected_focus_window
Mutter previously defined display->focus_window as the window that the
server says is focused, but kept display->expected_focus_window to
indicate the window that we have requested to be focused. But it turns
out that "expected_focus_window" was almost always what we wanted.

Make MetaDisplay do a better job of tracking focus-related requests
and events, and change display->focus_window to be our best guess of
the "currently" focused window (ie, the window that will be focused at
the time when the server processes the next request we send it).

https://bugzilla.gnome.org/show_bug.cgi?id=647706
2013-05-22 13:46:15 -04:00
..
above-tab-keycode.c Fix crash in meta_display_get_above_tab_keycode 2011-05-25 14:20:06 -04:00
async-getprop.c Revert "Remove a bunch of dead code" 2012-04-24 18:02:33 -04:00
async-getprop.h gnome-doc-tools version doesn't need to be so high. disable the entire 2008-12-01 22:54:57 +00:00
barrier.c barrier: Fix memory leak 2013-04-29 14:58:28 +02:00
bell.c Fix gobs of gtk-doc warnings 2013-03-14 18:02:43 -04:00
bell.h Fix gobs of gtk-doc warnings 2013-03-14 18:02:43 -04:00
boxes-private.h Move the installed includes to a subdir 2011-03-07 18:19:53 -05:00
boxes.c Add a meaningful name and description to all sections/files in the API docs 2013-03-14 18:11:04 -04:00
constraints.c Initialize window->user_rect in the initial placement 2012-11-30 13:29:26 +00:00
constraints.h Replace public MetaFrameGeometry with MetaFrameBorders 2011-08-09 17:14:50 -04:00
core.c core: Add a helper function to grab the old event mask of a window 2013-02-07 17:53:53 -05:00
core.h core: Add a helper function to grab the old event mask of a window 2013-02-07 17:53:53 -05:00
delete.c MetaWindow: add a public method for checking if the application is responding 2012-12-25 18:39:09 +01:00
display-private.h display: clean up focus_window vs expected_focus_window 2013-05-22 13:46:15 -04:00
display.c display: clean up focus_window vs expected_focus_window 2013-05-22 13:46:15 -04:00
edge-resistance.c introspection: remove --allow-unprefixed 2010-10-23 15:58:16 -04:00
edge-resistance.h src/include/frame.h src/include/display.h src/include/xprops.h 2008-05-19 00:00:09 +00:00
errors.c Add a meaningful name and description to all sections/files in the API docs 2013-03-14 18:11:04 -04:00
frame.c Let the UI layer (via the core) construct the frame mask 2013-04-17 13:35:06 +01:00
frame.h Let the UI layer (via the core) construct the frame mask 2013-04-17 13:35:06 +01:00
group-private.h Move the installed includes to a subdir 2011-03-07 18:19:53 -05:00
group-props.c Added curly brackets in two places to keep -pedantic happy. 2008-05-04 17:57:11 +00:00
group-props.h Move the installed includes to a subdir 2011-03-07 18:19:53 -05:00
group.c Add a meaningful name and description to all sections/files in the API docs 2013-03-14 18:11:04 -04:00
iconcache.c iconcache: don't crash on a non-alpha mask pixmap 2011-03-21 18:51:14 -04:00
iconcache.h Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
keybindings-private.h Port mutter to use XInput2 events instead of Core Events 2012-12-13 14:56:25 -05:00
keybindings.c keybindings: Fix ungrabbing of keys 2013-04-10 10:49:24 +02:00
main.c Add a meaningful name and description to all sections/files in the API docs 2013-03-14 18:11:04 -04:00
mutter-Xatomtype.h Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
mutter.c core: make session registration an explicit step 2013-03-01 11:30:07 -05:00
place.c Use meta_window_located_on_workspace() in more places 2013-01-18 15:45:05 -05:00
place.h Replace public MetaFrameGeometry with MetaFrameBorders 2011-08-09 17:14:50 -04:00
prefs.c prefs: Add support for string-array preferences 2013-05-13 22:15:13 +02:00
screen-private.h MetaScreen: Add tracking of whether there are fullscreen windows 2013-03-18 13:05:22 -04:00
screen.c screen: Fix a copy/paste error from the fullscreen tracking 2013-03-18 16:29:25 -04:00
session.c util: Use a sad face in the force-quit dialog 2012-09-19 15:09:42 +02:00
session.h Adding doxygen headers to some files. 2008-08-18 10:25:17 +00:00
stack-tracker.c MetaScreen: Add tracking of whether there are fullscreen windows 2013-03-18 13:05:22 -04:00
stack-tracker.h Move the installed includes to a subdir 2011-03-07 18:19:53 -05:00
stack.c display: clean up focus_window vs expected_focus_window 2013-05-22 13:46:15 -04:00
stack.h Switch to gtk-doc syntax 2012-04-24 15:20:39 -04:00
testasyncgetprop.c Fix set but not used variables 2011-01-24 16:26:57 -05:00
testboxes.c Revert "Remove a bunch of dead code" 2012-04-24 18:02:33 -04:00
util.c MetaScreen: Add tracking of whether there are fullscreen windows 2013-03-18 13:05:22 -04:00
window-private.h display: clean up focus_window vs expected_focus_window 2013-05-22 13:46:15 -04:00
window-props.c Fix gobs of gtk-doc warnings 2013-03-14 18:02:43 -04:00
window-props.h Remove unused public window-property functions 2012-10-03 23:35:35 -04:00
window.c display: clean up focus_window vs expected_focus_window 2013-05-22 13:46:15 -04:00
workspace-private.h Make work_area calculation funcs public and introspectible 2013-02-06 00:03:47 -05:00
workspace.c Give a title to the MetaWorkspace page in the API docs 2013-03-18 23:08:24 +01:00
xprops.c Support properties with lists of XSyncCounter 2013-02-13 09:48:26 -05:00
xprops.h Support properties with lists of XSyncCounter 2013-02-13 09:48:26 -05:00