[odamex-bug-reporter] [Bug 982] New: "Copy Server Address" right click menu item should use X11 selection buffer

  • From: odamex-bugtracker@xxxxxxxxxx
  • To: odamex-bug-reporter@xxxxxxxxxxxxx
  • Date: Sat, 18 May 2013 22:20:32 +0000

http://odamex.net/bugs/show_bug.cgi?id=982

            Bug ID: 982
           Summary: "Copy Server Address" right click menu item should use
                    X11 selection buffer
    Classification: Unclassified
           Product: Odamex
           Version: 0.6.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Launcher
          Assignee: odamex-bug-reporter@xxxxxxxxxxxxx
          Reporter: ant+odamex.bugs@xxxxxxxxxxxx

It'd probably be more useful than the Ctrl+V default wx uses, since that won't
let you easily paste it into a terminal or stuff.

Trivial diff:

Index: odalaunch/src/lst_servers.cpp
===================================================================
--- odalaunch/src/lst_servers.cpp    (revision 3801)
+++ odalaunch/src/lst_servers.cpp    (working copy)
@@ -78,6 +78,9 @@

     if (wxTheClipboard->Open())
     {
+#ifdef __WXGTK__
+        wxTheClipboard->UsePrimarySelection(true);
+#endif
         wxTheClipboard->SetData( new wxTextDataObject(li.m_text) );
         wxTheClipboard->Close();
     }

-- 
You are receiving this mail because:
You are the assignee for the bug.

Other related posts:

  • » [odamex-bug-reporter] [Bug 982] New: "Copy Server Address" right click menu item should use X11 selection buffer - odamex-bugtracker