← Back to team overview

compiz team mailing list archive

[Bug 711567] Re: Double window controls in Chromium after enabling "Use System Title Bar and Borders"

 

Still happens in 12.10.

Very simple testcase:

#include <gtk/gtk.h>

gboolean timeout(gpointer data) {
  gtk_window_unmaximize(GTK_WINDOW(data));  
  return FALSE;
}

int main (int argc, char *argv[]) {
  GtkWidget *window;

  gtk_init(&argc, &argv);

  window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
  g_signal_connect(window, "destroy", G_CALLBACK(gtk_main_quit), NULL);
  g_timeout_add(100, timeout, window);

  gtk_window_set_decorated(GTK_WINDOW(window), FALSE);
  gtk_window_maximize(GTK_WINDOW(window));

  gtk_widget_show(window);

  gtk_main();

  return 0;
}

The window should not have decorations, but it does.

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/711567

Title:
  Double window controls in Chromium after enabling "Use System Title
  Bar and Borders"

To manage notifications about this bug go to:
https://bugs.launchpad.net/chromium-browser/+bug/711567/+subscriptions