~james-w/netbook-remix/maximus.handle-null-crash

Viewing all changes in revision 29.

  • Committer: James Westby
  • Date: 2008-10-18 14:49:53 UTC
  • Revision ID: jw+debian@jameswestby.net-20081018144953-5g9dd1ucyiggg9p4
Don't crash when class_name or res_name are NULL.

Some apps will create windows with NULL class_name or res_name, and
the code should handle this. This change just prevents the crash,
it may be more appropriate to exclude these windows.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: