Changeset 1394 for trunk/gui/scripts/balloon.tcl
- Timestamp:
- Apr 14, 2009, 1:48:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/balloon.tcl
r1342 r1394 212 212 shape set $s -bound photo $_masks($placement) 213 213 } 214 215 wm geometry $p ${pw}x${ph}+$px+$py 214 if { $pw < 1 || $ph < 1 } { 215 # I really don't know why this is happenning. I believe this occurs 216 # when in a work space (i.e the main window is smaller than the root 217 # window). So for now, better to place the ballon window somewhere 218 # than to fail with a bad geometry. 219 wm geometry $p +$px+$py 220 } else { 221 wm geometry $p ${pw}x${ph}+$px+$py 222 } 216 223 wm deiconify $p 217 224 raise $p
Note: See TracChangeset
for help on using the changeset viewer.