This patch is setting the app logo max size to 128 as what can
be found in the rest of the code, so the logo is not restricted
anymore to the icon size defined by WPrefs.
The goal is to solve the resize issue that appears when the logo
is used in Info and Exit panel.


PS: i did not see border line effects doing that, please report any
inconsistencies.


---
 src/screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/screen.c b/src/screen.c
index bb9d9b3..250f996 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -398,7 +398,7 @@ static void createPixmaps(WScreen * scr)

 void create_logo_image(WScreen *scr)
 {
- RImage *image = get_icon_image(scr, "Logo", "WMPanel",
wPreferences.icon_size);
+ RImage *image = get_icon_image(scr, "Logo", "WMPanel", 128);

  if (!image) {
  wwarning(_("could not load logo image for panels: %s"),
RMessageForError(RErrorCode));
--

Attachment: 0001-wmaker-unset-default-app-logo-size.patch
Description: Binary data

Reply via email to