unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: override_redirect of X Window System
Date: Thu, 25 Sep 2003 23:08:54 +0200	[thread overview]
Message-ID: <785B19D7-EF9C-11D7-B9F3-00039363E640@swipnet.se> (raw)
In-Reply-To: <1064483783.3026.4.camel@littlegreen>


> On Wed, 2003-09-24 at 19:17, Jan D. wrote:
>> And that is what I said.
>
> I'm confused then. Why is it relevant? I don't think the functionality
> in that bug lets apps place themselves above the panel, I think it's
> there so users can move them  there.

Because if you can move the title bar above y=0, you basically have
fullscreen.  But Metacity don't let you do that.  Every other WM allows
that.

>
>> The good things about standards is that there are so many to choose
>> from :-)
>
> Not here :) There is only one protocol for fullscreening apps that I'm
> aware of.

Yes, but it is not a "standard" in  the sence, "included in the X
specification".  Freedesktop is separate from X, which is defined by
the X organisation.  So you can be complient to X without doing EWMH.

>
>> Seriously, there are WMs that where created before EWMH existed.  One
>> is CDE, which is used a lot.  Others in use still, are fvwm 1.x, 
>> olvwm,
>> mwm and KDE 1.x.
>
> Sure, but so what? There are people who still use Netscape 1, does that
> mean we shouldn't use anything not available in that version on the 
> web?

In the case of Emacs, yes.  Emacs has the unique property of being
the same in many platforms.  It would be a bad thing (IMHO) if full
Emacs functionallity relied on running Gnome or KDE.  Emacs is the same
on all X implementations.  It would be a bad thing if we changed that.

>> If we add a solution to Emacs that says "call this function to get
>> fullscreen" and then it does not work on peoples WMs, I think we are
>> going to see bug reports.
>
> If it's done using override-redirect it will generate more. Believe me,
> this is the technique we use currently in Wine, and it breaks pretty
> much everything (z-ordering, panels etc). There's a reason that 
> protocol
> was developed, and it's because it's badly needed.

I don't disagreee on the protocol, I think it is a good thing.  But
how it should be incorporated into Emacs is another thing.  If you read 
my
post you will see I talk against unsing override-rederict.
I rather put a general mechanism that works on every platform
at the C level and then create something like EWMH.el at the lisp
level.  After all, platform specific lisp packages is not uncommon, but
the C level should (again IMHO) be generic.

>
>> And if there is one response I don't like
>> w.r.t. things that doesn't work, it is "please change your
>> unrelated app/version/OS... to something else".
>
> Hacks for ancient/buggy WMs don't belong in emacs. If somebody insists
> on using software that doesn't keep up with the times, then they should
> be prepared to sacrifice some features.

I have no statistics, but I think there are more users running CDE
(without EWMH) than Gnome (or any other EWMH complient WM) today.

Hacks for old stuff do exist in Emacs.  WMs that don't implement EWMH 
is not "ancient/buggy", the spec has only existed for a year or so.  If 
it
where five years it would be a different matter.

>
>> Exposing XSendEvent can be potentially useful for more things than
>> fullscreen.  For example, expand vertically and/or horizontally that
>> are also in EWMH.
>
> That's true, but XSendEvent as an API is rather cumbersome, not to
> mention large. I'm not sure it makes sense to try and expose so much of
> Xlib in elisp.

It is not much different from the selection stuff that is exposed to 
elisp
today.

	Jan D.

  reply	other threads:[~2003-09-25 21:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-17  2:45 override_redirect of X Window System Kazu Yamamoto
2003-09-18 11:05 ` Richard Stallman
2003-09-19 15:24 ` Jan D.
2003-09-22 17:32   ` Mike Hearn
2003-09-24 17:14     ` Jan D.
2003-09-24 17:40       ` Mike Hearn
2003-09-24 18:17         ` Jan D.
2003-09-25  9:56           ` Mike Hearn
2003-09-25 21:08             ` Jan D. [this message]
2003-09-25 22:06               ` Kim F. Storm
2003-10-05 17:11 ` Jan D.
2003-10-08  0:04   ` Kazu Yamamoto

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=785B19D7-EF9C-11D7-B9F3-00039363E640@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    /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).