maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [Solved/Impossible] Cheating maemo's window manager? (https://talk.maemo.org/showthread.php?t=63862)

gri 2010-10-15 15:10

[Solved/Impossible] Cheating maemo's window manager?
 
Is there a way to cheat the maemo window manager to force the "last stacked window" button appear and be clickable without really creating a stacked widget? (for example by doing some evil X11 calls)

So a application using QGraphicsView for all interaction won't need to run in fullscreen and provide its own back buttons.

TheBootroo 2010-10-16 18:33

Re: Cheating maemo's window manager?
 
same pb here : a qt program in fullscreen with maemo stacked windows are graphically bugged so i needed to do it a qstacekdwidget and use my own titlebar and back buttons and home button (with dbus calls)

but it works and give a really consistency to the apps so where is the pb ?

conny 2010-10-16 20:02

Re: Cheating maemo's window manager?
 
AFAIK you have to set the right Xatoms on your application. The window manger will pick those up and adjust itself accordingly.

Have a look at the HildonStackableWindow class here: http://maemo.gitorious.org/hildon/hi...kable-window.c

gri 2010-10-17 13:24

Re: Cheating maemo's window manager?
 
After playing around a bit with the Xatoms, there is no way to cheat hildon-desktop without modifying its source. The transition only happens between to real X11 windows and the windows don't even receive a signal except "close" from the wm :(


All times are GMT. The time now is 16:39.

vBulletin® Version 3.8.8