diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-24 20:48:28 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-24 20:48:28 +0000 |
| commit | 1582b361876d908ee457c15275e364a5966a454c (patch) | |
| tree | 8912f0617ec678b4eee8ba164460b07b37519cef | |
| parent | d3ca984e93e4830c4237c44323d13d53dfb9c707 (diff) | |
proper handling of the plate though, too
| -rw-r--r-- | openbox/frame.c | 3 |
1 files changed, 1 insertions, 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; |
