[metacity] theme-viewer: properly center window changing composited
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] theme-viewer: properly center window changing composited
- Date: Sat, 4 Mar 2017 16:49:20 +0000 (UTC)
commit 970b69c97a03628d90736297fa2993acf25e73bd
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Mar 4 16:11:18 2017 +0200
theme-viewer: properly center window changing composited
theme-viewer/theme-viewer-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/theme-viewer/theme-viewer-window.c b/theme-viewer/theme-viewer-window.c
index bbf10b3..6d526d7 100644
--- a/theme-viewer/theme-viewer-window.c
+++ b/theme-viewer/theme-viewer-window.c
@@ -821,6 +821,8 @@ composited_state_set_cb (GtkSwitch *widget,
meta_theme_set_composited (window->theme, active);
+ update_frame_borders (window);
+
gtk_widget_queue_draw (window->theme_box);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]