Problems with gtk calls

Sergey A. Teryohin sterekhin at yandex.ru
Sun May 14 23:40:23 CEST 2006


Hello


It is necessary to run application in desktop-layer, and it should be seen
on all virtual desktops, and it shouldn't be appeared in taskbar. The
code below used for implementation of this concept:


gtk_window_set_decorated((GtkWixfcendow *)window, false);
gtk_window_set_policy((GtkWindow *)window, FALSE, FALSE, TRUE);
gtk_widget_set_usize(window, gdk_screen_width(), gdk_screen_height());


gtk_window_stick((GtkWindow *)window);//doesn't work for xfce
gtk_window_set_keep_below((GtkWindow *)window, true); //doesn't work for 
xfce
set_window_layer(window, BELOW);

gtk_window_set_skip_taskbar_hint ((GtkWindow *)window, true);//doesn't 
work for xfce
gtk_window_set_skip_pager_hint ((GtkWindow *)window, true);

This code works perfectly for gnome, flushbox and iceWM, but it doesn't
work for xfce. The set_window_layer - based solution is taken from 
xfce-panel
sources, but it is not result in desired behavior - our window
overlaps another windows.

I looking for any solutions to resolve this problem, including 
configuring of xfce or configuring of X solutions.



More information about the Xfce4-dev mailing list