proper handling of the plate though, too
This commit is contained in:
parent
d3ca984e93
commit
1582b36187
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue