mutter/src/core
Owen W. Taylor e8a29c1e82 Work around race condition focusing a window on a different workspace
When we focus a window on a different desktop, and the calc_showing
idle that hides/shows the windows gets run before we get focus events
back from X, we think that we are hiding the window with the focus
so we focus a "random" window to avoid leaving the user with no focus.

Work around this temporarily by checking display->expected_focus_window;
this isn't a perfect fix because there are cases where
display->expected_focus_window corresponds to a window we tried to
focus in the past but failed, but it makes things work fairly well.

https://bugzilla.gnome.org/show_bug.cgi?id=597352
2009-10-07 17:28:04 -04:00
..
async-getprop.c gnome-doc-tools version doesn't need to be so high. disable the entire 2008-12-01 22:54:57 +00: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
bell.c Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
bell.h Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
boxes.c Refer to monitors as "monitors" rather than "xineramas" 2009-08-31 14:39:48 -04:00
constraints.c Refer to monitors as "monitors" rather than "xineramas" 2009-08-31 14:39:48 -04:00
constraints.h Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
core.c meta_display_list_windows: Exclude override-redirect 2009-06-29 22:51:32 -04:00
delete.c meta_display_list_windows: Exclude override-redirect 2009-06-29 22:51:32 -04:00
display-private.h Add meta_window_get_stable_sequence 2009-09-22 12:43:35 -04:00
display.c Export a _GNOME_WM_KEYBINDINGS property 2009-09-04 18:25:39 -04:00
edge-resistance.c Refer to monitors as "monitors" rather than "xineramas" 2009-08-31 14:39:48 -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 Remove meta_errors_register_foreign_display() 2009-08-13 07:38:08 -04:00
eventqueue.c Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
eventqueue.h Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
frame-private.h Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
frame.c There can be only one compositor engine 2009-06-30 09:34:03 -04:00
group-private.h Comprehensively rename to Mutter 2009-06-16 14:17:10 -04: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 Exposed MetaGroup API. 2009-01-15 15:37:48 +00:00
group.c Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
iconcache.c Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
iconcache.h Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
keybindings-private.h Enforce a policy of single-handling of key events 2009-08-26 12:26:58 -04:00
keybindings.c Remove MetaAltTabHandler 2009-10-02 15:47:49 -04:00
main.c Avoid accessing freed memory when being replaced 2009-08-24 14:29:16 -04:00
mutter-Xatomtype.h Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
place.c Refer to monitors as "monitors" rather than "xineramas" 2009-08-31 14:39:48 -04:00
place.h Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
prefs.c Remove wireframe mode and old effects framework 2009-06-30 09:35:12 -04:00
screen-private.h [MutterScreen] Added workareas-changed signal 2009-10-07 12:07:00 +01:00
screen.c [MutterScreen] Added workareas-changed signal 2009-10-07 12:07:00 +01:00
session.c meta_display_list_windows: Exclude override-redirect 2009-06-29 22:51:32 -04:00
session.h Adding doxygen headers to some files. 2008-08-18 10:25:17 +00:00
stack-tracker.c Use "later functions" to fix priority problems with Clutter redraw 2009-10-02 15:50:16 -04:00
stack-tracker.h Move compositor-stack handling to MetaStackTracker 2009-06-29 23:05:11 -04:00
stack.c Refer to monitors as "monitors" rather than "xineramas" 2009-08-31 14:39:48 -04:00
stack.h Add a MetaScreen:restacked signal and expose MetaWindow.layer 2009-03-12 17:07:27 -04:00
testasyncgetprop.c Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
testboxes.c Refer to monitors as "monitors" rather than "xineramas" 2009-08-31 14:39:48 -04:00
util.c Create the dummy timeline for repaint laters with an "infinite" duration. 2009-10-02 16:12:11 -04:00
window-private.h Add meta_window_get_stable_sequence 2009-09-22 12:43:35 -04:00
window-props.c [MetaWindow]: Always notify on title property change 2009-08-21 12:38:30 -04:00
window-props.h Don't read most properties for override-redirect windows 2009-06-29 22:32:19 -04:00
window.c Work around race condition focusing a window on a different workspace 2009-10-07 17:28:04 -04:00
workspace-private.h Refer to monitors as "monitors" rather than "xineramas" 2009-08-31 14:39:48 -04:00
workspace.c Refer to monitors as "monitors" rather than "xineramas" 2009-08-31 14:39:48 -04:00
xprops.c Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00