[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: fullscreen & kpanel & taskbar
From: "Guillermo P. Marotte" <g-marotte () usa ! net>
Date: 1999-02-27 19:35:08
[Download RAW message or body]
It seems that my first message got lost in the hyperspace, so I'm
sending it again (forgive me if it appears twice :)
Guillermo.
Message-ID: <36D4D206.91163C5@usa.net>
Date: Thu, 25 Feb 1999 01:31:02 -0300
From: "Guillermo P. Marotte" <g-marotte@usa.net>
X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: KDE Development <kde-devel@kde.org>
Subject: fullscreen & kpanel & taskbar
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello.
Due to the new always-on-top kpanel's feature, I've to change the code
in aktion to make it work in full screen. The code for make it go full
screen looks like (as suggested in a previous thread):
QPoint p;
p.setX(0);
p.setY(0);
oldGeometry = KWM::geometry( winId(), false);
recreate(NULL, WStyle_Customize | WStyle_NoBorder | WType_Popup,
p, false);
setGeometry( 0, 0, desktopWidth, desktopHeight );
show();
It works, but then when I want to go back to normality, using:
recreate(NULL, WStyle_Customize | WStyle_NormalBorder |
WType_TopLevel, p, false);
show();
KWM::setGeometry( winId(), oldGeometry);
... strange things happens: the keyboard doesn't works any more, and
the window remains full-screen!
What's wrong with the code? Is there any other way to make a window
full-screen? (how the screensavers do the trick?)
I'll appreciate any help.
Cya!
Guillermo.
-----------------------------------------------------------------
(__)
(oo) U
/-------\/ /---V
/ | || * |--| .
* ||----||
~~ ~~
Cow at 1 meter. Cow at 100 meters. Cow at 10,000 meters.
-----------------------------------------------------------------
Guillermo P. Marotte
g-marotte@usa.net
ICQ 10088842
Av. Gorritti 4854 -
(042) 898030
Santa Fe - Argentina
http://www.geocities.com/SiliconValley/Haven/3864 (aKtion! & KModBox)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic