diff options
author | Robert Noland <rnoland@FreeBSD.org> | 2008-10-01 20:32:04 +0800 |
---|---|---|
committer | Robert Noland <rnoland@FreeBSD.org> | 2008-10-01 20:32:04 +0800 |
commit | 0a49ecf9af5e7ab9cb4d5ffac3d140be844436c7 (patch) | |
tree | 500efe16f21e598d619d0eb6f8d2eaa871ee5bc8 /x11-wm/emerald/files/patch-src_main.c | |
parent | 36c7d8bb098b1a03f4cac0aae863c05b93c7a71f (diff) | |
download | freebsd-ports-gnome-0a49ecf9af5e7ab9cb4d5ffac3d140be844436c7.tar.gz freebsd-ports-gnome-0a49ecf9af5e7ab9cb4d5ffac3d140be844436c7.tar.zst freebsd-ports-gnome-0a49ecf9af5e7ab9cb4d5ffac3d140be844436c7.zip |
Update to 0.7.8
Approved by: garga (mentor), portmgr
Diffstat (limited to 'x11-wm/emerald/files/patch-src_main.c')
-rw-r--r-- | x11-wm/emerald/files/patch-src_main.c | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/x11-wm/emerald/files/patch-src_main.c b/x11-wm/emerald/files/patch-src_main.c deleted file mode 100644 index d8b6e5160b58..000000000000 --- a/x11-wm/emerald/files/patch-src_main.c +++ /dev/null @@ -1,48 +0,0 @@ ---- src/main.c.orig 2007-08-12 17:00:01.000000000 -0400 -+++ src/main.c 2007-10-29 15:27:28.000000000 -0400 -@@ -3477,11 +3477,11 @@ - WnckWindow *win; - decor_t *d; - -- win = wnck_screen_get_active_window(screen); -+ win = wnck_screen_get_previously_active_window(screen); - if (win) - { - d = g_object_get_data(G_OBJECT(win), "decor"); -- if (d->pixmap && d->decorated) -+ if (d && d->pixmap && d->decorated) - { - d->active = wnck_window_is_active(win); - d->fs = (d->active ? d->fs->ws->fs_act : d->fs->ws->fs_inact); -@@ -3493,11 +3493,11 @@ - } - } - -- win = wnck_screen_get_previously_active_window(screen); -+ win = wnck_screen_get_active_window(screen); - if (win) - { - d = g_object_get_data(G_OBJECT(win), "decor"); -- if (d->pixmap && d->decorated) -+ if (d && d->pixmap && d->decorated) - { - d->active = wnck_window_is_active(win); - d->fs = (d->active ? d->fs->ws->fs_act : d->fs->ws->fs_inact); -@@ -3558,6 +3558,8 @@ - if (!get_window_prop(wnck_window_get_xid(win), select_window_atom, &window)) - remove_frame_window(win); - -+ g_object_set_data (G_OBJECT (win), "decor", NULL); -+ - g_free(d); - } - -@@ -5567,7 +5569,7 @@ - - if (status != DECOR_ACQUIRE_STATUS_SUCCESS) - { -- if (status == DECOR_ACQUIRE_STATUS_OTHER_DM_RUNNING) -+ if (status == DECOR_ACQUIRE_STATUS_FAILED) - { - fprintf (stderr, - "%s: Could not acquire decoration manager " |