X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fprop.c;h=b3c65d31fc05fe5c0f4c8c885f32068c4d73465e;hb=a8a93d7d39b3cc82a25d99c9c639c97a5facbfec;hp=686404d43889986851d8ceb1c88f6a58b37e91d4;hpb=9d6e3907650f4bc05ebf147aeec92573d7b88758;p=chaz%2Fopenbox diff --git a/openbox/prop.c b/openbox/prop.c index 686404d4..b3c65d31 100644 --- a/openbox/prop.c +++ b/openbox/prop.c @@ -2,7 +2,7 @@ prop.c for the Openbox window manager Copyright (c) 2006 Mikael Magnusson - Copyright (c) 2003 Ben Jansens + Copyright (c) 2003-2007 Dana Jansens This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -52,6 +52,8 @@ void prop_startup() CREATE(sm_client_id, "SM_CLIENT_ID"); + CREATE(net_wm_full_placement, "_NET_WM_FULL_PLACEMENT"); + CREATE(net_supported, "_NET_SUPPORTED"); CREATE(net_client_list, "_NET_CLIENT_LIST"); CREATE(net_client_list_stacking, "_NET_CLIENT_LIST_STACKING"); @@ -109,6 +111,7 @@ void prop_startup() prop_atoms.net_wm_moveresize_move = 8; prop_atoms.net_wm_moveresize_size_keyboard = 9; prop_atoms.net_wm_moveresize_move_keyboard = 10; + prop_atoms.net_wm_moveresize_cancel = 11; CREATE(net_wm_action_move, "_NET_WM_ACTION_MOVE"); CREATE(net_wm_action_resize, "_NET_WM_ACTION_RESIZE"); @@ -151,6 +154,7 @@ void prop_startup() CREATE(esetrootid, "ESETROOT_PMAP_ID"); CREATE(openbox_pid, "_OPENBOX_PID"); + CREATE(openbox_rc, "_OPENBOX_RC"); CREATE(ob_wm_state_undecorated, "_OB_WM_STATE_UNDECORATED"); CREATE(ob_control, "_OB_CONTROL"); } @@ -398,7 +402,7 @@ void prop_set_array32(Window win, Atom prop, Atom type, gulong *val, (guchar*)val, num); } -void prop_set_string_utf8(Window win, Atom prop, gchar *val) +void prop_set_string_utf8(Window win, Atom prop, const gchar *val) { XChangeProperty(ob_display, win, prop, prop_atoms.utf8, 8, PropModeReplace, (guchar*)val, strlen(val));