The mvwm repository's master branch has been updated.

The following shows the diffstat and patchsets between the merged result
and HEAD.

commit 2876928e4ca35b9062d3a97857271af536933715
Author: Dominik Vogt <[email protected]>
Date:   Fri Sep 12 00:15:09 2014 +0100

    Double chack that exc->w.w is != None in CMD_WarpToWindow.
---
 mvwm/focus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mvwm/focus.c b/mvwm/focus.c
index 645a2e8..8ce7ac0 100644
--- a/mvwm/focus.c
+++ b/mvwm/focus.c
@@ -1258,7 +1258,7 @@ void CMD_WarpToWindow(F_CMD_ARGS)
                        int ww;
                        int wh;
 
-                       if (!XGetGeometry(
+                       if (exc->w.w == None || !XGetGeometry(
                                    dpy, exc->w.w, &JunkRoot, &wx, &wy,
                                    (unsigned int*)&ww, (unsigned int*)&wh,
                                    (unsigned int*)&JunkBW,


Reply via email to