summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 2285bed8..59622c3d 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -3008,10 +3008,11 @@ 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.
+ /* 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 */