mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 22:04:12 +01:00
AppIcon helper functions.
Create wAppIconFor() and wAppIconTouchesHead() to match wWindowFor() and wWindowTouchesHead(). These functions will allow us to locate the window and head associated with a particular app icon or dock icon.
This commit is contained in:
committed by
Carlos R. Mafra
parent
930e59dd31
commit
67f73e9d54
@@ -21,6 +21,7 @@
|
||||
#ifndef _WMXINERAMA_H_
|
||||
#define _WMXINERAMA_H_
|
||||
|
||||
#include "appicon.h"
|
||||
#include "screen.h"
|
||||
#include "window.h"
|
||||
#include <WINGs/WINGs.h>
|
||||
@@ -51,6 +52,7 @@ WArea wGetUsableAreaForHead(WScreen *scr, int head, WArea *totalAreaPtr, Bool no
|
||||
WMPoint wGetPointToCenterRectInHead(WScreen *scr, int head, int width, int height);
|
||||
|
||||
Bool wWindowTouchesHead(WWindow *wwin, int head);
|
||||
Bool wAppIconTouchesHead(WAppIcon *aicon, int head);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user