From: Dana Jansens Date: Tue, 24 Apr 2007 20:48:28 +0000 (+0000) Subject: proper handling of the plate though, too X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1582b361876d908ee457c15275e364a5966a454c;p=chaz%2Fopenbox proper handling of the plate though, too --- 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;