aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index 56d11fb..e5bf6b5 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Ewmh.cc,v 1.50 2004/09/10 15:36:04 akir Exp $ 22// $Id: Ewmh.cc,v 1.51 2004/09/11 13:34:36 fluxgen Exp $
23 23
24#include "Ewmh.hh" 24#include "Ewmh.hh"
25 25
@@ -829,9 +829,11 @@ void Ewmh::updateStrut(WinClient &winclient) {
829 &ret_type, &fmt, &nitems, &bytes_after, 829 &ret_type, &fmt, &nitems, &bytes_after,
830 (unsigned char **) &data) && data) { 830 (unsigned char **) &data) && data) {
831 831
832 winclient.setStrut(winclient.screen().requestStrut(data[0], data[1], 832 int head = winclient.screen().getHead(winclient);
833 data[2], data[3])); 833 winclient.setStrut(winclient.screen().requestStrut(head,
834 winclient.screen().updateAvailableWorkspaceArea(); 834 data[0], data[1],
835 data[2], data[3]));
836 winclient.screen().updateAvailableWorkspaceArea();
835 } 837 }
836} 838}
837 839