This website works better with JavaScript.
Home
Help
Sign In
non
/
non
mirror of
https://github.com/original-male/non
Watch
1
Star
0
Fork
0
Code
Releases
11
Activity
Browse Source
Session-manager: Work around for clients with stupidly large icons.
tags/non-daw-v1.3.0
Jonathan Moore Liles
3 years ago
parent
0106604073
commit
7565be85fb
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
session-manager/src/session-manager.C
+ 4
- 1
session-manager/src/session-manager.C
View File
@@ -138,7 +138,10 @@ class NSM_Client : public Fl_Group
if ( img )
{
icon_box->image( img );
if ( img->w() > 32 || img->h() > 32 )
WARNING("Client %s has stupidly large icon (%ix%i), ignoring.", _client_name, img->w(), img->h() );
else
icon_box->image( img );
}
}
Write
Preview
Loading…
Cancel
Save