On Mon, Jul 07, 2003 at 09:09:42AM +0200, Olivier Chapuis wrote: > On Sun, Jul 06, 2003 at 02:12:54PM +0200, [EMAIL PROTECTED] wrote: > > On Sun, Jul 06, 2003 at 07:24:33AM +0200, Olivier Chapuis wrote: > > > On Sat, Jul 05, 2003 at 10:15:25PM +0200, [EMAIL PROTECTED] wrote:
> It seems to work as mozilla set it and the good algo is choosen. > (All KDE >= 2 and GNOME2 apps set this prop). > > > > By the way, should we implement _NET_WM_STATE_FULLSCREEN? > > > > Yes. I'd like to do it myself to gather some experience with the > > ewmh code. > > > > It seems that this start to work. But what about a FullScreen command > which removes the decoration, MoveResize the window to the size > of the screen and possibly put the window in a given layer: > > FullScreen [bool] [StayOnTop|layer x y] [size_hint_override] > > then we define defaults fvwm func: > > AddToFunc EWMHFullScreenOn I FullScreen On > AddToFunc EWMHFullScreenOff I FullScreen Off > > which are called when needed by the ewmh code. I'd prefer doing this via a function. We have way too many move/ resize/maximize functions already. The new ewmh code calls the ResizeMoveMaximize command. > > > Also you just wrote all the code for _NET_MOVERESIZE_WINDOW but > > > the trivial stuff in fvwm/ewmh* > > > > Yes, I think so. The logic in the __cr_get_grav_position() > > function should return the requested frame position. It needs > > some work on the interface, though. > > What about building a ConfigureRequest event and send it to the > "events code" with an override_gravity arg (which forces icccm > motion algo and use the override_gravity gravity in the place > of the app gravity)? Thath's what I thought about. To keep the code clean, the gravity should be passed in through the argument list, as opposed to temporarily modifying the fw->hints.win_gravity field. And it should be safe to assume that an application using this protocol uses the ICCCM conformant way of specifying its position in ConfigureRequests. Bye Dominik ^_^ ^_^ -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
