From: Christian Grothaus <christian.grothaus@uni-bielefeld.de>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] color of window border
Date: Tue, 30 Sep 2003 17:09:19 +0200 [thread overview]
Message-ID: <2324ef413663ec175a9c6128abfc5499@uni-bielefeld.de> (raw)
In-Reply-To: <91d6a5598b745cdfb742984515f4ce64@vitanuova.com>
On Tue Sep 30 16:08:56 MDT 2003, rog@vitanuova.com wrote:
> if your window doesn't move, you *can* change the window border colour
> (probably by drawing on _screen->image, although i haven't checked).
Cool, it works! (Since I once tried to write a screensaver myself, I
tried it out.) I did
back=allocimage(display, Rect(0, 0, 1, 1), CMAP8, 1, DBlack);
draw(_screen->image, _screen->image->r, back, nil, ZP);
(If you put the draw() call in eresized, it doesn't even matter if the
window is moved or resized.)
But how is it possible in rio to create a window exactly as large as the
screen (without modifying the source)? Also, for a screensaver, the mouse
has to be hidden (or disabled if the screen is to be locked).
It would be nice to have a screensaver/-locker in Plan 9, maybe one that
incorporates Andrey's xscreensaver ports! We have all the pieces, there's
just some cosmetics left to do.
Christian
next prev parent reply other threads:[~2003-09-30 15:09 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-30 13:58 a.b
2003-09-30 13:59 ` Lucio De Re
2003-09-30 14:08 ` rog
2003-09-30 15:09 ` Christian Grothaus [this message]
2003-09-30 15:13 ` Fco.J.Ballesteros
2003-09-30 15:16 ` Russ Cox
2003-09-30 15:27 ` Christian Grothaus
2003-09-30 15:30 ` mirtchov
2003-09-30 15:38 ` Rob Pike
2003-09-30 16:59 ` Christian Grothaus
2003-09-30 14:19 ` ron minnich
-- strict thread matches above, loose matches on Subject: below --
2003-09-30 18:00 Richard C Bilson
2003-09-30 16:52 Richard C Bilson
2003-09-30 16:33 ` Sam
2003-09-30 17:59 ` boyd, rounin
2003-09-30 18:49 ` C H Forsyth
2003-09-30 20:34 ` ron minnich
2003-09-30 23:45 ` Rob Ristroph
2003-10-01 0:24 ` Charles Forsyth
2003-10-01 0:50 ` matt
2003-09-30 23:37 ` boyd, rounin
2003-10-01 1:57 ` mirtchov
2003-10-01 2:02 ` ron minnich
2003-10-01 0:40 ` Charles Forsyth
2003-10-01 1:00 ` Christopher Nielsen
2003-10-01 5:32 ` Dan Cross
2003-09-30 20:36 ` Wes Kussmaul
2003-09-30 20:32 ` boyd, rounin
2003-09-30 20:58 ` mirtchov
2003-09-30 15:10 a.b
2003-09-30 13:36 a.b
2003-09-30 13:51 ` rog
2003-09-30 14:03 ` mirtchov
2003-09-30 14:20 ` ron minnich
2003-09-30 14:24 ` Sam
2003-09-30 16:11 ` Joel Salomon
2003-09-30 16:33 ` matt
2003-10-01 4:04 ` splite
2003-10-01 10:16 ` matt
2003-10-01 10:06 ` boyd, rounin
2003-09-30 14:59 ` andrey mirtchovski
2003-09-30 15:13 ` C H Forsyth
2003-09-30 15:20 ` ron minnich
2003-09-30 15:39 ` C H Forsyth
2003-09-30 13:51 ` Christian Grothaus
2003-09-30 17:36 ` boyd, rounin
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2324ef413663ec175a9c6128abfc5499@uni-bielefeld.de \
--to=christian.grothaus@uni-bielefeld.de \
--cc=9fans@cse.psu.edu \
/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.
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 NNTP newsgroup(s).