Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
desktops.c ewmh.c gnome.c hints.c ipc.c
Log Message:
Forgot some desk number changes.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/desktops.c,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -3 -r1.175 -r1.176
--- desktops.c 4 Sep 2005 07:27:18 -0000 1.175
+++ desktops.c 4 Sep 2005 08:10:11 -0000 1.176
@@ -669,7 +669,7 @@
}
}
- if (DesksGetCurrent()->num >= Conf.desks.num)
+ if (DesksGetCurrentNum() >= Conf.desks.num)
DeskGotoNum(Conf.desks.num - 1);
HintsSetDesktopConfig();
@@ -2174,7 +2174,7 @@
static void
DeskOpGotoRel(int drel)
{
- DeskOpGoto(DesksGetCurrent()->num + drel);
+ DeskOpGoto(DesksGetCurrentNum() + drel);
}
static void
@@ -2200,7 +2200,7 @@
p += len;
}
- desk = DesksGetCurrent()->num;
+ desk = DesksGetCurrentNum();
if (!p || cmd[0] == '?')
{
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ewmh.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -3 -r1.89 -r1.90
--- ewmh.c 4 Sep 2005 07:27:18 -0000 1.89
+++ ewmh.c 4 Sep 2005 08:10:11 -0000 1.90
@@ -245,7 +245,7 @@
void
EWMH_SetCurrentDesktop(void)
{
- ecore_x_netwm_desk_current_set(VRoot.win, DesksGetCurrent()->num);
+ ecore_x_netwm_desk_current_set(VRoot.win, DesksGetCurrentNum());
}
void
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/gnome.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -3 -r1.55 -r1.56
--- gnome.c 4 Sep 2005 07:27:19 -0000 1.55
+++ gnome.c 4 Sep 2005 08:10:11 -0000 1.56
@@ -574,7 +574,7 @@
if (!atom_set)
atom_set = XInternAtom(disp, XA_WIN_WORKSPACE, False);
- val = DesksGetCurrent()->num;
+ val = DesksGetCurrentNum();
ecore_x_window_prop_card32_set(VRoot.win, atom_set, &val, 1);
}
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/hints.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- hints.c 4 Sep 2005 07:27:19 -0000 1.50
+++ hints.c 4 Sep 2005 08:10:11 -0000 1.51
@@ -442,7 +442,7 @@
ecore_x_window_prop_card32_set(VRoot.win, a, c, 2 * n_desks);
a = XInternAtom(disp, "ENL_INTERNAL_DESK_DATA", False);
- c[0] = DesksGetCurrent()->num;
+ c[0] = DesksGetCurrentNum();
ecore_x_window_prop_card32_set(VRoot.win, a, c, 1);
Efree(c);
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ipc.c,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -3 -r1.231 -r1.232
--- ipc.c 4 Sep 2005 07:27:19 -0000 1.231
+++ ipc.c 4 Sep 2005 08:10:11 -0000 1.232
@@ -1322,7 +1322,7 @@
if (!strcmp(param1, "goto_desktop"))
{
if (*p == '?')
- IpcPrintf("Current Desktop: %d\n", DesksGetCurrent()->num);
+ IpcPrintf("Current Desktop: %d\n", DesksGetCurrentNum());
}
else if (!strcmp(param1, "num_desks"))
{
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs