From pbrochard at common-lisp.net Fri Sep 19 21:23:48 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Fri, 19 Sep 2008 23:23:48 +0200 Subject: [clfswm-devel] grab-pointer problem in main mode In-Reply-To: <20080806135156.29000603@plonstic-laptop> (balleen plonstic's message of "Wed\, 6 Aug 2008 13\:51\:56 +0200") References: <20080806135156.29000603@plonstic-laptop> Message-ID: <84tzcbj0d7.fsf@grigri.elcforest> balleen plonstic writes: > Hi, > Hi, > First of all I'd like to apology for my English level. > Secondly, I'm a newbie to common lisp scripting so please be tolerant > of my responses and my remarques. > > My problem is that clfswm crashes when I want to move a frame in main > mode with mouse-1 & mod-1 shortcut. Whereas there is no problem in > second mode. > > I have clisp 2.42 (2007-10-16). I suppose that i had new-clx module > support. Its the clisp given by the package of ubuntu 8.04, and i can > run new-clx demos. > I downloaded the cvs version of clfswm but my problem persists. > > CLFSWM returns "*** -XLIB:GRAB-POINTER: NIL is not of type XLIB:CURSOR" > and nothing else. Is there a way to get more error messages ? > Please can you try the last svn/git version. I've been able to reproduce your bug: a brutal (setf cursor 'toto) before the xlib:grab-pointer :) Now all might works well. The funny thing is that I haven't this bug with clisp 2.44 nor with sbcl 1.0.16. > Concerning multi frames for the gimp, I'll see in detail clfswm code, > keeping in mind your remarques. > There is now a GIMP layout in CLFSWM: - A 'main window layout': The windows in the main window list are tiled on one side of the frame( 80%) Others windows are on the other side (20%) all above each others. - A (strict) sloppy focus policy for the GIMP frame. Press F8 to add a window in the main window list Press F9 to remove it Press F10 to clear the main window list I'll give more details in another mail with a link to a video to see this layout in action. Regards, Philippe > Thanks, > Alain > >> Salut, bienvenu ? bord :) >> >> Pour ton probl?me de grab-pointer, quelle version de CLFSWM >> utilises-tu ? (Il vaut mieux utiliser le version SVN/GIT). Quelle est >> ta version de clisp et quelle version de CLX utilises-tu (MIT ou New >> clx) ? Sinon, peux-tu donner le message complet ? >> >> Pour le GIMP, je suis en train de travailler dessus avec un layout >> d?dier ? ses fen?tres. Sinon, j'ai fais une petite vid?o pour le >> layout du Gimp : live-hack.ogv. On peut definir un hook ? la creation >> de la fen?tre et rep?rer si c'est une fen?tre du Gimp avec les >> fonctions xlib:window-name et xlib:get-wm-class et ensuite arranger >> les frames comme on veut. >> >> Philippe >> >> PS: Cette discution a tout ? fait sa place sur la mailing list. Elle >> est en anglais mais tu peux parler en fran?ais et on traduira si le >> besoin s'en fait sentir. >> >> >> > bonjour, >> > >> > j'utilise depuis quelques temps clfswm et je le trouve fort >> > pratique. Je suis d'abord pass? par des wm "classiques" comme >> > m?tacity puis par ceux un peu moins commun comme wmii sur lequel je >> > travaille majoritairement encore. Je reste cependant sur clfswm ? >> > la maison. Je n'ai pas encore exploit? toutes ses propri?t?s mais >> > pour ce que j'y ai d?j? d?couvert c'est tip top. Je n'ai pas encore >> > tous saisi du fonctionnement et je suis nouveau dans le monde de >> > common lisp. Donc veuillez excusez mes remarques si elles ne semble >> > pas fond?es. >> > >> > Je me trouve confronter ? un probl?me lorsque je souhaite utiliser >> > le d?placement de fen?tre en utilisant le raccourci sourie-1 & >> > mod-1 dans le mode principale. clfswm s'arr?te et retourne "*** - >> > XLIB:GRAB-POINTER: NIL is not of type XLIB:CURSOR". Il arrive la >> > m?me chose lorsque je clic sur le fond d'une frame qui n'a pas de >> > fen?tre et qui n'est pas mise en premier plan. >> > >> > Autrement, existerait-il une m?thode permettant de d?finir une >> > organisation de frames au lancement d'une application particuli?re, >> > par exemple GIMP ? Peut-?tre en cr?ant un "hook" ? >> > >> > Pour informations, j'utilise une distribution GNU/Linux Ubuntu. Je >> > lance clfswm avec un script .xsession par GDM. CLFSWM est lanc? par >> > "clisp -K full "$XDG_DATA_HOME/clfswm/load.lisp" & wmpid=$!" > _______________________________________________ > clfswm-devel mailing list > clfswm-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/clfswm-devel > > -- Philippe Brochard http://hocwp.free.fr From balleen.plonstic at gmail.com Sun Sep 21 12:07:30 2008 From: balleen.plonstic at gmail.com (balleen.plonstic) Date: Sun, 21 Sep 2008 14:07:30 +0200 Subject: [clfswm-devel] grab-pointer problem in main mode In-Reply-To: <84tzcbj0d7.fsf@grigri.elcforest> References: <20080806135156.29000603@plonstic-laptop> <84tzcbj0d7.fsf@grigri.elcforest> Message-ID: <20080921140730.298b5db7@alun-laptop> Le Fri, 19 Sep 2008 23:23:48 +0200, Philippe Brochard a ?crit : > Hi, Hi, > Please can you try the last svn/git version. I've been able to > reproduce your bug: a brutal (setf cursor 'toto) before the > xlib:grab-pointer :) > Now all might works well. > The funny thing is that I haven't this bug with clisp 2.44 nor with > sbcl 1.0.16. Yes, all works well now (with svn version 165 and clisp 2.42). > There is now a GIMP layout in CLFSWM: > - A 'main window layout': The windows in the main window list are > tiled on one side of the frame( 80%) > Others windows are on the other side (20%) all above each > others. > > - A (strict) sloppy focus policy for the GIMP frame. > > Press F8 to add a window in the main window list > Press F9 to remove it > Press F10 to clear the main window list > > I'll give more details in another mail with a link to a video to see > this layout in action. So great, I'm going to try it, immediately ! Thanks a lot for all of this stuff. > Regards, > Philippe Best regards, Alain From pbrochard at common-lisp.net Sun Sep 21 12:44:38 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 21 Sep 2008 14:44:38 +0200 Subject: [clfswm-devel] grab-pointer problem in main mode In-Reply-To: <20080921140730.298b5db7@alun-laptop> (balleen plonstic's message of "Sun\, 21 Sep 2008 14\:07\:30 +0200") References: <20080806135156.29000603@plonstic-laptop> <84tzcbj0d7.fsf@grigri.elcforest> <20080921140730.298b5db7@alun-laptop> Message-ID: <84zlm1llc9.fsf@grigri.elcforest> balleen plonstic writes: > Le Fri, 19 Sep 2008 23:23:48 +0200, > Philippe Brochard a ?crit : > >> Hi, > Hi, > >> Please can you try the last svn/git version. I've been able to >> reproduce your bug: a brutal (setf cursor 'toto) before the >> xlib:grab-pointer :) >> Now all might works well. >> The funny thing is that I haven't this bug with clisp 2.44 nor with >> sbcl 1.0.16. > Yes, all works well now (with svn version 165 and clisp 2.42). > Ah, cool :) >> There is now a GIMP layout in CLFSWM: >> - A 'main window layout': The windows in the main window list are >> tiled on one side of the frame( 80%) >> Others windows are on the other side (20%) all above each >> others. >> >> - A (strict) sloppy focus policy for the GIMP frame. >> >> Press F8 to add a window in the main window list >> Press F9 to remove it >> Press F10 to clear the main window list >> >> I'll give more details in another mail with a link to a video to see >> this layout in action. > > So great, I'm going to try it, immediately ! > Have a look here for a GIMP layout demo: http://common-lisp.net/project/clfswm/gimp-layout.ogv > Thanks a lot for all of this stuff. > De nada and thanks for your feedback :) Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Wed Sep 24 13:33:16 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Wed, 24 Sep 2008 15:33:16 +0200 Subject: [clfswm-devel] 0809 CLFSWM release Message-ID: <84vdwlllcz.fsf@grigri.elcforest> Hi everybody, I'm very happy to announce a new CLFSWM release: http://common-lisp.net/project/clfswm/clfswm-0809.tar.gz Since the last release, changes are as follow: * Colors nearly everywhere (Menu, Info, Help...) * A more general and simple way to handle corners: see src/clfswm-corners.lisp and doc/corner.txt or doc/corner.html Now a virtual keyboard is accessible and a terminal is available like the quake console. * Hide/Unhide child and Raise/Lower child: New functions. http://common-lisp.net/project/clfswm/raise-lower.ogv http://common-lisp.net/project/clfswm/hide-unhide.ogv * A new GIMP layout. See http://common-lisp.net/project/clfswm/gimp-layout.ogv for an example video. * Each frame can have a different focus policy. One of: click to focus (the default), sloppy focus, strict sloppy focus (sloppy focus only on the current frame), sloppy select (select a frame on mouse over). http://common-lisp.net/project/clfswm/focus-policy.ogv * A fast layout switch method. * A switch to last child method (Shift+tab by default). * A beginning of configuration from clfswm. Each global configuration variables follow the documentation syntax: "Config(group): documentation". The next step is a way to change them from clfswm and store the new values in the configuration file. * Some internal change for displaying children with less flickering. Hope you'll like it. As always, the main site is here: http://common-lisp.net/project/clfswm/ And the clfswm trac is available here: http://trac.common-lisp.net/clfswm/ Have fun, Philippe -- Philippe Brochard http://hocwp.free.fr