Vincent Povirk : winex11.drv: Do not assume window managers support _NET_WORKAREA.

Alexandre Julliard julliard at winehq.org
Sat Dec 20 06:35:31 CST 2008


Module: wine
Branch: master
Commit: 1a2216cbc7af03ffae0bd75be90d556901d98e1a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1a2216cbc7af03ffae0bd75be90d556901d98e1a

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Tue Dec 16 17:47:03 2008 -0600

winex11.drv: Do not assume window managers support _NET_WORKAREA.

---

 dlls/winex11.drv/xinerama.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/xinerama.c b/dlls/winex11.drv/xinerama.c
index f3af0c3..0850026 100644
--- a/dlls/winex11.drv/xinerama.c
+++ b/dlls/winex11.drv/xinerama.c
@@ -111,7 +111,7 @@ static int query_screens(void)
 {
     int i, count, event_base, error_base;
     XineramaScreenInfo *screens;
-    RECT rc_work;
+    RECT rc_work = {0, 0, 0, 0};
 
     if (!monitors)  /* first time around */
         load_xinerama();




More information about the wine-cvs mailing list