mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
Merge branch 'wmdrawer' into next
This commit is contained in:
18
src/screen.h
18
src/screen.h
@@ -62,6 +62,12 @@ typedef struct WAppIconChain {
|
||||
} WAppIconChain;
|
||||
|
||||
|
||||
/* Drawers, which are docks, really */
|
||||
typedef struct WDrawerChain {
|
||||
struct WDock *adrawer;
|
||||
struct WDrawerChain *next;
|
||||
} WDrawerChain;
|
||||
|
||||
/*
|
||||
* each WScreen is saved into a context associated with it's root window
|
||||
*/
|
||||
@@ -219,16 +225,22 @@ typedef struct _WScreen {
|
||||
struct WMenu *workspace_submenu; /* workspace list for window_menu */
|
||||
|
||||
struct WDock *dock; /* the application dock */
|
||||
struct WMenu *dock_pos_menu; /* Dock position menu */
|
||||
struct WPixmap *dock_dots; /* 3 dots for the Dock */
|
||||
Window dock_shadow; /* shadow for dock buttons */
|
||||
struct WAppIcon *clip_icon; /* The clip main icon */
|
||||
struct WAppIcon *clip_icon; /* The clip main icon, or the dock's, if they are merged */
|
||||
struct WMenu *clip_menu; /* Menu for clips */
|
||||
struct WMenu *clip_submenu; /* Workspace list for clips */
|
||||
struct WMenu *clip_options; /* Options for Clip */
|
||||
struct WMenu *clip_ws_menu; /* workspace menu for clip */
|
||||
struct WMenu *drawer_menu; /* Menu for drawers */
|
||||
struct WDock *last_dock;
|
||||
WAppIconChain *global_icons; /* for omnipresent icons chain in clip */
|
||||
int global_icon_count; /* How many global icons do we have */
|
||||
WDrawerChain *drawers; /* Chain of drawers */
|
||||
/* Cache the following two informations, as they are used quite a lot */
|
||||
int drawer_count; /* Nb of drawers that */
|
||||
struct WDock *attracting_drawer; /* The drawer that auto-attracts icons, or NULL */
|
||||
|
||||
int keymove_tick;
|
||||
struct RContext *rcontext; /* wrlib context */
|
||||
@@ -236,8 +248,8 @@ typedef struct _WScreen {
|
||||
WMScreen *wmscreen; /* for widget library */
|
||||
|
||||
struct RImage *icon_tile;
|
||||
struct RImage *clip_tile;
|
||||
|
||||
struct RImage *clip_tile; /* tile with arrows to change workspace */
|
||||
struct RImage *drawer_tile; /* tile for a drawer (tile + arrow) */
|
||||
Pixmap icon_tile_pixmap; /* For app supplied icons */
|
||||
|
||||
struct RImage *def_icon_rimage; /* Default RImage icon */
|
||||
|
||||
Reference in New Issue
Block a user