[libdazzle] panel: hide handles when animations are disabled
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] panel: hide handles when animations are disabled
- Date: Wed, 11 Sep 2019 18:44:00 +0000 (UTC)
commit e80bd39a7b1332e83a6479328e8946ef5b030961
Author: Christian Hergert <chergert redhat com>
Date: Wed Sep 11 11:42:57 2019 -0700
panel: hide handles when animations are disabled
Fixes #46
src/panel/dzl-dock-bin.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/panel/dzl-dock-bin.c b/src/panel/dzl-dock-bin.c
index e1a3a5f..8b7391e 100644
--- a/src/panel/dzl-dock-bin.c
+++ b/src/panel/dzl-dock-bin.c
@@ -1060,6 +1060,8 @@ dzl_dock_bin_child_size_allocate (DzlDockBin *self,
gdk_window_move_resize (child->handle,
handle_alloc.x, handle_alloc.y,
handle_alloc.width, handle_alloc.height);
+ else if (child->handle)
+ gdk_window_hide (child->handle);
gtk_widget_size_allocate (child->widget, &child_alloc);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]