Gtk problems with GNOME

Hi, i have a problem using gtk_window_move with gnome. There are two
windows, and a function to move one window (not decorated) respect to
the other window (decorated) using gtk_window_move. The problem is the
result. Because not always is the expected. Sometimes the window
(undecorated) position is wrong. I want to know why.

This situation appear first when i use gtkwebkit with the undecorated
parent. Then i try without gtkwebkit, and usually works but not
always. So try more times if you choose the option without gtkwebkit.
The problem is show better if you attach a gtkwebkit to the not
decorated window (uncomment code in the main.c).

This program works in Ubuntu 12.04 with XFCE and not in Ubuntu 12.04 with gnome.
Can someone help me please?
I send you the main.c.
Compile: gcc -o main main.c `pkg-config --cflags --libs gtk+-2.0 webkit-1.0`


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]