]> git.pld-linux.org Git - packages/icewm.git/blob - icewm-fix_input_focus_loss_for_deiconified_frame_1.patch
- from debian, description inside
[packages/icewm.git] / icewm-fix_input_focus_loss_for_deiconified_frame_1.patch
1 --- a/src/wmcontainer.cc        2010-08-06 18:23:51.000000000 +0400
2 +++ b/src/wmcontainer.cc        2010-08-06 18:23:22.000000000 +0400
3 @@ -183,10 +183,12 @@
4  
5  void YClientContainer::handleMapRequest(const XMapRequestEvent &mapRequest) {
6      if (mapRequest.window == getFrame()->client()->handle()) {
7 +        manager->lockFocus();
8          getFrame()->setState(WinStateMinimized |
9                               WinStateHidden |
10                               WinStateRollup,
11                               0);
12 +        manager->unlockFocus();
13          bool doActivate = true;
14          getFrame()->updateFocusOnMap(doActivate);
15          if (doActivate) {
This page took 0.050291 seconds and 3 git commands to generate.