:: [devuan-dev] bug#857: Patch
Top Page
Delete this message
Reply to this message
Author: tempforever
Date:  
To: 857
Subject: [devuan-dev] bug#857: Patch
# See attachment
diff --git a/app.h b/app.h
index 7453e34..a32dcb0 100644
--- a/app.h
+++ b/app.h
@@ -14,6 +14,7 @@
#define _APP_H_

#include <X11/Xlib.h>
+#include <string>

#ifdef USE_PAM
#include "PAM.h"
diff --git a/panel.cpp b/panel.cpp
index 7268706..e5f6c57 100644
--- a/panel.cpp
+++ b/panel.cpp
@@ -956,10 +956,10 @@ Rectangle Panel::GetPrimaryViewport()

     // As we're only using one monitor, which is only part of the root window,
     // replace Root with a viewport window
-    Root = XCreateSimpleWindow ( Dpy, RealRoot, 
-                    result.x, result.y, result.width, result.height, 0, 0, 0);
-    XMapWindow(Dpy, Root);
-    XFlush(Dpy);
+//    Root = XCreateSimpleWindow ( Dpy, RealRoot, 
+//                    result.x, result.y, result.width, result.height, 0, 0, 0);
+//    XMapWindow(Dpy, Root);
+//    XFlush(Dpy);


     return result;
 }