Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4834288

Should use XSETTINGS to get mouse click/drag zone on unix

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 5.0
    • client-libs
    • None
    • Fix Understood
    • sparc
    • solaris_9

      This came out of the discussion of 4731797, which was for windows.
      We need analogous work for Unix.

      >>>>Are there settings on
      >>>>Solaris/Linux, analogous to SM_CXDRAG and SM_CYDRAG, that
      >>>>we should take into account?
      >>>
      >>>I don't know of any such setting on X. Perhaps Valeriy knows of one.
      >>
      >>Under GNOME there's Net/DndDragThreshold XSETTINGS setting (8 by
      >>default) - that, judging by its name, is pertinent.
      >>
      >>Motif text components seems to be controlled with XmNselectThreshold
      >>property (5 by default).
      >>
      >>Motif List widget has the threshold hardcoded (at 3).
      >>
      >>IOW, the good thing about standards is that there's so many of them to
      >>choose from ;).
      >>
      >>I'd check Gtk2 and how it uses Net/DndDragThreshold. Since the
      >>XSETTINGS code is now in the workspace we can use it to read and track
      >>the properties we need.

            dav Andrei Dmitriev (Inactive)
            ehawkessunw Eric Hawkes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: