Files
gtk3/gtk
Emmanuele Bassi c5e5ee6749 window: Check if we can use CSD before enabling them
The change in 03213b9509 changed the rules
as to when CSD can be enabled, but it also unconditionally enables CSD
with the implicit assumption that client-side shadows were the real
issue, and that we could work around that by drawing our own borders.
This also means that setting a titlebar for a GtkWindow will enable CSD
unconditionally.

In reality, some window managers (like Matchbox) *only* support
server-side decorations, and will ignore all hints to the contrary, to
the point of drawing decorations at random locations on top of the
window.

Since CSD are enabled unconditionally, the GTK_CSD environment variable
is also not a suitable escape hatch.

In the grand tradition of asking ourselves if we should do something
just because we can, we should split the environment checks from the
checks on what the user requested; by doing that, we can also check
when enabling client-side decorations, and ideally bail out if needed.

https://bugzilla.gnome.org/show_bug.cgi?id=750343
2015-06-03 16:06:10 +01:00
..
2015-06-02 09:08:14 -04:00
2015-02-02 09:31:27 +01:00
2015-02-13 18:01:56 +01:00
2015-06-02 09:08:15 -04:00
2014-04-05 02:06:29 -04:00
2014-02-07 13:06:10 -05:00
2014-02-12 08:08:03 -05:00
2014-01-08 18:21:26 -05:00
2014-02-05 15:08:42 -05:00
2015-05-10 15:37:55 -04:00
2014-02-07 09:42:12 -05:00
2014-12-23 18:54:11 -05:00
2014-01-20 12:31:21 -05:00
2014-01-20 12:31:21 -05:00
2014-12-08 17:30:35 -05:00
2014-01-20 12:31:21 -05:00
2014-10-01 00:50:25 -04:00
2014-02-07 13:32:47 -05:00
2015-03-26 14:01:53 +00:00
2014-05-20 09:54:01 -04:00
2014-06-16 17:31:56 -04:00
2014-06-16 17:31:56 -04:00
2014-06-28 01:51:24 -04:00
2015-05-12 18:44:59 +02:00
2014-02-16 22:57:24 -05:00
2014-06-26 22:02:18 -04:00
2015-01-02 23:15:55 +00:00
2014-02-19 18:56:05 -05:00
2014-01-20 12:31:21 -05:00
2014-01-20 12:31:21 -05:00
2014-01-20 12:31:21 -05:00
2014-11-30 17:20:38 -05:00
2014-04-05 02:06:29 -04:00
2014-12-30 13:46:11 +01:00
2015-06-02 09:08:15 -04:00
2014-02-07 13:06:10 -05:00
2014-05-20 09:54:01 -04:00
2015-03-22 15:17:27 -04:00
2015-06-02 09:08:15 -04:00
2014-02-07 13:06:10 -05:00
2015-06-02 09:08:15 -04:00
2014-10-24 16:12:33 -04:00
2015-05-16 18:04:40 -04:00
2014-02-19 18:56:05 -05:00
2015-06-02 09:08:15 -04:00
2015-04-05 22:07:59 -04:00
2014-01-20 12:31:21 -05:00
2014-01-20 12:31:21 -05:00
2014-02-07 13:06:10 -05:00
2015-04-05 22:09:04 -04:00
2013-11-09 19:27:53 -05:00
2014-10-03 23:20:18 -04:00
2014-02-28 03:08:11 +01:00
2015-05-30 06:00:14 +02:00
2014-02-12 18:42:50 -05:00
2015-04-26 10:19:26 -04:00
2015-04-26 10:19:26 -04:00
2014-01-20 12:31:21 -05:00
2014-04-05 02:06:29 -04:00
2014-10-27 07:05:22 -04:00
2014-12-12 20:52:35 -05:00
2015-03-22 15:14:42 -04:00
2015-06-02 09:08:15 -04:00
2014-05-13 08:45:00 -04:00
2015-02-23 22:25:11 -05:00
2014-02-19 18:56:05 -05:00
2015-04-27 01:15:23 -04:00
2014-01-20 12:31:21 -05:00
2015-06-02 09:08:15 -04:00
2015-03-22 11:44:37 -04:00
2015-06-02 09:08:15 -04:00
2014-01-21 12:41:16 -05:00
2014-01-20 12:31:21 -05:00
2015-06-02 09:08:15 -04:00
2014-10-29 06:49:59 -04:00
2014-01-20 12:31:21 -05:00
2015-02-13 08:51:28 -05:00
2014-01-20 12:31:21 -05:00
2014-01-20 12:31:21 -05:00
2015-06-02 09:08:15 -04:00
2014-09-05 21:21:49 -04:00
2015-04-13 12:37:39 +02:00
2014-07-12 07:13:27 +02:00
2014-02-05 15:08:42 -05:00
2014-02-05 15:08:42 -05:00
2014-02-19 18:56:05 -05:00
2014-02-07 13:32:47 -05:00
2015-04-17 11:00:25 -04:00
2014-04-05 02:06:29 -04:00
2014-02-05 15:08:42 -05:00
2015-03-22 15:20:43 -04:00
2014-01-20 12:31:21 -05:00
2015-04-27 01:15:22 -04:00
2014-04-05 02:06:29 -04:00
2015-03-22 11:55:33 -04:00
2014-01-20 12:31:21 -05:00
2015-05-16 00:48:36 -04:00
2015-05-16 00:48:36 -04:00
2015-05-16 00:48:36 -04:00
2015-01-24 08:44:30 -05:00
2014-04-05 02:06:29 -04:00
2014-07-03 14:15:10 +02:00
2014-02-19 18:56:05 -05:00
2014-07-12 07:13:27 +02:00
2014-10-26 14:59:21 -04:00
2014-12-10 10:00:21 -05:00
2014-11-30 19:22:51 -05:00
2014-09-08 16:51:44 -04:00
2014-02-05 15:08:42 -05:00
2014-12-05 20:10:07 -05:00
2014-02-07 13:32:47 -05:00
2015-05-28 23:42:14 -04:00
2014-02-07 13:06:10 -05:00
2014-01-20 12:31:21 -05:00
2014-04-05 02:06:29 -04:00
2014-04-05 02:06:29 -04:00
2014-01-20 12:31:21 -05:00
2014-09-03 14:45:51 -07:00
2014-01-20 12:31:21 -05:00
2014-01-20 12:31:21 -05:00
2014-01-20 12:31:21 -05:00
2014-02-19 18:56:05 -05:00
2015-03-22 11:47:23 -04:00
2014-02-19 18:56:05 -05:00
2015-01-24 16:16:35 -05:00
2014-01-20 12:31:21 -05:00
2014-02-05 15:08:42 -05:00
2015-05-12 07:44:44 -04:00
2015-06-02 09:08:16 -04:00
2014-08-03 02:51:02 +02:00
2014-01-20 12:31:21 -05:00
2015-06-02 09:08:16 -04:00
2014-02-07 13:06:10 -05:00
2014-08-13 23:41:56 +00:00
2014-06-04 21:25:05 -04:00
2015-02-02 09:36:09 +01:00
2015-06-02 09:08:16 -04:00
2014-10-10 13:40:17 +02:00
2014-10-10 13:40:17 +02:00