Next: , Previous: , Up: Internal Routines   [Contents][Index]

15.5.815 xsetaction

xsetaction [, action, window]

[x11] Sets the copy action associated with the window. window defaults to !window, action to 1. Choose what to replace the destination with by selecting action from:

  1. src
  2. src xor dst
  3. not(src) xor dst
  4. 0
  5. 1
  6. dst
  7. not(dst)
  8. src and dst
  9. src and not(dst)
  10. not(src) and dst
  11. src or dst
  12. src or not(dst)
  13. not(src) or dst
  14. not(src) or not(dst)
  15. not(src) and not(dst)
  16. not(src)

Note that actions 1 and 2 are reversible. These are suitable for display of sprites: objects that change the image but may be removed without a trace by drawing them again. i use them for simultaneous display of multiple pseudo-cursors.

See also: xtv, !window