Updated version:
#include <X11/extensions/Xcomposite.h>
#include <gdk/gdk.h>
#include <gdk/gdkx.h>
// gcc -g intel.c -o intel-test `pkg-config --cflags gtk+-2.0 gdk-2.0`
`pkg-config --libs gtk+-2.0 gdk-2.0`
int main(int argc, char *argv[])
{
gdk_init(&argc, &argv);
while(1)
{
GdkScreen *default_gdk_screen = gdk_screen_get_default();
if (!default_gdk_screen)
return 0;
printf("%s\n",
gdk_x11_screen_get_window_manager_name(default_gdk_screen));
gtk_main_iteration_do (FALSE);
}
}
It seems that "gdk_x11_screen_get_window_manager_name" actually works,
but takes too long to switch and the 8s timeout kicks in. I've also
installed 1:2.26.0-1ubuntu4 and it is the first version that shows this
behaviour.
--
[regression] Cannot enable Compiz from gnome-appearance-properties
https://bugs.launchpad.net/bugs/420308
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs