nanogui: nxkbd & nanowm: Don't move
Subject:
Re: nxkbd & nanowm: Don't move
From:
Stefan Butlin ####@####.####
Date:
9 Oct 2000 10:02:37 -0000
Message-Id: <Pine.LNX.4.21.0010091044280.25973-100000@sbutlin.3glab.com>
Nils Faerber wrote:
> Is it possible to tell nanowm in any way that windows shall not be moved when
> the pointer is clicked and dragged in them?
I also found this a problem with nxkbd. My fix (until Greg provides the
proper way to do it with window properties) was to add
GR_EVENT_MASK_BUTTON_UP to the GrSelectEvents() call in
demos/nxkbd/nxkbd.c.
See the code comments for the GsDeliverButtonEvent() function in
nanox/srvevent.c for why this provides a workaround to the problem.
Cheers
Stef