CVSROOT:        /cvs/gnome
Module name:    metacity
Changes by:     newren  06/01/15 12:03:57

Modified files:
        .              : ChangeLog 
        src            : display.c display.h keybindings.c window.c 

Log message:
2006-01-15  Elijah Newren  <[EMAIL PROTECTED]>

Fix accidental overzealous focus holding by the terminal
introduced by the original patch in bug 326159.  Windows launched
from panel icons, the panel menu, or global keybindings should get
focus now.  #326159.

* src/display.c (meta_display_open, event_callback):
* src/display.h (struct MetaDisplay):
* src/keybindings.c (process_event):
* src/window.c (meta_window_set_user_time):
Add a new allow_terminal_deactivation field to MetaDisplay and use
it to track whether the user's last action was interaction with
the terminal or some outside action (global keybinding, clicking
on a dock, etc.) likely to launch a new window.

* src/window.c (window_state_on_map):
Allow the focus switch from a terminal to something else if
allow_terminal_deactiviation is true.

* src/keybindings.c (handle_panel_keybinding):
Remove some unneeded code.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=metacity&who=newren&date=explicit&mindate=2006-01-15%2012:02&maxdate=2006-01-15%2012:04

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to