mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-31 19:12:32 +01:00
wmaker: add miniwindow apercu
This patch is adding miniwindow apercu when the mouse is over the miniwindows. To enable it you have to run WPref, in Miscellaneous Ergonomic Preferences, check miniwindow apercus. Then, you will be able to see a screenshot of the app when the mouse is over the miniwindow.
This commit is contained in:
committed by
Carlos R. Mafra
parent
b6d48420bb
commit
c6c7652e24
@@ -29,6 +29,8 @@
|
||||
#define TILE_CLIP 1
|
||||
#define TILE_DRAWER 2
|
||||
|
||||
#define APERCU_BORDER 2
|
||||
|
||||
typedef struct WIcon {
|
||||
WCoreWindow *core;
|
||||
WWindow *owner; /* owner window */
|
||||
@@ -48,6 +50,7 @@ typedef struct WIcon {
|
||||
unsigned int highlighted:1;
|
||||
|
||||
Pixmap pixmap;
|
||||
Pixmap apercu;
|
||||
|
||||
WMHandlerID handlerID; /* timer handler ID for cycling select
|
||||
* color */
|
||||
@@ -74,5 +77,6 @@ char *get_name_for_instance_class(const char *wm_instance, const char *wm_class)
|
||||
|
||||
void wIconSetHighlited(WIcon *icon, Bool flag);
|
||||
void set_icon_image_from_image(WIcon *icon, RImage *image);
|
||||
void set_icon_apercu(WIcon *icon, RImage *image);
|
||||
|
||||
#endif /* WMICON_H_ */
|
||||
|
||||
Reference in New Issue
Block a user