diff options
author | Elijah Newren <newren@gmail.com> | 2004-12-20 02:46:42 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2004-12-20 02:46:42 +0000 |
commit | d8d77bd65b03e87e7aba04c1e298568ee7a021b3 (patch) | |
tree | 965fc754aa4c0b81729706b10f833c806506995e /src/keybindings.c | |
parent | c3a607f999844574a3850ea0ea3d8fd77f7215e1 (diff) | |
download | metacity-d8d77bd65b03e87e7aba04c1e298568ee7a021b3.tar.gz |
Focus the desktop when showing it. Fixes #159257.
2004-12-19 Elijah Newren <newren@gmail.com>
Focus the desktop when showing it. Fixes #159257.
* src/display.c (event_callback): obtain a timestamp to pass to
meta_screen_show_desktop
* src/keybindings.c (handle_toggle_desktop): obtain a timestamp to
pass to meta_screen_show_desktop
* src/screen.c (meta_screen_show_desktop): add a timestamp
parameter, get the most recently used window of type DESKTOP (if
there is one) and focus it
* src/screen.h (meta_screen_show_desktop): add a timestamp
parameter
Diffstat (limited to 'src/keybindings.c')
-rw-r--r-- | src/keybindings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keybindings.c b/src/keybindings.c index 3adb85f0..27e82ce0 100644 --- a/src/keybindings.c +++ b/src/keybindings.c @@ -2837,7 +2837,7 @@ handle_toggle_desktop (MetaDisplay *display, event->xkey.time); } else - meta_screen_show_desktop (screen); + meta_screen_show_desktop (screen, event->xkey.time); } static void |