- fill_rect(win->get_absolute_rect(), 255, 211, 5);
+ //frame display:
+ Window **children = win->get_children();
+ for(int i=0; i<win->get_children_count(); i++) {
+ if(children[0] == wm->get_focused_window()) {
+ int r, g, b;
+ wm->get_focused_frame_color(&r, &g, &b);
+ fill_rect(win->get_absolute_rect(), r, g, b);
+ return;
+ }
+ }
+
+ fill_rect(win->get_absolute_rect(), 74, 175, 198);