Closed Bug 99118 Opened 24 years ago Closed 24 years ago

x remote client can't ever send commands

Categories

(Core Graveyard :: X-remote, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: blizzard, Assigned: blizzard)

Details

Attachments

(1 file)

If you try to use mozilla -remote with some window managers with the new server code in place there's a good chance that it won't find a running mozilla. My new server code exposed this bug. The problem is that the client walks only the list of windows found that are direct decendants of the root window. Because of the way that window managers work you have to walk down the full tree to find the managed windows and only find windows with WM_STATE on them to check to see if they have the _MOZILLA_VERSION atom on them. The only reason that the old code worked at all is that I used to listen to remote requests on popup windows which aren't managed by the window manager. Fancy that. Patch follows.
Attached patch client patchSplinter Review
easy enough. sr=alecf
r=bryner
Checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: Browser-General → X-remote
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: