Hack for use with non-Gnome window managers

  • steve rader
    steve rader

    In an old-school Xwindows environment (e.g. twm and vtwm, probably many others) the
    cut-and-paste via the CLIPBOARD selection buffer apparently does not work.  For
    example, I was unable paste my passwords into Firefox under vtwm.  The work-around
    is to tell the Wx widget toolkit to use the PRIMARY buffer ("selection") instead of the
    CLIPBOARD selection: in src/ui/wxWidgets/pwsclip.cpp I added
    "wxTheClipboard->UsePrimarySelection(TRUE);"  It'd be nice if someone would
    gracefully fold that into the source somehow.