xed-window: Rework the fullscreen toolbar

The animation used for hiding/showing the fullscreen toolbar is totally broken
under HiDPI. Port to GtkRevealer and GtkEventBox to get the proper behaviour.
This commit is contained in:
JosephMcc
2017-12-04 00:46:02 -08:00
parent bc18f166a3
commit 78ca6d13e0
2 changed files with 44 additions and 168 deletions

View File

@@ -66,9 +66,9 @@ struct _XedWindowPrivate
/* Widgets for fullscreen mode */
GtkWidget *fullscreen_controls;
GtkWidget *fullscreen_controls_container;
guint fullscreen_animation_timeout_id;
gboolean fullscreen_animation_enter;
GtkWidget *fullscreen_overlay;
GtkWidget *fullscreen_eventbox;
GtkWidget *fullscreen_revealer;
/* statusbar and context ids for statusbar messages */
GtkWidget *statusbar;