~muktupavels/metacity/adwaita-icon-theme-lp-1414613

« back to all changes in this revision

Viewing changes to src/core/window-props.c

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2010-06-16 23:32:32 UTC
  • mto: (2.3.2 sid)
  • mto: This revision was merged to the branch mainline in revision 96.
  • Revision ID: james.westby@ubuntu.com-20100616233232-elvo6ff6h0q2vjor
Tags: 1:2.30.1-2
* Refresh 02_restart_hint.patch.
* 03_gtop_error.patch: patch from Tomaž Šolc to handle libgtop errors.
  Closes: #549290.
* Switch to 3.0 source format.
* 04_gdk_grab_tracking.patch: patch from Owen Taylor to prevent events 
  from being transmitted to the wrong window. Closes: #559576.

Show diffs side-by-side

added added

removed removed

Lines of Context:
337
337
      
338
338
  glibtop_get_proc_uid (&process_details, process);
339
339
 
340
 
  *result = process_details.uid;
341
 
  return TRUE;
 
340
  if (process_details.flags & (1L << GLIBTOP_PROC_UID_UID) ) 
 
341
    {
 
342
      *result = process_details.uid;
 
343
      return TRUE;
 
344
    }
 
345
  else
 
346
    {
 
347
      return FALSE;
 
348
    }
342
349
#else
343
350
  /* I don't know, maybe we could do something hairy like see whether
344
351
   * /proc/$PID exists and who owns it, in case they have procfs.