Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ipc.c 


Log Message:
Add command to show current screen size. Update screen command help.

===================================================================
RCS file: /cvs/e/e16/e/src/ipc.c,v
retrieving revision 1.288
retrieving revision 1.289
diff -u -3 -r1.288 -r1.289
--- ipc.c       17 Jan 2007 01:10:43 -0000      1.288
+++ ipc.c       28 Jan 2007 04:25:47 -0000      1.289
@@ -273,6 +273,10 @@
      {
        ScreenShowInfo(p);
      }
+   else if (!p || !strncmp(param, "size", 2))
+     {
+       IpcPrintf("Screen %d  size %dx%d\n", VRoot.scr, VRoot.w, VRoot.h);
+     }
    else if (!strcmp(param, "split"))
      {
        int                 i, j, nx, ny;
@@ -1499,7 +1503,10 @@
    {
     IPC_Border, "border", NULL, "List available borders", NULL},
    {
-    IPC_Screen, "screen", NULL, "Return screen information", NULL},
+    IPC_Screen, "screen", NULL, "Return screen information",
+    "  screen list         List screens\n"
+    "  screen size         Show current screen size\n"
+    "  screen split nx ny  Simulate xinerama by subdividing screen\n"},
    {
     SnapIpcFunc,
     "list_remember", "rl",



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to