Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        borders.c comms.c cursors.c dialog.c eobj.c eobj.h finders.c 
        focus.c fx.c grabs.c hints.c iclass.c iconify.c menus.c 
        pager.c xwin.h 


Log Message:
Eliminate redundant macro (Xwin).

===================================================================
RCS file: /cvs/e/e16/e/src/borders.c,v
retrieving revision 1.288
retrieving revision 1.289
diff -u -3 -r1.288 -r1.289
--- borders.c   7 Aug 2006 20:20:15 -0000       1.288
+++ borders.c   7 Aug 2006 20:47:12 -0000       1.289
@@ -562,13 +562,13 @@
       for (i = b->num_winparts - 1; i >= 0; i--)
        {
           if (b->part[i].ontop)
-             wl[j++] = Xwin(ewin->bits[i].win);
+             wl[j++] = WinGetXwin(ewin->bits[i].win);
        }
-      wl[j++] = Xwin(ewin->win_container);
+      wl[j++] = WinGetXwin(ewin->win_container);
       for (i = b->num_winparts - 1; i >= 0; i--)
        {
           if (!b->part[i].ontop)
-             wl[j++] = Xwin(ewin->bits[i].win);
+             wl[j++] = WinGetXwin(ewin->bits[i].win);
        }
       XRestackWindows(disp, wl, j);
       Efree(wl);
@@ -880,7 +880,7 @@
 
    wbit->state = STATE_CLICKED;
 #if DEBUG_BORDER_EVENTS
