From 1582b361876d908ee457c15275e364a5966a454c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 24 Apr 2007 20:48:28 +0000 Subject: [PATCH] proper handling of the plate though, too --- openbox/frame.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openbox/frame.c b/openbox/frame.c index d6e386b3..dc9d1601 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -828,7 +828,7 @@ ObFrameContext frame_context(ObClient *client, Window win) } self = client->frame; - if (win == self->inner) { + if (win == self->inner || win == self->plate) { /* conceptually, this is the desktop, as far as users are concerned */ if (client->type == OB_CLIENT_TYPE_DESKTOP) @@ -836,7 +836,6 @@ ObFrameContext frame_context(ObClient *client, Window win) return OB_FRAME_CONTEXT_CLIENT; } - if (win == self->plate) return OB_FRAME_CONTEXT_CLIENT; if (win == self->window) return OB_FRAME_CONTEXT_FRAME; if (win == self->title) return OB_FRAME_CONTEXT_TITLEBAR; if (win == self->label) return OB_FRAME_CONTEXT_TITLEBAR; -- 2.39.2