} orig;
overlay_t overlay;
char key[4];
+ int last_frame_adjustment; // FIXME: Hack for frame resize bug.
} Client_Extra;
struct tiling_g tiling_g = {
int w,
int h)
{
+ Client_Extra *extra;
+
+ extra = eina_hash_find(_G.client_extras, &ec);
+ if (!extra) {
+ ERR("No extra for %p", ec);
+ return;
+ }
+
+ extra->last_frame_adjustment = MAX(ec->h - ec->client.h, ec->w - ec->client.w);
DBG("%p -> %dx%d+%d+%d", ec, w, h, x, y);
evas_object_geometry_set(ec->frame, x, y, w, h);
}
return;
}
+ if (!extra->last_frame_adjustment)
+ {
+ printf("This is probably because of the frame adjustment bug. Return\n");
+ _reapply_tree();
+ return;
+ }
+
Window_Tree *item = tiling_window_tree_client_find(_G.tinfo->tree, ec);
if (!item)
{