mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
Fix a crash that occurred when changing the screen resolution.
GNOME Bugzilla: http://bugzilla.gnome.org/show_bug.cgi?id=340847
This commit is contained in:
parent
aa6975c85b
commit
98e2e20855
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161509
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= metacity
|
||||
PORTVERSION= 2.14.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-wm
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
||||
|
44
x11-wm/metacity/files/patch-src_screen.c
Normal file
44
x11-wm/metacity/files/patch-src_screen.c
Normal file
@ -0,0 +1,44 @@
|
||||
--- src/screen.c.orig Sat May 6 19:21:53 2006
|
||||
+++ src/screen.c Sat May 6 19:22:13 2006
|
||||
@@ -187,6 +187,20 @@
|
||||
{
|
||||
MetaDisplay *display;
|
||||
|
||||
+ {
|
||||
+ GList *tmp;
|
||||
+
|
||||
+ tmp = screen->workspaces;
|
||||
+ while (tmp != NULL)
|
||||
+ {
|
||||
+ MetaWorkspace *space = tmp->data;
|
||||
+
|
||||
+ meta_workspace_invalidate_work_area (space);
|
||||
+
|
||||
+ tmp = tmp->next;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
display = screen->display;
|
||||
|
||||
if (screen->xinerama_infos)
|
||||
@@ -348,20 +362,6 @@
|
||||
|
||||
g_assert (screen->n_xinerama_infos > 0);
|
||||
g_assert (screen->xinerama_infos != NULL);
|
||||
-
|
||||
- {
|
||||
- GList *tmp;
|
||||
-
|
||||
- tmp = screen->workspaces;
|
||||
- while (tmp != NULL)
|
||||
- {
|
||||
- MetaWorkspace *space = tmp->data;
|
||||
-
|
||||
- meta_workspace_invalidate_work_area (space);
|
||||
-
|
||||
- tmp = tmp->next;
|
||||
- }
|
||||
- }
|
||||
}
|
||||
|
||||
MetaScreen*
|
Loading…
Reference in New Issue
Block a user