openbsd-ports/www/mozilla/patches/patch-gfx_src_gtk_nsScreenGtk_cpp
kurt 213dc3b819 - update to 1.7.11
- remove gtk2 flavor and make gtk2 the default
- fix gdk_property_get warnings (from Marc Matteo)
some feedback from Marc Matteo and Brad
2005-09-22 17:00:24 +00:00

13 lines
611 B
Plaintext

$OpenBSD: patch-gfx_src_gtk_nsScreenGtk_cpp,v 1.1 2005/09/22 17:00:24 kurt Exp $
--- gfx/src/gtk/nsScreenGtk.cpp.orig Tue Apr 20 13:35:51 2004
+++ gfx/src/gtk/nsScreenGtk.cpp Wed Sep 7 13:22:27 2005
@@ -143,7 +143,7 @@ nsScreenGtk :: Init ()
if (!gdk_property_get(root_window,
gdk_atom_intern ("_NET_WORKAREA", FALSE),
cardinal_atom,
- 0, G_MAXLONG, FALSE,
+ 0, G_MAXLONG - 3, FALSE,
&type_returned,
&format_returned,
&length_returned,