summaryrefslogtreecommitdiff
path: root/app/xmag/RootWin.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2024-11-11 09:23:26 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2024-11-11 09:23:26 +0000
commit5978ed4f979941168e5400d30c864cdbf158b47e (patch)
treecf3f5b6e8d1243f78f1ddcc0b983b0bee845b339 /app/xmag/RootWin.c
parent2bebbfc35e15ecdf20e3c7cb2f4e8d5dc689db38 (diff)
update to xmag 1.0.8
Diffstat (limited to 'app/xmag/RootWin.c')
-rw-r--r--app/xmag/RootWin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/xmag/RootWin.c b/app/xmag/RootWin.c
index 1b4d4dd80..7960d3858 100644
--- a/app/xmag/RootWin.c
+++ b/app/xmag/RootWin.c
@@ -33,7 +33,7 @@ from The Open Group.
static void Realize ( Widget w, XtValueMask *value_mask, XSetWindowAttributes *attributes );
-RootWindowClassRec rootWindowClassRec = {
+static RootWindowClassRec rootWindowClassRec = {
{ /* core fields */
/* superclass */ (WidgetClass) &widgetClassRec,
/* class_name */ "RootWindow",
@@ -75,9 +75,9 @@ RootWindowClassRec rootWindowClassRec = {
WidgetClass rootWindowWidgetClass = (WidgetClass)&rootWindowClassRec;
-/*ARGSUSED*/
static void
-Realize(Widget w, XtValueMask *value_mask, XSetWindowAttributes *attributes)
+Realize(Widget w, _X_UNUSED XtValueMask *value_mask,
+ _X_UNUSED XSetWindowAttributes *attributes)
{
w->core.window = RootWindowOfScreen(w->core.screen);
}