diff options
author | fluxgen <fluxgen> | 2004-09-11 13:45:16 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-09-11 13:45:16 (GMT) |
commit | 768d98a39d3640f24ebe13e2c304fac3436a0a0d (patch) | |
tree | 3a5a60b06c4c2f3ba2e98e59c288c99ae93527b9 /src/Ewmh.cc | |
parent | 37757769634c836895d205b0a5149ffffaae9bfb (diff) | |
download | fluxbox-768d98a39d3640f24ebe13e2c304fac3436a0a0d.zip fluxbox-768d98a39d3640f24ebe13e2c304fac3436a0a0d.tar.bz2 |
head specific strut, patch from Mathieu De Zutter
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 10 |
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 | ||