vals[1] = self->size.right;
vals[2] = self->size.top;
vals[3] = self->size.bottom;
- PROP_SETA32(self->client->window, kde_net_wm_frame_strut,
+ PROP_SETA32(self->client->window, net_frame_extents,
cardinal, vals, 4);
}
CREATE(net_wm_icon, "_NET_WM_ICON");
/* CREATE(net_wm_pid, "_NET_WM_PID"); */
CREATE(net_wm_allowed_actions, "_NET_WM_ALLOWED_ACTIONS");
+ CREATE(net_frame_extents, "_NET_FRAME_EXTENTS");
/* CREATE(net_wm_ping, "_NET_WM_PING"); */
prop_atoms.net_wm_bottomright = 2;
prop_atoms.net_wm_bottomleft = 3;
- CREATE(kde_net_wm_frame_strut, "_KDE_NET_WM_FRAME_STRUT");
CREATE(kde_wm_change_state, "_KDE_WM_CHANGE_STATE");
CREATE(kde_net_wm_window_type_override,"_KDE_NET_WM_WINDOW_TYPE_OVERRIDE");
Atom net_wm_icon;
/* Atom net_wm_pid; */
Atom net_wm_allowed_actions;
+ Atom net_frame_extents;
+
/* application protocols */
/* Atom Atom net_wm_ping; */
/* Extra atoms */
- Atom kde_net_wm_frame_strut;
Atom kde_wm_change_state;
Atom kde_net_wm_window_type_override;
window, screen_support_win);
/* set the _NET_SUPPORTED_ATOMS hint */
- num_support = 52;
+ num_support = 53;
i = 0;
supported = g_new(gulong, num_support);
supported[i++] = prop_atoms.net_current_desktop;
supported[i++] = prop_atoms.net_wm_state_demands_attention;
supported[i++] = prop_atoms.net_moveresize_window;
supported[i++] = prop_atoms.net_wm_moveresize;
+ supported[i++] = prop_atoms.net_frame_extents;
supported[i++] = prop_atoms.ob_wm_state_undecorated;
g_assert(i == num_support);
/*