mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +01:00
Variable clip_icon moved to clip object in the global namespace
The variable clip_icon, that contains the Clip appicon is moved to the global clip properties. Now the screen is not needed to know the clip_icon.
This commit is contained in:
committed by
Carlos R. Mafra
parent
29ac626494
commit
2103fe390b
@@ -439,7 +439,7 @@ static void appiconBalloon(WObjDescriptor *object)
|
||||
char *tmp;
|
||||
|
||||
/* Show balloon if it is the Clip and the workspace name is > 5 chars */
|
||||
if (object->parent == scr->clip_icon) {
|
||||
if (object->parent == w_global.clip.icon) {
|
||||
if (strlen(w_global.workspace.array[w_global.workspace.current]->name) > 5) {
|
||||
scr->balloon->text = wstrdup(w_global.workspace.array[w_global.workspace.current]->name);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user