all repos — openbox @ 123ee25c59bcb875e6aff82c7dda299a15c79a2d

openbox fork - make it a bit more like ryudo

final touches for r6990-6992
Dana Jansens danakj@orodu.net
commit

123ee25c59bcb875e6aff82c7dda299a15c79a2d

parent

2a84418ee441d77d0d07760cbfc8359d0db624f4

2 files changed, 5 insertions(+), 5 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -598,7 +598,7 @@ /* per-app settings override stuff, and return the settings for other

uses too. this returns a shallow copy that needs to be freed */ settings = client_get_settings_state(self); - client_setup_decor_and_functions(self); + client_setup_decor_and_functions(self, FALSE); /* create the decoration frame for the client window and adjust its size */ self->frame = frame_new(self);

@@ -2967,8 +2967,7 @@ h = self->pre_fullscreen_area.height;

RECT_SET(self->pre_fullscreen_area, 0, 0, 0, 0); } - client_setup_decor_and_functions(self); - + client_setup_decor_and_functions(self, FALSE); client_move_resize(self, x, y, w, h); /* and adjust our layer/stacking. do this after resizing the window,

@@ -3112,8 +3111,7 @@ self->max_vert = max;

client_change_state(self); /* change the state hints on the client */ - client_setup_decor_and_functions(self); - + client_setup_decor_and_functions(self, FALSE); client_move_resize(self, x, y, w, h); }
M openbox/openbox.copenbox/openbox.c

@@ -329,6 +329,8 @@ for (it = client_list; it; it = g_list_next(it)) {

ObClient *c = it->data; /* the new config can change the window's decorations */ client_setup_decor_and_functions(c, TRUE); + /* redraw the frames */ + frame_adjust_area(c->frame, TRUE, TRUE, FALSE); } }