]> Dogcows Code - chaz/openbox/commitdiff
fix the context given off by the borders in the br corner
authorDana Jansens <danakj@orodu.net>
Wed, 16 Jan 2008 01:00:08 +0000 (20:00 -0500)
committerMikael Magnusson <mikachu@comhem.se>
Wed, 16 Jan 2008 01:08:42 +0000 (02:08 +0100)
openbox/frame.c

index b49139acefbcda91916d36a2eebf6f6079afbf32..b0666b27d8e0fb28d8472bd688b1bbf94bb5f02e 100644 (file)
@@ -1438,9 +1438,9 @@ ObFrameContext frame_context(ObClient *client, Window win, gint x, gint y)
     if (win == self->lgripbottom)       return OB_FRAME_CONTEXT_BLCORNER;
     if (win == self->handleright)       return OB_FRAME_CONTEXT_BRCORNER;
     if (win == self->rgrip)             return OB_FRAME_CONTEXT_BRCORNER;
-    if (win == self->rgripright)        return OB_FRAME_CONTEXT_BLCORNER;
-    if (win == self->rgriptop)          return OB_FRAME_CONTEXT_BLCORNER;
-    if (win == self->rgripbottom)       return OB_FRAME_CONTEXT_BLCORNER;
+    if (win == self->rgripright)        return OB_FRAME_CONTEXT_BRCORNER;
+    if (win == self->rgriptop)          return OB_FRAME_CONTEXT_BRCORNER;
+    if (win == self->rgripbottom)       return OB_FRAME_CONTEXT_BRCORNER;
     if (win == self->title)             return OB_FRAME_CONTEXT_TITLEBAR;
     if (win == self->titlebottom)       return OB_FRAME_CONTEXT_TITLEBAR;
     if (win == self->titleleft)         return OB_FRAME_CONTEXT_TLCORNER;
This page took 0.027815 seconds and 4 git commands to generate.