From 5c5e9418d759e9d16e81babeac4fda4b837dc82c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 14 Nov 2007 10:51:53 +0100 Subject: [PATCH] don't forget to retag windows on screen changes --- client.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client.c b/client.c index bd09b1398..308823e1a 100644 --- a/client.c +++ b/client.c @@ -316,7 +316,10 @@ client_manage(Window w, XWindowAttributes *wa, awesome_config *awesomeconf) break; } if(!has_rule) + { + tag_client_with_current_selected(c, current_acf); move_client_to_screen(c, current_acf, True); + } } /* if window request fullscreen mode */ @@ -482,7 +485,10 @@ client_resize(Client *c, int x, int y, int w, int h, awesome_config *awesomeconf { int new_screen = get_screen_bycoord(c->display, c->x, c->y); if(c->screen != new_screen) + { + tag_client_with_current_selected(c, &awesomeconf[new_screen - awesomeconf->screen]); move_client_to_screen(c, &awesomeconf[new_screen - awesomeconf->screen], False); + } } } }