proper handling of the plate though, too
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
openbox/frame.c
→
openbox/frame.c
@@ -828,7 +828,7 @@ return OB_FRAME_CONTEXT_CLIENT;
} 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 @@ return OB_FRAME_CONTEXT_DESKTOP;
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;