diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2005-03-25 23:00:20 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2005-03-25 23:00:20 +0000 |
| commit | cab723fac9e6b1f8d994c97c662690813470fe30 (patch) | |
| tree | 2de98f24d2c55c238dd0a9486b7759d24d582350 /openbox | |
| parent | be0ded10da9029fe988faf248c3978440845cef9 (diff) | |
fix transparent terminals not updating when toggledecoring them
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/client.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbox/client.c b/openbox/client.c index eaf6907a..2285bed8 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3008,6 +3008,12 @@ void client_set_undecorated(ObClient *self, gboolean undecorated) if (self->undecorated != undecorated) { self->undecorated = undecorated; client_setup_decor_and_functions(self); + // Make sure the client knows it might have moved. Maybe there is a + // better way of doing this so only one client_configure is sent, but + // since 125 of these are sent per second when moving the window (with + // user = FALSE) i doubt it matters much. + client_configure(self, OB_CORNER_TOPLEFT, self->area.x, self->area.y, + self->area.width, self->area.height, TRUE, TRUE); client_change_state(self); /* reflect this in the state hints */ } } |
