]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
when a window is fully maxed, make clicking on the titlebar past the edge buttons...
[chaz/openbox] / openbox / client.c
index 83c59030b4da3156735e1c33548811d5e2739fe4..0c4cce1f50be47e9a6f489790b2cb2b2ef9c6299 100644 (file)
@@ -1664,7 +1664,7 @@ void client_setup_decor_and_functions(ObClient *self)
 
     /* kill the handle on fully maxed windows */
     if (self->max_vert && self->max_horz)
-        self->decorations &= ~OB_FRAME_DECOR_HANDLE;
+        self->decorations &= ~(OB_FRAME_DECOR_HANDLE | OB_FRAME_DECOR_GRIPS);
 
     /* finally, the user can have requested no decorations, which overrides
        everything (but doesnt give it a border if it doesnt have one) */
@@ -2199,6 +2199,8 @@ static void client_get_session_ids(ObClient *self)
         localhost[127] = '\0';
         if (strcmp(localhost, s) != 0)
             self->client_machine = s;
+        else
+            g_free(s);
     }
 }
 
This page took 0.022781 seconds and 4 git commands to generate.