mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-08 23:04:15 +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
@@ -606,8 +606,8 @@ void WMSetWindowMiniwindowPixmap(WMWindow * win, WMPixmap * pixmap)
|
||||
|
||||
void WMSetWindowMiniwindowTitle(WMWindow * win, const char *title)
|
||||
{
|
||||
if ((win->miniTitle && !title) || (!win->miniTitle && title)
|
||||
|| (title && win->miniTitle && strcoll(title, win->miniTitle) != 0)) {
|
||||
if (win && ((win->miniTitle && !title) || (!win->miniTitle && title)
|
||||
|| (title && win->miniTitle && strcoll(title, win->miniTitle) != 0))) {
|
||||
if (win->miniTitle)
|
||||
wfree(win->miniTitle);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user