libwnck r1386 - in branches/gnome-2-18: . libwnck
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: libwnck r1386 - in branches/gnome-2-18: . libwnck
- Date: Mon, 2 Jul 2007 18:42:22 +0100 (BST)
Author: vuntz
Date: 2007-07-02 18:42:22 +0100 (Mon, 02 Jul 2007)
New Revision: 1386
ViewCVS link: http://svn.gnome.org/viewcvs/libwnck?rev=1386&view=rev
Modified:
branches/gnome-2-18/ChangeLog
branches/gnome-2-18/libwnck/screen.c
Log:
2007-07-02 Vincent Untz <vuntz gnome org>
Fix crash on multihead setups, when closing a window. The active
window and previously active window are generally the same for all
screens (since there's only one focus), and they could be invalid for
one screen in some cases.
Fix bug #447387
* libwnck/screen.c: (wnck_screen_finalize): remove weak pointers
(set_active_window): new, remove the weak pointer on the old active
window and set a new weak pointer to the new active window so that our
variable is reset to NULL when the active window is destroyed
(set_previously_active_window): ditto for previously active window
(update_client_list): use new functions, and first check if the closed
window was previously active window (else, it could have been the
active window, and then previously active window, which was wrong)
(update_active_window): use new functions
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]