[Pkg-wmaker-commits] [wmbiff] 30/38: last fix to geometry handling had a compiler warning

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:03:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to tag wmbiff_0_4_16
in repository wmbiff.

commit de52c6e262365b7c40f7a13c7f83032d07396325
Author: bluehal <bluehal>
Date:   Thu Jul 3 05:33:16 2003 +0000

    last fix to geometry handling had a compiler warning
---
 wmgeneral/wmgeneral.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/wmgeneral/wmgeneral.c b/wmgeneral/wmgeneral.c
index fc58899..ebc30f6 100644
--- a/wmgeneral/wmgeneral.c
+++ b/wmgeneral/wmgeneral.c
@@ -579,10 +579,11 @@ void openXwindow(int argc, const char *argv[],
 	if (geometry) {
 		/* we'll silently drop width and height as well as negative positions */
 		/* mostly because I don't know how to deal with them */
+        /*
 		int wx, wy, x, y;
 		int specified = XParseGeometry(geometry, &x, &y, &wx, &wy);
 		printf("%d %d %d %d\n", x, y, wx, wy);
-		/* if( specified & XNegative ) {
+		 if( specified & XNegative ) {
 		   x = DisplayWidth(display, DefaultScreen(display)) - x - pixmask_width;
 		   }
 		   if( specified & YNegative ) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git



More information about the Pkg-wmaker-commits mailing list