Hello,

        I am currently involved in an effort to make the Sawfish
        Window Manager multihead-aware. In this regard, I am
        facing a show-stopper, wherein the window of an application
        [ say xterm ], appears on the second screen, without the
        frame around it, whereas the client-window appearing on the
        DefaultScreen has it's frame appropriately generated. The
        Client-window is able to receive appropriate events and
        assumes focus upon a ButtonPress.  Moving the cursor from one
        screen to another is also generating the necessary events of
        EnterNotify & LeaveNotify.

        The sequence of X events that occur in the normal case of the
        appearance of a client-window on the Default Screen [alongwith
        the frame around it ] is :

        FocusIn---> MapNotify ---> VisibilityNotify---> Expose event.

        But, in the case of a client-window appearing on the second
        screen, the client-window does not get the frame owing to the
        following sequence of events :

        FocusIn---> MapNotify --->VisibilityNotify--->FocusOut

        The above sequence in the second case is suspected to be the
        cause of my problem.

        Upon reading through the "X" library calls, it becomes evident
        that Windows which have "InputOnly" class will not respond to
        Expose events.
                Moreover, the border-width in XCreateWindow is supposed
        to be zero for InputOnly windows. Sawfish uses both classes 
        while using XCreateWindow, but uses border-width of '0' always.

        Could anyone shed some light on the "X" perspective of this
        problem. The manner in which appropriate window-creation flags
        have to be dealt with, hold the key to this problem.

- Would be glad to hear some clarifications/solutions/opinions.

- Thank you very much

Shobhit Mathur


**************************Disclaimer************************************
      


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 ********************************************************************

Reply via email to