[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
nxkbd & nanowm: Don't move
From: Nils Faerber ####@####.#### Date: 4 Oct 2000 16:23:30 -0000 Message-Id: <00100418252206.07096@twincan> Hi! Is it possible to tell nanowm in any way that windows shall not be moved when the pointer is clicked and dragged in them? The nasty effect is that every time I tap on the nxkbd the keyboard flickers and is moved a bit. Npanel does not do so but here the focus does not seem to work right (at least no input reaches the nterm ;) Apart from this: VERY nice! CU nils faerber -- kernel concepts Engel & Faerber GbR Tel: +49-271-771091-12 Dreisbachstr. 24 Fax: +49-271-771091-19 D-57250 Netphen D1 : +49-170-2729106 -- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: nxkbd & nanowm: Don't move
From: "Greg Haerr" ####@####.#### Date: 4 Oct 2000 17:01:56 -0000 Message-Id: <008a01c02e25$62873670$6817dbd0@censoft.com> : Is it possible to tell nanowm in any way that windows shall not be moved when : the pointer is clicked and dragged in them? : The nasty effect is that every time I tap on the nxkbd the keyboard flickers : and is moved a bit. I've got this designed, but there was so much stuff in pre2 that I decided to release before I finished it. Basically, there's going to be a set of GR_WM_PROPS window property bits that will disallow movement and other things, settable for each window. Pre2 only has the NOFOCUS flag set, I'll implement a NOMOVE flag tonight. I've got another whole set of flags I'm building that will also allow the window to be shown without the caption bar, close box, etc, etc. Npanel does not do so but here the focus does not seem to : work right (at least no input reaches the nterm ;) Npanel is pretty much outdated at this point. : Apart from this: VERY nice! Thanks. Keep up the comments, I need them for pre3, and I'll try to get that out here quickly. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: nxkbd & nanowm: Don't move
From: "Greg Haerr" ####@####.#### Date: 9 Oct 2000 16:57:19 -0000 Message-Id: <0f1c01c03212$53850300$15320cd0@gregh> : 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. I've about got 0.89pre3 done, it has a GR_WM_PROPS_NOMOVE that is added to nxkbd, telling the window manager not to move the window. However, we're really talking about not moving the window only when the mouse is in the client area, this was added for testing purposes, and involves a quick change in nanowm. I'll take out the client-window move as well. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |