diff --git a/data/rc3 b/data/rc3
index b4a68acf..a3375704 100644
--- a/data/rc3
+++ b/data/rc3
@@ -297,7 +297,7 @@
-
+
diff --git a/openbox/frame.c b/openbox/frame.c
index a38bcfbe..2f1fae30 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -603,8 +603,8 @@ static void layout_title(ObFrame *self)
ObFrameContext frame_context_from_string(char *name)
{
- if (!g_ascii_strcasecmp("root", name))
- return OB_FRAME_CONTEXT_ROOT;
+ if (!g_ascii_strcasecmp("desktop", name))
+ return OB_FRAME_CONTEXT_DESKTOP;
else if (!g_ascii_strcasecmp("client", name))
return OB_FRAME_CONTEXT_CLIENT;
else if (!g_ascii_strcasecmp("titlebar", name))
@@ -640,22 +640,23 @@ ObFrameContext frame_context(ObClient *client, Window win)
{
ObFrame *self;
- if (win == RootWindow(ob_display, ob_screen)) return OB_FRAME_CONTEXT_ROOT;
+ if (win == RootWindow(ob_display, ob_screen))
+ return OB_FRAME_CONTEXT_DESKTOP;
if (client == NULL) return OB_FRAME_CONTEXT_NONE;
if (win == client->window) {
- /* conceptually, this is the root window, as far as users are
+ /* conceptually, this is the desktop, as far as users are
concerned */
if (client->type == OB_CLIENT_TYPE_DESKTOP)
- return OB_FRAME_CONTEXT_ROOT;
+ return OB_FRAME_CONTEXT_DESKTOP;
return OB_FRAME_CONTEXT_CLIENT;
}
self = client->frame;
if (win == self->plate) {
- /* conceptually, this is the root window, as far as users are
+ /* conceptually, this is the desktop, as far as users are
concerned */
if (client->type == OB_CLIENT_TYPE_DESKTOP)
- return OB_FRAME_CONTEXT_ROOT;
+ return OB_FRAME_CONTEXT_DESKTOP;
return OB_FRAME_CONTEXT_CLIENT;
}
diff --git a/openbox/frame.h b/openbox/frame.h
index 5072d091..333580b4 100644
--- a/openbox/frame.h
+++ b/openbox/frame.h
@@ -10,7 +10,7 @@ struct _ObClient;
typedef enum {
OB_FRAME_CONTEXT_NONE,
- OB_FRAME_CONTEXT_ROOT,
+ OB_FRAME_CONTEXT_DESKTOP,
OB_FRAME_CONTEXT_CLIENT,
OB_FRAME_CONTEXT_TITLEBAR,
OB_FRAME_CONTEXT_HANDLE,
diff --git a/openbox/mouse.c b/openbox/mouse.c
index 58dc07c9..2e8507c3 100644
--- a/openbox/mouse.c
+++ b/openbox/mouse.c
@@ -19,7 +19,7 @@ typedef struct {
} ObMouseBinding;
#define CLIENT_CONTEXT(co, cl) ((cl && cl->type == OB_CLIENT_TYPE_DESKTOP) ? \
- co == OB_FRAME_CONTEXT_ROOT : \
+ co == OB_FRAME_CONTEXT_DESKTOP : \
co == OB_FRAME_CONTEXT_CLIENT)
/* Array of GSList*s of PointerBinding*s. */