mirror of
https://github.com/amiwm/amiwm.git
synced 2026-04-14 11:04:18 +00:00
Revert "Merge pull request #34 from phillbush/localize-2"
This reverts commitb9e7c7313d, reversing changes made to774f98ef87. It broke ToolItem input; will need to dig into this a bit more.
This commit is contained in:
3
client.c
3
client.c
@@ -19,6 +19,7 @@ extern struct Library *XLibBase;
|
||||
extern Display *dpy;
|
||||
extern XContext client_context, screen_context;
|
||||
extern Client *activeclient;
|
||||
extern Scrn *menuactive;
|
||||
extern void setfocus(Window);
|
||||
|
||||
Client *clients=NULL;
|
||||
@@ -321,6 +322,8 @@ void rmclient(Client *c)
|
||||
closescreen();
|
||||
scr = c->scr;
|
||||
if(c->active) {
|
||||
if(!menuactive)
|
||||
setfocus(None);
|
||||
c->active=False;
|
||||
activeclient = NULL;
|
||||
XInstallColormap(dpy, scr->cmap);
|
||||
|
||||
Reference in New Issue
Block a user