[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wayland vs X



On Sat, Mar 12, 2022 at 03:05:03PM -0500, Greg Wooledge wrote:
> On Sat, Mar 12, 2022 at 07:29:19AM +0100, tomas@tuxteam.de wrote:
> > With X, the window manager is the one implementing window decorations
> > (this isn't in the protocol, but it is a strong convention applications
> > had to follow in practice).
> 
> Except for when Google Chrome decided to implement its own window
> decorations, which were of course completely foreign compared to
> the rest of the toplevel windows on my display.

I haven't ever tried Chrome or Chromium (and I'll try to avoid them
for as long as I can): you reinforce me on that :)

> Fortunately, they decided to revert that decision, and today you can
> configure Google Chrome to look and act like a normal window.

Phew!

> > I don't look forward to the day where the browser gives some random
> > javascript advertisment control over its absolute position on my
> > screen [...]
> 
> Are you kidding?  Javascript could do this *ages* ago.

In the classical setting it can only beg the window manager (through
ICCCM). The latter has the last word on it.

> I wrote a series of little pages that showed how insidiously evil
> Javascript actually is (or was):
> 
> https://wooledge.org/~greg/jsabuse/

Nice :-)

(FWIW: I can click at 3.html and 4.html: I guess Mozilla begs
the WM to move/resize, but the WM says "nope".

> Some of them still work.  Some do not, as current browser versions have
> tightened up their settings and no longer give Javascript quite as much
> freedom as they originally did.

I sure hope. But I'm sceptical: the browser maker's perspective
is the ad industry's perspective (I'm not assuming some evil
conspiracy, just plain boring cultural immersion).

> > or over its window decorations.
> 
> I wouldn't know anything about that in particular.

I don't even want to ;-)

Cheers & thanks for the little javascript snippets. You definitely
picked your background colours with fury :-D

-- 
tomás

Attachment: signature.asc
Description: PGP signature


Reply to: