summaryrefslogtreecommitdiff
path: root/plugin/PProcess.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/PProcess.c')
-rw-r--r--plugin/PProcess.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/PProcess.c b/plugin/PProcess.c
index fb9b532..642e94f 100644
--- a/plugin/PProcess.c
+++ b/plugin/PProcess.c
@@ -83,6 +83,8 @@ GetWindowGeometry(
*border_width = wattr.border_width;
*cmap = wattr.colormap;
}
+ else
+ *cmap = NotUseful;
if (sizehints) {
XGetWMNormalHints (dpy, win, sizehints, &mask);
@@ -337,7 +339,7 @@ ResetWMColormap(PluginInstance* This, Window win)
/***********************************************************************
* Event Handler to reparent client window under plugin window
***********************************************************************/
-/* static */ void
+static void
SubstructureRedirectHandler (
Widget widget,
XtPointer client_data,