aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index 97c66b8..c697b6d 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -1138,10 +1138,10 @@ void Ewmh::updateStrut(WinClient &winclient) {
1138 Atom ret_type = 0; 1138 Atom ret_type = 0;
1139 int fmt = 0; 1139 int fmt = 0;
1140 unsigned long nitems = 0, bytes_after = 0; 1140 unsigned long nitems = 0, bytes_after = 0;
1141 long *data = 0; 1141 unsigned char *data = 0;
1142 if (winclient.property(m_net_wm_strut, 0, 4, False, XA_CARDINAL, 1142 if (winclient.property(m_net_wm_strut, 0, 4, False, XA_CARDINAL,
1143 &ret_type, &fmt, &nitems, &bytes_after, 1143 &ret_type, &fmt, &nitems, &bytes_after,
1144 (unsigned char **) &data) && data) { 1144 &data) && data) {
1145 1145
1146 int head = winclient.screen().getHead(winclient); 1146 int head = winclient.screen().getHead(winclient);
1147 winclient.setStrut(winclient.screen().requestStrut(head, 1147 winclient.setStrut(winclient.screen().requestStrut(head,