Re: Panels with compiz
"Thomas Leonard" <[email protected]>
| Newsgroups | gmane.comp.desktop.rox.devel |
|---|---|
| Message-ID | <[email protected]> |
2008/4/27 Lucas Hazel <[email protected]>: > On Fri, 25 Apr 2008 23:24:52 +1000 > > Lucas Hazel <[email protected]> wrote: > > > > > I just upgraded to compiz-fusion 0.7.4, and the panels come off the > > screen. > > Not sure if this a bug with ROX or compiz though. > > > > Here is a screenshot of the problem, http://i27.tinypic.com/so1stu.jpg > > I'm almost certain this is a ROX related bug now. I did a quick test to > see how compiz handles dock type windows: > > #include <gtk/gtk.h> > > int main(int argc, char **argv) { > GtkWidget *panel; > gtk_init(&argc, &argv); > panel = gtk_window_new(GTK_WINDOW_TOPLEVEL); > gtk_window_set_type_hint(GTK_WINDOW(panel), > GDK_WINDOW_TYPE_HINT_DOCK); > gtk_widget_show(panel); > gtk_main(); > return 0; > } > > Under compiz this immediately put the window onto the edge of the > screen, made it sticky and ignored by pagers and tasklists. So the only > requirement under compiz to create a panel is to set the dock type > window hint. > > I've been playing with the X11 magic in gui_support.c and panel.c but > can't seem to pinpoint the cause. Is there anywhere else I should be > looking? Or any ideas what might cause this effect? Is panel_setup_struts() causing the problem? -- Dr Thomas Leonard http://rox.sourceforge.net GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone