unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: kazu@iijlab.net, emacs-devel@gnu.org
Subject: Re: Window manager decorations
Date: Sat, 4 Oct 2003 19:46:48 +0200 (CEST)	[thread overview]
Message-ID: <200310041833.h94IXamh025105@stubby.bodenonline.com> (raw)
In-Reply-To: <20030929.141614.154546801.kazu@iijlab.net> "from Kazu Yamamoto at Sep 29, 2003 02:16:14 pm"

Hello.

I'd like to make a change that will determine the type of WM at runtime.
However, to do so, I will change the fullscreen move routines to something
more generic (i.e. compensate for any kind of move, not just to 0, 0).

As I see it w32 also uses the FULLSCREEN_MOVE_WAIT emum value.  But
is it really needed? Is x_check_fullscreen_move needed at all on w32?  The
reason I ask is I have the impression that w32 does not have any window
managers at all (or just one depending on how you see it).  Therefore the
behaviour should be consistent.

I think only X needs this adjustment, so I'd prefer to keep the relevant
new parts in the x output structure.  This means that FULLSCREEN_MOVE_WAIT
would also be moved and renamed to something in xterm.h only.  This will
break w32 build, so I'd like to know how to fix it again (remove
x_check_fullscreen_move or keep the renamed name in the generic frame
structure).  BTW, I do not have the capability to build on w32.


Thanks,

	Jan D.

> Hello,
> 
> I'm suffering from the recent change, probably the one below:
> 
> ---
> 2003-09-19  Jan DjESC,Adrv  <jan.h.d@swipnet.se>
> 
>         * xterm.c (x_set_offset): Take window manager decorations
>         into account.
> ---
> 
> Consider the following code:
> 	(modify-frame-parameters (selected-frame) '((top . 0))
> 
> There are two kinds of window managers.
> 
> 	Type A: does not adjust the height of a window title bar
> 		e.g. enlightment
> 	Type B: adjust the height of a window title bar
> 		e.g. window maker
> 
> Before the change:
> 	Type A: the title bar is hidden over the top of screen.
> 	Type B: the title bar lays just on the top of screen.
> 
> After the change:
> 	Type A: the title bar lays just on the top of screen.
> 	Type B: A space whose height is the same of the title bar 
>                 created between the top of screen and the title bar.
> 
> Thus, this change is kind to Type A but not friendly to Type B.

       reply	other threads:[~2003-10-04 17:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030929.141614.154546801.kazu@iijlab.net>
2003-10-04 17:46 ` Jan D. [this message]
2003-10-05 11:21   ` Window manager decorations Jason Rumney
2003-10-05 13:47     ` Jan D.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200310041833.h94IXamh025105@stubby.bodenonline.com \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=kazu@iijlab.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).