summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/screen.c b/src/screen.c
index e589e32f..1ba0da7e 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -75,16 +75,6 @@ set_wm_check_hint (MetaScreen *screen)
XA_WINDOW,
32, PropModeReplace, (guchar*) data, 1);
- /* Legacy GNOME hint (uses cardinal, dunno why) */
-
- /* do this after setting up window fully, to avoid races
- * with clients listening to property notify on root.
- */
- XChangeProperty (screen->display->xdisplay, screen->xroot,
- screen->display->atom_win_supporting_wm_check,
- XA_CARDINAL,
- 32, PropModeReplace, (guchar*) data, 1);
-
return Success;
}
@@ -145,14 +135,6 @@ set_supported_hint (MetaScreen *screen)
screen->display->atom_net_supported,
XA_ATOM,
32, PropModeReplace, (guchar*) atoms, N_SUPPORTED);
-
- /* Set legacy GNOME hints */
- atoms[0] = screen->display->atom_win_layer;
-
- XChangeProperty (screen->display->xdisplay, screen->xroot,
- screen->display->atom_win_protocols,
- XA_ATOM,
- 32, PropModeReplace, (guchar*) atoms, N_WIN_SUPPORTED);
return Success;
#undef N_SUPPORTED