lkml.org 
[lkml]   [1999]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Questions from a kernel hacker wannabe
Date
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

> The X server source will show you how to trap console switches - but
> you probably don't want to.

I can think of at least one compelling reason for doing so - bttv.

I run X and matroxfb consoles at precisely the same resolution, so if
I have a bttv app running in overlay mode (ie the bttv card is dumping
video directly onto the matrox's memory) and switch to a console, the
bttv data still appears on the screen. This is VERY annoying and it is
a pain to have to specifically minimise an individual window every
time I want to change to a console. So far, the only passable solution
has been to bind a key combo with E that will minimise the window and
chvt, but it's not ideal (and I have yet to find a way to bind a key
combo in a terminal, so when I switch back to X, I still have to
restore the bttv window).

In a perfect world, X would tell it's clients that it was about to
change the vt, but apparantly it doesn't.


- ---
_____ _ _ _____
| __ | |___ ___| |_ ___| __|_ _ ___ Chris "Ng" Jones
| __ -| | .'| _| '_|___|__ | | | | chris@black-sun.co.uk
|_____|_|__,|___|_,_| |_____|___|_|_| www.black-sun.co.uk
S o f t w a r e

"Linux is beating Windows" - David Cole, Microsoft Executive

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>

iQA/AwUBN8UiL5hmBipjerS3EQLGTgCgh19WBLmRY1sPT1i+wAx6+4JjPkYAoNyB
xheEU9kxBqnQTqiwx5zD4Fs9
=2tjp
-----END PGP SIGNATURE-----


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.040 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site