diff options
author | Steve Zesch <[email protected]> | 2012-05-26 12:42:33 -0400 |
---|---|---|
committer | Steve Zesch <[email protected]> | 2012-05-26 12:42:33 -0400 |
commit | 07e8c1019b0e3b8fc49304bae6c074e282053925 (patch) | |
tree | 564934689d7401683be340a40ed99aa1a0c8cfc7 /src/core/screen.c | |
parent | ce3d3a4b6e0a93eea4d54ac4bc2907b7432e136b (diff) | |
download | marco-07e8c1019b0e3b8fc49304bae6c074e282053925.tar.bz2 marco-07e8c1019b0e3b8fc49304bae6c074e282053925.tar.xz |
Fixes https://github.com/mate-desktop/mate-window-manager/issues/4
Diffstat (limited to 'src/core/screen.c')
-rw-r--r-- | src/core/screen.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/screen.c b/src/core/screen.c index f9db9c71..9c3e2b1f 100644 --- a/src/core/screen.c +++ b/src/core/screen.c @@ -1280,7 +1280,13 @@ meta_screen_ensure_tab_popup (MetaScreen *screen, entries[i].key = (MetaTabEntryKey) window->xwindow; entries[i].title = window->title; - win_pixbuf = get_window_pixbuf (window, &width, &height); + /* Only get the pixbuf if the user does NOT have + /apps/marco/general/compositing_fast_alt_tab set to true + in mateconf. There is an obvious lag when the pixbuf is + retrieved. */ + if (!meta_prefs_get_compositing_fast_alt_tab()) + win_pixbuf = get_window_pixbuf (window, &width, &height); + if (win_pixbuf == NULL) entries[i].icon = g_object_ref (window->icon); else |