Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/idesk/idesk-generate-all-desktop-icons.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2773 by niro, Fri Dec 11 12:48:41 2015 UTC revision 2774 by niro, Thu Feb 11 15:02:04 2016 UTC
# Line 34  case $1 in Line 34  case $1 in
34  esac  esac
35    
36  # get the resolution  # get the resolution
37  eval $(${x11runas} xinfo)  xinfo=$(${x11runas} xinfo)
38  xres="${xorg_width}"  if [[ $? = 0 ]]
39  yres="${xorg_height}"  then
40     eval ${xinfo}
41     xres="${xorg_width}"
42     yres="${xorg_height}"
43    fi
44    
45  # fallback to 1024x768  # fallback to 1024x768
46  [[ -z ${xres} ]] && xres="1024"  [[ -z ${xres} ]] && xres="1024"

Legend:
Removed from v.2773  
changed lines
  Added in v.2774