-   Eprintf("BorderWinpartEventMouseDown %#lx %d\n", Xwin(wbit->win),
+   Eprintf("BorderWinpartEventMouseDown %#lx %d\n", WinGetXwin(wbit->win),
           wbit->state);
 #endif
    BorderWinpartChange(ewin, part, 0);
@@ -905,14 +905,15 @@
    else
       wbit->state = STATE_NORMAL;
 #if DEBUG_BORDER_EVENTS
-   Eprintf("BorderWinpartEventMouseUp %#lx %d\n", Xwin(wbit->win), 
wbit->state);
+   Eprintf("BorderWinpartEventMouseUp %#lx %d\n", WinGetXwin(wbit->win),
+          wbit->state);
 #endif
    BorderWinpartChange(ewin, part, 0);
 
    /* Beware! Actions may destroy the current border */
    wbit->left = 0;
 
-   if (Xwin(wbit->win) == Mode.events.last_bpress && !left &&
+   if (WinGetXwin(wbit->win) == Mode.events.last_bpress && !left &&
        ewin->border->part[part].aclass)
       ActionclassEvent(ewin->border->part[part].aclass, ev, ewin);
 }
@@ -924,7 +925,8 @@
    int                 part = wbit - ewin->bits;
 
 #if DEBUG_BORDER_EVENTS
-   Eprintf("BorderWinpartEventEnter %#lx %d\n", Xwin(wbit->win), wbit->state);
+   Eprintf("BorderWinpartEventEnter %#lx %d\n", WinGetXwin(wbit->win),
+          wbit->state);
 #endif
    if (wbit->state == STATE_CLICKED)
       wbit->left = 0;
@@ -946,7 +948,8 @@
    int                 part = wbit - ewin->bits;
 
 #if DEBUG_BORDER_EVENTS
-   Eprintf("BorderWinpartEventLeave %#lx %d\n", Xwin(wbit->win), wbit->state);
+   Eprintf("BorderWinpartEventLeave %#lx %d\n", WinGetXwin(wbit->win),
+          wbit->state);
 #endif
    if (wbit->state == STATE_CLICKED)
       wbit->left = 1;
===================================================================
RCS file: /cvs/e/e16/e/src/comms.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -3 -r1.77 -r1.78
--- comms.c     21 May 2006 12:09:14 -0000      1.77
+++ comms.c     7 Aug 2006 20:47:12 -0000       1.78
@@ -153,7 +153,7 @@
 static int
 ClientMatchWindow(const void *data, const void *match)
 {
-   return Xwin(((const Client *)data)->win) != (Window) match;
+   return WinGetXwin(((const Client *)data)->win) != (Window) match;
 }
 
 static char        *
@@ -274,9 +274,10 @@
    ESelectInput(comms_win, StructureNotifyMask | SubstructureNotifyMask);
    EventCallbackRegister(comms_win, 0, ClientHandleEvents, NULL);
 
-   Esnprintf(s, sizeof(s), "WINID %8lx", Xwin(comms_win));
+   Esnprintf(s, sizeof(s), "WINID %8lx", WinGetXwin(comms_win));
    XA_ENLIGHTENMENT_COMMS = XInternAtom(disp, "ENLIGHTENMENT_COMMS", False);
-   ecore_x_window_prop_string_set(Xwin(comms_win), XA_ENLIGHTENMENT_COMMS, s);
+   ecore_x_window_prop_string_set(WinGetXwin(comms_win), 
XA_ENLIGHTENMENT_COMMS,
+                                 s);
    ecore_x_window_prop_string_set(VRoot.xwin, XA_ENLIGHTENMENT_COMMS, s);
 
    XA_ENL_MSG = XInternAtom(disp, "ENL_MSG", False);
@@ -301,7 +302,7 @@
    ev.xclient.format = 8;
    for (i = 0; i < len + 1; i += 12)
      {
-       Esnprintf(ss, sizeof(ss), "%8lx", Xwin(comms_win));
+       Esnprintf(ss, sizeof(ss), "%8lx", WinGetXwin(comms_win));
        for (j = 0; j < 12; j++)
          {
             ss[8 + j] = s[i + j];
@@ -322,7 +323,7 @@
       return;
 
    c->replied = 1;
-   CommsDoSend(Xwin(c->win), s);
+   CommsDoSend(WinGetXwin(c->win), s);
 }
 
 void
@@ -332,7 +333,7 @@
       return;
 
    if (!c->replied)
-      CommsDoSend(Xwin(c->win), "");
+      CommsDoSend(WinGetXwin(c->win), "");
 }
 
 /*
===================================================================
RCS file: /cvs/e/e16/e/src/cursors.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- cursors.c   28 May 2006 09:12:33 -0000      1.35
+++ cursors.c   7 Aug 2006 20:47:12 -0000       1.36
@@ -247,7 +247,7 @@
 {
    if (!ec)
       return;
-   XDefineCursor(disp, Xwin(win), ec->cursor);
+   XDefineCursor(disp, WinGetXwin(win), ec->cursor);
 #if 0                          /* Not used */
    if (win == VRoot.xwin)
       ec->inroot = 1;
===================================================================
RCS file: /cvs/e/e16/e/src/dialog.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -3 -r1.163 -r1.164
--- dialog.c    27 Jul 2006 04:52:50 -0000      1.163
+++ dialog.c    7 Aug 2006 20:47:12 -0000       1.164
@@ -2207,7 +2207,7 @@
      case DITEM_SLIDER:
        if (!di->item.slider.in_drag)
           break;
-       if (ev->xmotion.window == Xwin(di->item.slider.knob_win))
+       if (ev->xmotion.window == WinGetXwin(di->item.slider.knob_win))
          {
             dx = Mode.events.x - Mode.events.px;
             dy = Mode.events.y - Mode.events.py;
@@ -2270,7 +2270,7 @@
           break;
 #endif
 
-       if (ev->xbutton.window == Xwin(di->item.slider.knob_win))
+       if (ev->xbutton.window == WinGetXwin(di->item.slider.knob_win))
          {
             if (ev->xbutton.button >= 1 && ev->xbutton.button <= 3)
               {
===================================================================
RCS file: /cvs/e/e16/e/src/eobj.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -3 -r1.80 -r1.81
--- eobj.c      7 Jun 2006 21:33:45 -0000       1.80
+++ eobj.c      7 Aug 2006 20:47:12 -0000       1.81
@@ -186,7 +186,7 @@
    eo->shaped = -1;
 
    if (type == EOBJ_TYPE_EXT)
-      eo->name = ecore_x_icccm_title_get(Xwin(win));
+      eo->name = ecore_x_icccm_title_get(WinGetXwin(win));
    else if (name)
       eo->name = Estrdup(name);
    if (!eo->name)
===================================================================
RCS file: /cvs/e/e16/e/src/eobj.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- eobj.h      5 Jun 2006 20:57:07 -0000       1.30
+++ eobj.h      7 Aug 2006 20:47:12 -0000       1.31
@@ -66,7 +66,7 @@
 #define EOBJ_TYPE_ROOT_BG   7
 
 #define EobjGetWin(eo)          ((eo)->win)
-#define EobjGetXwin(eo)         Xwin((eo)->win)
+#define EobjGetXwin(eo)         WinGetXwin((eo)->win)
 #define EobjGetDesk(eo)         ((eo)->desk)
 #define EobjGetName(eo)         ((eo)->name)
 #define EobjGetType(eo)         ((eo)->type)
===================================================================
RCS file: /cvs/e/e16/e/src/finders.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- finders.c   7 Aug 2006 20:20:15 -0000       1.51
+++ finders.c   7 Aug 2006 20:47:12 -0000       1.52
@@ -87,7 +87,7 @@
        else
          {
             for (j = 0; j < ewins[i]->border->num_winparts; j++)
-               if (win == Xwin(ewins[i]->bits[j].win))
+               if (win == WinGetXwin(ewins[i]->bits[j].win))
                  {
                     return ewins[i];
                  }
===================================================================
RCS file: /cvs/e/e16/e/src/focus.c,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -3 -r1.154 -r1.155
--- focus.c     7 Aug 2006 20:20:15 -0000       1.154
+++ focus.c     7 Aug 2006 20:47:12 -0000       1.155
@@ -617,7 +617,7 @@
 
    /* Allow click to pass thorugh */
    if (EventDebug(EDBUG_TYPE_GRABS))
-      Eprintf("FocusHandleClick %#lx %#lx\n", Xwin(win),
+      Eprintf("FocusHandleClick %#lx %#lx\n", WinGetXwin(win),
              EwinGetContainerXwin(ewin));
    if (win == EwinGetContainerWin(ewin))
      {
===================================================================
RCS file: /cvs/e/e16/e/src/fx.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -3 -r1.72 -r1.73
--- fx.c        27 Jul 2006 04:52:50 -0000      1.72
+++ fx.c        7 Aug 2006 20:47:12 -0000       1.73
@@ -102,8 +102,8 @@
        if (gc1)
           EXFreeGC(gc1);
        gcv.subwindow_mode = IncludeInferiors;
-       gc = EXCreateGC(Xwin(fx_ripple_win), GCSubwindowMode, &gcv);
-       gc1 = EXCreateGC(Xwin(fx_ripple_win), 0L, &gcv);
+       gc = EXCreateGC(WinGetXwin(fx_ripple_win), GCSubwindowMode, &gcv);
+       gc1 = EXCreateGC(WinGetXwin(fx_ripple_win), 0L, &gcv);
 
        FX_ripple_info();
      }
@@ -137,7 +137,7 @@
        yy = (fx_ripple_waterh * 2) - yoff;
        aa = p * p * 64 + inch;
        off = (int)(sin(aa) * 10 * (1 - p));
-       XCopyArea(disp, fx_ripple_above, Xwin(fx_ripple_win), gc1, 0, yy,
+       XCopyArea(disp, fx_ripple_above, WinGetXwin(fx_ripple_win), gc1, 0, yy,
                  VRoot.w, 1, off, VRoot.h - fx_ripple_waterh + y);
      }
    DoIn("FX_RIPPLE_TIMEOUT", 0.066, FX_ripple_timeout, 0, NULL);
@@ -545,8 +545,8 @@
        if (gc1)
           EXFreeGC(gc1);
        gcv.subwindow_mode = IncludeInferiors;
-       gc = EXCreateGC(Xwin(fx_wave_win), GCSubwindowMode, &gcv);
-       gc1 = EXCreateGC(Xwin(fx_wave_win), 0L, &gcv);
+       gc = EXCreateGC(WinGetXwin(fx_wave_win), GCSubwindowMode, &gcv);
+       gc1 = EXCreateGC(WinGetXwin(fx_wave_win), 0L, &gcv);
 
        FX_Wave_info();
      }
@@ -580,7 +580,7 @@
    /* Copy the area to correct bugs */
    if (fx_wave_count == 0)
      {
-       XCopyArea(disp, fx_wave_above, Xwin(fx_wave_win), gc1, 0,
+       XCopyArea(disp, fx_wave_above, WinGetXwin(fx_wave_win), gc1, 0,
                  VRoot.h - FX_WAVE_GRABH, VRoot.w, FX_WAVE_DEPTH * 2, 0,
                  VRoot.h - FX_WAVE_GRABH);
      }
@@ -620,7 +620,7 @@
             sx = (int)(sin(incx2) * FX_WAVE_DEPTH);
 
             /* Display this block */
-            XCopyArea(disp, fx_wave_above, Xwin(fx_wave_win), gc1, x, yy,      
/* x, y */
+            XCopyArea(disp, fx_wave_above, WinGetXwin(fx_wave_win), gc1, x, 
yy,        /* x, y */
                       FX_WAVE_WATERW, 1,       /* w, h */
                       off + x, VRoot.h - FX_WAVE_WATERH + y + sx       /* dx, 
dy */
                );
===================================================================
RCS file: /cvs/e/e16/e/src/grabs.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- grabs.c     29 Apr 2006 19:39:21 -0000      1.26
+++ grabs.c     7 Aug 2006 20:47:12 -0000       1.27
@@ -28,11 +28,12 @@
 {
    int                 rc;
 
-   rc = XGrabKeyboard(disp, Xwin(win), False, GrabModeAsync, GrabModeAsync,
-                     CurrentTime);
+   rc =
+      XGrabKeyboard(disp, WinGetXwin(win), False, GrabModeAsync, GrabModeAsync,
+                   CurrentTime);
 
 #if 0
-   Eprintf("GrabKeyboardSet %#lx %d\n", Xwin(win), rc);
+   Eprintf("GrabKeyboardSet %#lx %d\n", WinGetXwin(win), rc);
 #endif
    return rc;
 }
@@ -54,15 +55,15 @@
 GrabPointerSet(Win win, unsigned int csr, int confine)
 {
    int                 ret = -1;
-   Window              confine_to = (confine) ? Xwin(win) : None;
+   Window              confine_to = (confine) ? WinGetXwin(win) : None;
 
-   ret = XGrabPointer(disp, Xwin(win), False,
+   ret = XGrabPointer(disp, WinGetXwin(win), False,
                      ButtonPressMask | ButtonReleaseMask | PointerMotionMask |
                      ButtonMotionMask | EnterWindowMask | LeaveWindowMask,
                      GrabModeAsync, GrabModeAsync, confine_to, ECsrGet(csr),
                      CurrentTime);
 
-   Mode.grabs.pointer_grab_window = Xwin(win);
+   Mode.grabs.pointer_grab_window = WinGetXwin(win);
    Mode.grabs.pointer_grab_active = 1;
 
    if (EventDebug(EDBUG_TYPE_GRABS))
@@ -91,14 +92,15 @@
    Bool                owner_events = False;
    int                 pointer_mode = GrabModeSync;
    int                 keyboard_mode = GrabModeAsync;
-   Window              confine_to = (confine) ? Xwin(win) : None;
+   Window              confine_to = (confine) ? WinGetXwin(win) : None;
 
-   XGrabButton(disp, button, modifiers, Xwin(win), owner_events, event_mask,
-              pointer_mode, keyboard_mode, confine_to, ECsrGet(csr));
+   XGrabButton(disp, button, modifiers, WinGetXwin(win), owner_events,
+              event_mask, pointer_mode, keyboard_mode, confine_to,
+              ECsrGet(csr));
 }
 
 void
 GrabButtonRelease(unsigned int button, unsigned int modifiers, Win win)
 {
-   XUngrabButton(disp, button, modifiers, Xwin(win));
+   XUngrabButton(disp, button, modifiers, WinGetXwin(win));
 }
===================================================================
RCS file: /cvs/e/e16/e/src/hints.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -3 -r1.67 -r1.68
--- hints.c     7 Aug 2006 20:20:15 -0000       1.67
+++ hints.c     7 Aug 2006 20:47:12 -0000       1.68
@@ -153,9 +153,9 @@
 void
 HintsSetWindowName(Win win, const char *name)
 {
-   ecore_x_icccm_title_set(Xwin(win), name);
+   ecore_x_icccm_title_set(WinGetXwin(win), name);
 
-   EWMH_SetWindowName(Xwin(win), name);
+   EWMH_SetWindowName(WinGetXwin(win), name);
 }
 
 void
@@ -166,7 +166,7 @@
    xch = XAllocClassHint();
    xch->res_name = (char *)name;
    xch->res_class = (char *)clss;
-   XSetClassHint(disp, Xwin(win), xch);
+   XSetClassHint(disp, WinGetXwin(win), xch);
    XFree(xch);
 }
 
@@ -287,7 +287,8 @@
 
    pm = None;
    num =
-      ecore_x_window_prop_xid_get(Xwin(win), E_XROOTPMAP_ID, XA_PIXMAP, &pm, 
1);
+      ecore_x_window_prop_xid_get(WinGetXwin(win), E_XROOTPMAP_ID, XA_PIXMAP,
+                                 &pm, 1);
 
    return pm;
 }
@@ -298,9 +299,11 @@
    Ecore_X_Pixmap      pm;
 
    pm = pmap;
-   ecore_x_window_prop_xid_set(Xwin(win), E_XROOTPMAP_ID, XA_PIXMAP, &pm, 1);
+   ecore_x_window_prop_xid_set(WinGetXwin(win), E_XROOTPMAP_ID, XA_PIXMAP, &pm,
+                              1);
 
-   ecore_x_window_prop_card32_set(Xwin(win), E_XROOTCOLOR_PIXEL, &color, 1);
+   ecore_x_window_prop_card32_set(WinGetXwin(win), E_XROOTCOLOR_PIXEL, &color,
+                                 1);
 }
 
 typedef union
===================================================================
RCS file: /cvs/e/e16/e/src/iclass.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -3 -r1.106 -r1.107
--- iclass.c    24 Jul 2006 21:10:58 -0000      1.106
+++ iclass.c    7 Aug 2006 20:47:12 -0000       1.107
@@ -925,7 +925,7 @@
    flags = pt_type_to_flags(image_type);
    if (flags != ICLASS_ATTR_OPAQUE)
      {
-       bg = pt_get_bg_image(Xwin(win), w, h, flags & ICLASS_ATTR_GLASS);
+       bg = pt_get_bg_image(WinGetXwin(win), w, h, flags & ICLASS_ATTR_GLASS);
        if (bg)
          {
             EImageBlendCM(bg, im, (flags & ICLASS_ATTR_USE_CM) ? icm : NULL);
@@ -967,7 +967,7 @@
 
    if (flags != ICLASS_ATTR_OPAQUE)
      {
-       ii = pt_get_bg_image(Xwin(win), w, h, flags & ICLASS_ATTR_GLASS);
+       ii = pt_get_bg_image(WinGetXwin(win), w, h, flags & ICLASS_ATTR_GLASS);
      }
    else
      {
@@ -1231,8 +1231,8 @@
      {
        GC                  gc;
 
-       gc = EXCreateGC(Xwin(win), 0, NULL);
-       ImagestateDrawBevel(is, Xwin(win), gc, w, h);
+       gc = EXCreateGC(WinGetXwin(win), 0, NULL);
+       ImagestateDrawBevel(is, WinGetXwin(win), gc, w, h);
        EXFreeGC(gc);
      }
 }
===================================================================
RCS file: /cvs/e/e16/e/src/iconify.c,v
retrieving revision 1.215
retrieving revision 1.216
diff -u -3 -r1.215 -r1.216
--- iconify.c   27 Jul 2006 04:52:50 -0000      1.215
+++ iconify.c   7 Aug 2006 20:47:12 -0000       1.216
@@ -1754,7 +1754,7 @@
        mi = MenuItemCreate(_("This Iconbox Settings..."), NULL, s, NULL);
        MenuAddItem(p_menu, mi);
 
-       Esnprintf(s, sizeof(s), "wop %#lx cl", Xwin(ib->win));
+       Esnprintf(s, sizeof(s), "wop %#lx cl", WinGetXwin(ib->win));
        mi = MenuItemCreate(_("Close Iconbox"), NULL, s, NULL);
        MenuAddItem(p_menu, mi);
 
@@ -1771,7 +1771,7 @@
        mi = MenuItemCreate(_("Systray Settings..."), NULL, s, NULL);
        MenuAddItem(p_menu, mi);
 
-       Esnprintf(s, sizeof(s), "wop %#lx cl", Xwin(ib->win));
+       Esnprintf(s, sizeof(s), "wop %#lx cl", WinGetXwin(ib->win));
        mi = MenuItemCreate(_("Close Systray"), NULL, s, NULL);
        MenuAddItem(p_menu, mi);
 
@@ -2698,7 +2698,7 @@
    int                 i;
 
    for (i = 0; i < ib->num_objs; i++)
-      if (win == Xwin(ib->objs[i].u.swin->win))
+      if (win == WinGetXwin(ib->objs[i].u.swin->win))
         return i;
 
    return -1;
@@ -2817,7 +2817,7 @@
       return;
 
    if (EventDebug(EDBUG_TYPE_ICONBOX))
-      Eprintf("IconboxObjSwinDel %#lx\n", Xwin(win));
+      Eprintf("IconboxObjSwinDel %#lx\n", WinGetXwin(win));
 
    swin = ib->objs[i].u.swin;
 
@@ -3029,9 +3029,10 @@
      }
    systray_sel_win = ECreateEventWindow(VRoot.win, -100, -100, 1, 1);
    systray_sel_time = EGetTimestamp();
-   XSetSelectionOwner(disp, _NET_SYSTEM_TRAY_Sx, Xwin(systray_sel_win),
+   XSetSelectionOwner(disp, _NET_SYSTEM_TRAY_Sx, WinGetXwin(systray_sel_win),
                      systray_sel_time);
-   if (XGetSelectionOwner(disp, _NET_SYSTEM_TRAY_Sx) != Xwin(systray_sel_win))
+   if (XGetSelectionOwner(disp, _NET_SYSTEM_TRAY_Sx) !=
+       WinGetXwin(systray_sel_win))
      {
        DialogOK(_("Systray Error!"), _("Could not activate systray"));
        Eprintf("Failed to acquire selection %s\n", buf);
@@ -3041,7 +3042,7 @@
      }
    if (EventDebug(EDBUG_TYPE_ICONBOX))
       Eprintf("Window %#lx is now %s owner, time=%ld\n",
-             Xwin(systray_sel_win), buf, systray_sel_time);
+             WinGetXwin(systray_sel_win), buf, systray_sel_time);
 
    ESelectInput(systray_sel_win,
                SubstructureRedirectMask | SubstructureNotifyMask);
@@ -3053,7 +3054,7 @@
 
    ecore_x_client_message32_send(VRoot.xwin, E_XA_MANAGER, StructureNotifyMask,
                                 CurrentTime, _NET_SYSTEM_TRAY_Sx,
-                                Xwin(systray_sel_win), 0, 0);
+                                WinGetXwin(systray_sel_win), 0, 0);
 }
 
 static void
===================================================================
RCS file: /cvs/e/e16/e/src/menus.c,v
retrieving revision 1.253
retrieving revision 1.254
diff -u -3 -r1.253 -r1.254
--- menus.c     27 Jul 2006 04:52:50 -0000      1.253
+++ menus.c     7 Aug 2006 20:47:12 -0000       1.254
@@ -1578,7 +1578,8 @@
             MenusSetEvents(1);
 
             if (Conf.menus.warp)
-               EXWarpPointer(Xwin(mi->win), mi->text_w / 2, mi->text_h / 2);
+               EXWarpPointer(WinGetXwin(mi->win), mi->text_w / 2,
+                             mi->text_h / 2);
          }
      }
 
===================================================================
RCS file: /cvs/e/e16/e/src/pager.c,v
retrieving revision 1.221
retrieving revision 1.222
diff -u -3 -r1.221 -r1.222
--- pager.c     7 Aug 2006 20:20:15 -0000       1.221
+++ pager.c     7 Aug 2006 20:47:12 -0000       1.222
@@ -1110,7 +1110,7 @@
    if (!Conf_pagers.enable)
       return;
 
-   on_screen = EXQueryPointer(Xwin(p->win), &x, &y, NULL, NULL);
+   on_screen = EXQueryPointer(WinGetXwin(p->win), &x, &y, NULL, NULL);
 
    if (on_screen && x >= 0 && x < p->w && y >= 0 && y < p->h)
       ewin = EwinInPagerAt(p, x, y);
===================================================================
RCS file: /cvs/e/e16/e/src/xwin.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- xwin.h      3 Jun 2006 14:11:34 -0000       1.23
+++ xwin.h      7 Aug 2006 20:47:12 -0000       1.24
@@ -47,7 +47,6 @@
 
 Win                 ELookupXwin(Window xwin);
 
-#define Xwin(win) WinGetXwin(win)
 Window              WinGetXwin(const Win win);
 int                 WinGetBorderWidth(const Win win);
 int                 WinGetDepth(const Win win);
@@ -106,22 +105,22 @@
 int                 EDrawableCheck(Drawable draw, int grab);
 
 #define ESelectInput(win, event_mask) \
-       XSelectInput(disp, Xwin(win), event_mask)
+       XSelectInput(disp, WinGetXwin(win), event_mask)
 
 #define EChangeWindowAttributes(win, mask, attr) \
-       XChangeWindowAttributes(disp, Xwin(win), mask, attr)
+       XChangeWindowAttributes(disp, WinGetXwin(win), mask, attr)
 #define ESetWindowBorderWidth(win, bw) \
-       XSetWindowBorderWidth(disp, Xwin(win), bw)
+       XSetWindowBorderWidth(disp, WinGetXwin(win), bw)
 
 #define ERaiseWindow(win) \
-       XRaiseWindow(disp, Xwin(win))
+       XRaiseWindow(disp, WinGetXwin(win))
 #define ELowerWindow(win) \
-       XLowerWindow(disp, Xwin(win))
+       XLowerWindow(disp, WinGetXwin(win))
 
 #define EClearWindow(win) \
-       XClearWindow(disp, Xwin(win))
+       XClearWindow(disp, WinGetXwin(win))
 #define EClearArea(win, x, y, w, h, exp) \
-       XClearArea(disp, Xwin(win), x, y, w, h, exp)
+       XClearArea(disp, WinGetXwin(win), x, y, w, h, exp)
 
 Pixmap              ECreatePixmap(Win win, unsigned int width,
                                  unsigned int height, unsigned int depth);
@@ -151,7 +150,7 @@
                                  int *x, int *y, int *w, int *h, int *bw,
                                  int *depth);
 #define EXGetWindowAttributes(win, xwa) \
-       XGetWindowAttributes(disp, Xwin(win), xwa)
+       XGetWindowAttributes(disp, WinGetXwin(win), xwa)
 
 void                EXCopyArea(Drawable src, Drawable dst, int sx, int sy,
                               unsigned int w, unsigned int h, int dx, int dy);



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to