diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/frames.c | 14 | ||||
-rw-r--r-- | src/ui/frames.h | 2 | ||||
-rw-r--r-- | src/ui/ui.c | 7 |
3 files changed, 23 insertions, 0 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c index 1adb3ccf..9f1ee8cb 100644 --- a/src/ui/frames.c +++ b/src/ui/frames.c @@ -1030,6 +1030,20 @@ meta_frames_set_title (MetaFrames *frames, } void +meta_frames_update_frame_style (MetaFrames *frames, + Window xwindow) +{ + MetaUIFrame *frame; + + frame = meta_frames_lookup_window (frames, xwindow); + + g_assert (frame); + + meta_frames_attach_style (frames, frame); + invalidate_whole_window (frames, frame); +} + +void meta_frames_repaint_frame (MetaFrames *frames, Window xwindow) { diff --git a/src/ui/frames.h b/src/ui/frames.h index 1262f148..6689cc1a 100644 --- a/src/ui/frames.h +++ b/src/ui/frames.h @@ -124,6 +124,8 @@ void meta_frames_set_title (MetaFrames *frames, Window xwindow, const char *title); +void meta_frames_update_frame_style (MetaFrames *frames, + Window xwindow); void meta_frames_repaint_frame (MetaFrames *frames, Window xwindow); diff --git a/src/ui/ui.c b/src/ui/ui.c index cc26451e..bd753210 100644 --- a/src/ui/ui.c +++ b/src/ui/ui.c @@ -427,6 +427,13 @@ meta_ui_unmap_frame (MetaUI *ui, } void +meta_ui_update_frame_style (MetaUI *ui, + Window xwindow) +{ + meta_frames_update_frame_style (ui->frames, xwindow); +} + +void meta_ui_repaint_frame (MetaUI *ui, Window xwindow) { |