From kde-devel Sat Feb 27 19:35:08 1999 From: "Guillermo P. Marotte" Date: Sat, 27 Feb 1999 19:35:08 +0000 To: kde-devel Subject: fullscreen & kpanel & taskbar X-MARC-Message: https://marc.info/?l=kde-devel&m=92014432401281 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------2325526B8C37FE1167637D6F" This is a multi-part message in MIME format. --------------2325526B8C37FE1167637D6F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit It seems that my first message got lost in the hyperspace, so I'm sending it again (forgive me if it appears twice :) Guillermo. --------------2325526B8C37FE1167637D6F Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <36D4D206.91163C5@usa.net> Date: Thu, 25 Feb 1999 01:31:02 -0300 From: "Guillermo P. Marotte" X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i586) MIME-Version: 1.0 To: KDE Development 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) --------------2325526B8C37FE1167637D6F--