aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r--src/Gnome.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc
index 33bc88d..92b7b51 100644
--- a/src/Gnome.cc
+++ b/src/Gnome.cc
@@ -235,7 +235,7 @@ void Gnome::updateWorkspaceNames(BScreen &screen) {
235} 235}
236 236
237void Gnome::updateCurrentWorkspace(BScreen &screen) { 237void Gnome::updateCurrentWorkspace(BScreen &screen) {
238 int workspace = screen.currentWorkspaceID(); 238 long workspace = screen.currentWorkspaceID();
239 screen.rootWindow().changeProperty(m_gnome_wm_win_workspace, XA_CARDINAL, 32, PropModeReplace, 239 screen.rootWindow().changeProperty(m_gnome_wm_win_workspace, XA_CARDINAL, 32, PropModeReplace,
240 (unsigned char *)&workspace, 1); 240 (unsigned char *)&workspace, 1);
241 241