diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-30 07:06:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-30 07:10:36 +0000 |
commit | 6da44a2076421c57c05bfbbe39b43452d68f727f (patch) | |
tree | d177710b78a19c3fff8e43006eec83d71128c77a /main/xfce4-screenshooter/fs-25873-segfault-in-awesome-wm.patch | |
parent | 772c441346998168601fdb2ab64d6818b48ebc14 (diff) | |
download | aports-6da44a2076421c57c05bfbbe39b43452d68f727f.tar.bz2 aports-6da44a2076421c57c05bfbbe39b43452d68f727f.tar.xz |
main/xfce4-screenshooter: remove install scripts + linker fix
and anohter patch from Arch Linux
Diffstat (limited to 'main/xfce4-screenshooter/fs-25873-segfault-in-awesome-wm.patch')
-rw-r--r-- | main/xfce4-screenshooter/fs-25873-segfault-in-awesome-wm.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/main/xfce4-screenshooter/fs-25873-segfault-in-awesome-wm.patch b/main/xfce4-screenshooter/fs-25873-segfault-in-awesome-wm.patch new file mode 100644 index 000000000..47e067144 --- /dev/null +++ b/main/xfce4-screenshooter/fs-25873-segfault-in-awesome-wm.patch @@ -0,0 +1,21 @@ +--- a/lib/screenshooter-capture.c ++++ a/lib/screenshooter-capture.c +@@ -381,6 +381,18 @@ static GdkPixbuf + rec_height += rectangle.y; + } + ++ if (rec_x < 0) ++ { ++ rec_width = rec_width + rec_x; ++ rec_x = 0; ++ } ++ ++ if (rec_y < 0) ++ { ++ rec_height = rec_height + rec_y; ++ rec_y = 0; ++ } ++ + if (x_orig + rec_x + rec_width > gdk_screen_width ()) + rec_width = gdk_screen_width () - x_orig - rec_x; + |