]> Dogcows Code - chaz/openbox/commitdiff
proper handling of the plate though, too
authorDana Jansens <danakj@orodu.net>
Tue, 24 Apr 2007 20:48:28 +0000 (20:48 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 24 Apr 2007 20:48:28 +0000 (20:48 +0000)
openbox/frame.c

index d6e386b326f65c1192c80e66e1a5248601f1e8ba..dc9d16014ecb0f2f4f89db6644a646c1833dece4 100644 (file)
@@ -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;
This page took 0.024436 seconds and 4 git commands to generate.