56
56
// Applis manager : access
57
/** Get the icon of an application whose window covers a dock, or NULL if none. If both parameters are FALSE, check for all windows.
58
* @param pDock the dock to test.
59
* @param bMaximizedWindow check for maximized windows only.
60
* @param bFullScreenWindow check for full screen windows only.
57
#define _cairo_dock_appli_is_on_our_way(icon, pDock) (icon != NULL && cairo_dock_appli_is_on_current_desktop (icon) && ((myAccessibility.bAutoHideOnFullScreen && icon->bIsFullScreen) || (myAccessibility.bAutoHideOnOverlap && cairo_dock_appli_overlaps_dock (icon, pDock))))
59
/** Get the icon of an application whose window covers entirely a dock, or NULL if none. If both parameters are FALSE, check for all windows.
60
*@param pDock the dock to test.
61
*@param bMaximizedWindow check for maximized windows only.
62
*@param bFullScreenWindow check for full screen windows only.
61
63
*@return the icon representing the window, or NULL if none has been found.
62
*/Icon * cairo_dock_search_window_on_our_way (CairoDock *pDock, gboolean bMaximizedWindow, gboolean bFullScreenWindow);
65
Icon * cairo_dock_search_window_covering_dock (CairoDock *pDock, gboolean bMaximizedWindow, gboolean bFullScreenWindow);
67
/** Get the icon of an application whose window overlaps a dock, or NULL if none.
68
*@param pDock the dock to test.
69
*@return the icon of the window, or NULL if none has been found.
71
Icon *cairo_dock_search_window_overlapping_dock (CairoDock *pDock);
64
74
/** Get the list of appli's icons currently known by Cairo-Dock, including the icons not displayed in the dock. You can then order the list by z-order, name, etc.
65
75
*@return a newly allocated list of applis's icons. You must free the list when you're finished with it, but not the icons.