diff options
author | Elijah Newren <newren@math.utah.edu> | 2004-08-16 03:15:30 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2004-08-16 03:15:30 +0000 |
commit | f17cffaee0b723041bb1d2872b8be6061c913dff (patch) | |
tree | 3509c27e0dd6eb3f1efe555479814eb51915c96f /libwnck/window.h | |
parent | 27f9f56cfdedcb339252d448a42e074ce878e208 (diff) | |
download | libwnck-f17cffaee0b723041bb1d2872b8be6061c913dff.tar.gz |
Fix window activation vs. minimization for mouse focus. (fixes #136581)
2004-08-15 Elijah Newren <newren@math.utah.edu>
Fix window activation vs. minimization for mouse focus. (fixes
#136581)
* libwnck/screen.c (struct _WnckScreenPrivate): add a
previously_active_window field,
(wnck_screen_get_previously_active_window): new function,
(update_client_list): update the previously_active_window as well,
(update_active_window): also updates the previously_active_window
now.
* libwnck/screen.h Added wnck_screen_get_previously_active_window
* libwnck/tasklist.c (wnck_task_button_press_event): minimize when
the tasklist button is pressed if the window is the most recently
activated (instead of if the window is currently active).
* libwnck/window.[ch] (wnck_window_is_most_recently_activated):
new function
Diffstat (limited to 'libwnck/window.h')
-rw-r--r-- | libwnck/window.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libwnck/window.h b/libwnck/window.h index de4c5a6..6bbddaf 100644 --- a/libwnck/window.h +++ b/libwnck/window.h @@ -189,6 +189,7 @@ void wnck_window_unpin (WnckWindow *window); void wnck_window_activate (WnckWindow *window); gboolean wnck_window_is_active (WnckWindow *window); +gboolean wnck_window_is_most_recently_activated (WnckWindow *window); void wnck_window_activate_transient (WnckWindow *window); |