Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhy20120210:failed_1
metacity
metacity-bnc502926-client-leader-same-applicati...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File metacity-bnc502926-client-leader-same-application.diff of Package metacity
Index: metacity-2.24.0/src/core/window.c =================================================================== --- metacity-2.24.0.orig/src/core/window.c +++ metacity-2.24.0/src/core/window.c @@ -7572,13 +7572,16 @@ gboolean meta_window_same_application (MetaWindow *window, MetaWindow *other_window) { - MetaGroup *group = meta_window_get_group (window); - MetaGroup *other_group = meta_window_get_group (other_window); + MetaGroup *group = meta_window_get_group (window); + MetaGroup *other_group = meta_window_get_group (other_window); + Window leader = window->xclient_leader; + Window other_leader = other_window->xclient_leader; return - group!=NULL && - other_group!=NULL && - group==other_group; + (group!=NULL && + group==other_group) || + (leader!=None && + leader==other_leader); } void
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor