libwnck r1328 - in trunk: . libwnck
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: libwnck r1328 - in trunk: . libwnck
- Date: Mon, 18 Jun 2007 20:40:05 +0100 (BST)
Author: vuntz
Date: 2007-06-18 20:40:05 +0100 (Mon, 18 Jun 2007)
New Revision: 1328
ViewCVS link: http://svn.gnome.org/viewcvs/libwnck?rev=1328&view=rev
Modified:
trunk/ChangeLog
trunk/libwnck/screen.c
Log:
2007-06-18 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]