Scan: Update client attributes after client_manage and arrange all screen at the end.

This commit is contained in:
Martin Duquesnoy 2009-04-23 19:26:52 +02:00
parent 1c661a0c7e
commit 51cccecaeb
3 changed files with 4 additions and 6 deletions

View File

@ -64,8 +64,6 @@ ewmh_init_hints(void)
net_atom[net_wm_window_type_dialog] = ATOM("_NET_WM_WINDOW_TYPE_DIALOG");
net_atom[net_wm_icon] = ATOM("_NET_WM_ICON");
net_atom[net_wm_state] = ATOM("_NET_WM_STATE");
net_atom[net_wm_state_sticky] = ATOM("_NET_WM_STATE_STICKY");
net_atom[net_wm_state_skip_taskbar] = ATOM("_NET_WM_STATE_SKIP_TASKBAR");
net_atom[net_wm_state_fullscreen] = ATOM("_NET_WM_STATE_FULLSCREEN");
net_atom[net_wm_state_demands_attention] = ATOM("_NET_WM_STATE_DEMANDS_ATTENTION");
net_atom[utf8_string] = ATOM("UTF8_STRING");

View File

@ -75,8 +75,6 @@ enum
net_wm_desktop,
net_wm_icon,
net_wm_state,
net_wm_state_sticky,
net_wm_state_skip_taskbar,
net_wm_state_fullscreen,
net_wm_state_demands_attention,
utf8_string,

View File

@ -225,11 +225,13 @@ scan(void)
if(screen != -1)
c->screen = screen;
arrange(c->screen);
client_update_attributes(c);
}
for(i = 0; i < screen_count(); ++i)
arrange(i);
XFree(w);
arrange(screen_get_sel());
return;
}