diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2005-07-17 02:49:11 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2005-07-17 02:49:11 +0000 |
commit | 6b68503db048fefa8f8e4fba8e2dcdfc1a0dd54a (patch) | |
tree | 66d7dea20cad1e73a28ea653e7dadbd24e8855ed /x11-libs/libwnck/files | |
parent | fall back to building X is user has USE="-3dfx -opengl -X" (diff) | |
download | gentoo-2-6b68503db048fefa8f8e4fba8e2dcdfc1a0dd54a.tar.gz gentoo-2-6b68503db048fefa8f8e4fba8e2dcdfc1a0dd54a.tar.bz2 gentoo-2-6b68503db048fefa8f8e4fba8e2dcdfc1a0dd54a.zip |
New version: 2.10.2. Cleaning old ebuilds/patches
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'x11-libs/libwnck/files')
-rw-r--r-- | x11-libs/libwnck/files/digest-libwnck-2.10.2 | 1 | ||||
-rw-r--r-- | x11-libs/libwnck/files/digest-libwnck-2.6.2.1 | 1 | ||||
-rw-r--r-- | x11-libs/libwnck/files/libwnck-2.4.0.1-pager.patch | 60 |
3 files changed, 1 insertions, 61 deletions
diff --git a/x11-libs/libwnck/files/digest-libwnck-2.10.2 b/x11-libs/libwnck/files/digest-libwnck-2.10.2 new file mode 100644 index 000000000000..67c2c58b438f --- /dev/null +++ b/x11-libs/libwnck/files/digest-libwnck-2.10.2 @@ -0,0 +1 @@ +MD5 d8276da50ce560c5e66ed94e4238d9ef libwnck-2.10.2.tar.bz2 423399 diff --git a/x11-libs/libwnck/files/digest-libwnck-2.6.2.1 b/x11-libs/libwnck/files/digest-libwnck-2.6.2.1 deleted file mode 100644 index d34e4a483e97..000000000000 --- a/x11-libs/libwnck/files/digest-libwnck-2.6.2.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 79feeef845f34768ac4dfdec4b927cde libwnck-2.6.2.1.tar.bz2 346751 diff --git a/x11-libs/libwnck/files/libwnck-2.4.0.1-pager.patch b/x11-libs/libwnck/files/libwnck-2.4.0.1-pager.patch deleted file mode 100644 index 851fb64bc29c..000000000000 --- a/x11-libs/libwnck/files/libwnck-2.4.0.1-pager.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -ru -X excl.list libwnck-trunk.clean/libwnck/pager.c libwnck-work/libwnck/pager.c ---- libwnck-trunk.clean/libwnck/pager.c 2003-04-04 17:07:39.000000000 +0200 -+++ libwnck-work/libwnck/pager.c 2003-09-23 23:12:52.000000000 +0200 -@@ -1149,14 +1149,53 @@ - - if (space) - { -- wnck_workspace_activate (space); -+#define MOVE_VIEWPORT_IN_SCREEN_SIZE_STEPS 1 -+#if MOVE_VIEWPORT_IN_SCREEN_SIZE_STEPS -+ int screen_width, screen_height; -+#else /* MOVE_VIEWPORT_CENTERED_ON_PONTER */ -+ int screen_width, screen_height, max_x, max_y; -+#endif -+ -+ /* Don't switch the desktop if we're already there */ -+ if (space != wnck_screen_get_active_workspace (pager->priv->screen)) -+ wnck_workspace_activate (space); - - /* EWMH only lets us move the viewport for the active workspace, - * but we just go ahead and hackily assume that the activate - * just above takes effect prior to moving the viewport - */ -- wnck_screen_move_viewport (pager->priv->screen, -- viewport_x, viewport_y); -+ screen_width = wnck_screen_get_width (pager->priv->screen); -+ screen_height = wnck_screen_get_height (pager->priv->screen); -+#if MOVE_VIEWPORT_IN_SCREEN_SIZE_STEPS -+ /* Transform the pointer location to viewport origin, assuming -+ * that we want the nearest "regular" viewport containing the -+ * pointer. -+ */ -+ viewport_x = (viewport_x / screen_width) * screen_width; -+ viewport_y = (viewport_y / screen_height) * screen_height; -+#else /* MOVE_VIEWPORT_CENTERED_ON_PONTER */ -+ /* Transform the pointer location to viewport origin, assuming -+ * that we want the pointer centered in the viewport. -+ * Keep the viewport entirely on the desktop. -+ */ -+ max_x = wnck_workspace_get_width (space) - screen_width; -+ max_y = wnck_workspace_get_height (space) - screen_height; -+ viewport_x -= screen_width / 2; -+ if (viewport_x < 0) -+ viewport_x = 0; -+ else if (viewport_x > max_x) -+ viewport_x = max_x; -+ viewport_y -= screen_height / 2; -+ if (viewport_y < 0) -+ viewport_y = 0; -+ else if (viewport_y > max_y) -+ viewport_y = max_y; -+#endif -+ -+ if (wnck_workspace_get_viewport_x(space) != viewport_x || -+ wnck_workspace_get_viewport_y(space) != viewport_y) -+ wnck_screen_move_viewport (pager->priv->screen, -+ viewport_x, viewport_y); - - if (pager->priv->drag_window) - wnck_window_activate (pager->priv->drag_window); |