[gtk+] csd: Drop the GTK_FRAME_EXTENTS requirement
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] csd: Drop the GTK_FRAME_EXTENTS requirement
- Date: Fri, 4 Apr 2014 05:30:55 +0000 (UTC)
commit fb9a6bb6d8d6b60b25c9b9853decbcea938f7863
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Apr 4 01:28:09 2014 -0400
csd: Drop the GTK_FRAME_EXTENTS requirement
We are getting bug reports from people who are irritated that
dialogs now have 'double headers' under any wm but gnome-shell.
As an example, xfwm4 seems to do ok with csd windows, and
on balance it seems better to have some invisible border issues
than to have double headers.
https://bugzilla.gnome.org/show_bug.cgi?id=727414
gtk/gtkwindow.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index bc9f8de..d791186 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -3615,9 +3615,6 @@ gdk_window_supports_csd (GtkWindow *window)
if (!gdk_screen_is_composited (screen))
return FALSE;
- if (!gdk_x11_screen_supports_net_wm_hint (screen, gdk_atom_intern_static_string
("_GTK_FRAME_EXTENTS")))
- return FALSE;
-
/* We need a visual with alpha */
visual = gdk_screen_get_rgba_visual (screen);
if (!visual)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]