Rename 'window-unfocused' to 'backdrop'
'window-unfocused' is too long and mentions "focus" which is historically loaded with the meaning "input focus". 'backdrop' isn't generally used in GUI speak and still conveys the state the widgets in an unfocused or background toplevel window are in.
This commit is contained in:
@ -3783,8 +3783,8 @@ gtk_widget_unparent (GtkWidget *widget)
|
||||
gtk_widget_queue_compute_expand (old_parent);
|
||||
}
|
||||
|
||||
/* Unset window-unfocused since we are no longer inside a toplevel window */
|
||||
gtk_widget_unset_state_flags (widget, GTK_STATE_FLAG_WINDOW_UNFOCUSED);
|
||||
/* Unset BACKDROP since we are no longer inside a toplevel window */
|
||||
gtk_widget_unset_state_flags (widget, GTK_STATE_FLAG_BACKDROP);
|
||||
if (priv->context)
|
||||
gtk_style_context_set_parent (priv->context, NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user