Changeset 4570 for branches/1.3
- Timestamp:
- Jul 22, 2014, 11:48:15 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3/gui/scripts/grab.tcl
r3330 r4570 39 39 # ---------------------------------------------------------------------- 40 40 rename grab _tk_grab 41 proc grab { args} {41 proc grab { args } { 42 42 set op [lindex $args 0] 43 43 if {[winfo exists $op]} { … … 54 54 set state $::Rappture::grab::state 55 55 set window [lindex $args end] 56 56 57 if {[lsearch -exact $args -global] >= 0} { 57 58 set state "-global" … … 91 92 92 93 # and set the next one 93 if { "" != $window} {94 if {[lindex $window 0] != "-global"} {95 # no more global grabs -- resume local grabs96 set ::Rappture::grab::state ""97 }94 if {[lindex $window 0] != "-global"} { 95 # no more global grabs -- resume local grabs 96 set ::Rappture::grab::state "" 97 } 98 if { $window != "" } { 98 99 eval _grabset $window 99 100 }
Note: See TracChangeset
for help on using the changeset viewer.