@fabounet: the problem is that this kind of windows are not tracked by the dock except if this window is active.
What can we do? We can hide it if this window is active:
// maybe we have a window without icon in the dock...
GtkAllocation *pWindowGeometry;
@@ -226,6 +228,9 @@
else
pWindowGeometry = NULL;
+ if (pDock->iVisibility == CAIRO_DOCK_VISI_AUTO_HIDE_ON_OVERLAP_ANY && pWindowGeometry == NULL)
+ return; // windows without icons in the dock are not tracked except if it's active.
+
/* hide the dock if the active window or its parent if this window doesn't
* have any dedicated icon in the dock -> If my window's text editor is
* maximised and then I open a 'Search' box, the dock should not appear
===========
but we need to check if this window has been closed:
@fabounet: the problem is that this kind of windows are not tracked by the dock except if this window is active.
What can we do? We can hide it if this window is active:
======== cairo-dock- applications- manager. c' cairo-dock- applications- manager. c 2013-01-01 14:01:06 +0000 cairo-dock- applications- manager. c 2013-01-01 14:43:06 +0000
=== modified file 'src/gldit/
--- src/gldit/
+++ src/gldit/
@@ -210,8 +210,10 @@
static void _hide_show_ if_on_our_ way (CairoDock *pDock, Icon *icon) VISI_AUTO_ HIDE_ON_ OVERLAP && ! myDocksParam. bAutoHideOnFull Screen) VISI_AUTO_ HIDE_ON_ OVERLAP VISI_AUTO_ HIDE_ON_ OVERLAP_ ANY bAutoHideOnFull Screen)
{
- if (pDock->iVisibility != CAIRO_DOCK_
- return ;
+ if (pDock->iVisibility != CAIRO_DOCK_
+ && pDock->iVisibility != CAIRO_DOCK_
+ && ! myDocksParam.
+ return;
// maybe we have a window without icon in the dock...
GtkAllocation *pWindowGeometry;
@@ -226,6 +228,9 @@
else
pWindowGeometry = NULL;
+ if (pDock->iVisibility == CAIRO_DOCK_ VISI_AUTO_ HIDE_ON_ OVERLAP_ ANY && pWindowGeometry == NULL)
+ return; // windows without icons in the dock are not tracked except if it's active.
+
/* hide the dock if the active window or its parent if this window doesn't
* have any dedicated icon in the dock -> If my window's text editor is
* maximised and then I open a 'Search' box, the dock should not appear
===========
but we need to check if this window has been closed: