Closed Bug 312845 Opened 20 years ago Closed 20 years ago

Allow moving a XUL window by dragging by a designated element

Categories

(Core :: XUL, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: alex, Assigned: jag+mozilla)

Details

Attachments

(1 file)

When a toplevel window has window manager decorations (ie borders and a titlebar), it can be moved by dragging by its title bar. Applications with borderless windows usually allow the window to be moved by dragging on inactive window areas (see bug 132675) or, alternatively, by dragging by a designated widget/area. I'm attaching a small patch which modifies the 'resizer' element to support the latter. Currently, the 'dir' attribute specifies how dragging the resizer operates on a widnow. I've added a new 'moveonly' value to the 'dir' attribute. Now, a <resizer dir="moveonly"/> element can be dragged to move a window without resizing it.
There already is such an element <titlebar>.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: