frames: Rename function
There's different levels of "title" we'll want to poke, make this function name a bit more specific. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2872>
This commit is contained in:
parent
e9fca3eba6
commit
473f58cb5b
1 changed files with 4 additions and 4 deletions
|
@ -229,7 +229,7 @@ on_border_changed (GObject *object,
|
|||
}
|
||||
|
||||
static void
|
||||
frame_sync_title (GtkWindow *window,
|
||||
frame_sync_net_wm_name (GtkWindow *window,
|
||||
Window client_window)
|
||||
{
|
||||
MetaFrame *frame = META_FRAME (window);
|
||||
|
@ -382,7 +382,7 @@ meta_frame_new (Window window)
|
|||
frame_height * scale, 0,
|
||||
});
|
||||
|
||||
frame_sync_title (GTK_WINDOW (frame), window);
|
||||
frame_sync_net_wm_name (GTK_WINDOW (frame), window);
|
||||
frame_sync_motif_wm_hints (GTK_WINDOW (frame), window);
|
||||
frame_sync_wm_normal_hints (GTK_WINDOW (frame), window);
|
||||
|
||||
|
@ -416,7 +416,7 @@ meta_frame_handle_xevent (MetaFrame *frame,
|
|||
if (is_content && xevent->type == PropertyNotify)
|
||||
{
|
||||
if (xevent->xproperty.atom == frame->atom__NET_WM_NAME)
|
||||
frame_sync_title (GTK_WINDOW (frame), xevent->xproperty.window);
|
||||
frame_sync_net_wm_name (GTK_WINDOW (frame), xevent->xproperty.window);
|
||||
else if (xevent->xproperty.atom == frame->atom__MOTIF_WM_HINTS)
|
||||
frame_sync_motif_wm_hints (GTK_WINDOW (frame), xevent->xproperty.window);
|
||||
else if (xevent->xproperty.atom == XA_WM_NORMAL_HINTS)
|
||||
|
|
Loading…
Reference in a new issue