]> git.pld-linux.org Git - packages/WindowMaker.git/blobdiff - WindowMaker-singleclick.patch
- updated for 0.63.1.
[packages/WindowMaker.git] / WindowMaker-singleclick.patch
index ce73713c14beb7621fcdfeeb2b9b69053c658498..c5ad6c1febb2a1dc4de924e4b7c22ee80637c053 100644 (file)
@@ -1,43 +1,43 @@
-diff -Nru WindowMaker-0.62.1/WPrefs.app/Expert.c WindowMaker-0.62.1.new/WPrefs.app/Expert.c
---- WindowMaker-0.62.1/WPrefs.app/Expert.c     Mon Aug  7 23:18:24 2000
-+++ WindowMaker-0.62.1.new/WPrefs.app/Expert.c Mon Aug  7 23:19:12 2000
-@@ -53,6 +53,7 @@
-     WMSetButtonSelected(panel->swi[3], GetBoolForKey("UseSaveUnders"));
-     WMSetButtonSelected(panel->swi[4], GetBoolForKey("DisableBlinking"));
+diff -Nru WindowMaker-0.63.1/WPrefs.app/Expert.c WindowMaker-0.63.1.new/WPrefs.app/Expert.c
+--- WindowMaker-0.63.1/WPrefs.app/Expert.c     Sat Jan  6 23:43:21 2001
++++ WindowMaker-0.63.1.new/WPrefs.app/Expert.c Sun Jan  7 23:06:09 2001
+@@ -54,6 +54,7 @@
+     WMSetButtonSelected(panel->swi[4], GetBoolForKey("WindozeCycling"));
      WMSetButtonSelected(panel->swi[5], GetBoolForKey("DontConfirmKill"));
+     WMSetButtonSelected(panel->swi[6], GetBoolForKey("DisableBlinking"));
 +    WMSetButtonSelected(panel->swi[6], GetBoolForKey("SingleClickLaunch"));
  }
  
  
-@@ -66,7 +67,7 @@
+@@ -67,7 +68,7 @@
      WMResizeWidget(panel->frame, FRAME_WIDTH, FRAME_HEIGHT);
      WMMoveWidget(panel->frame, FRAME_LEFT, FRAME_TOP);
  
--    for (i=0; i<6; i++) {
-+    for (i=0; i<7; i++) {
+-    for (i=0; i<7; i++) {
++    for (i=0; i<8; i++) {
        panel->swi[i] = WMCreateSwitchButton(panel->frame);
        WMResizeWidget(panel->swi[i], FRAME_WIDTH-40, 25);
        WMMoveWidget(panel->swi[i], 20, 20+i*25);
-@@ -78,6 +79,7 @@
-     WMSetButtonText(panel->swi[3], _("Use SaveUnder in window frames, icons, menus and other objects"));
-     WMSetButtonText(panel->swi[4], _("Disable cycling color highlighting of icons."));
-     WMSetButtonText(panel->swi[5], _("Disable confirmation panel for the Kill command."));
+@@ -80,6 +81,7 @@
+     WMSetButtonText(panel->swi[4], _("Use Windoze style cycling"));
+     WMSetButtonText(panel->swi[5], _("Disable confirmation panel for the Kill command"));
+     WMSetButtonText(panel->swi[6], _("Disable cycling color highlighting of icons"));
 +    WMSetButtonText(panel->swi[6], _("Launch applications and restore windows with a single click"));
  
      WMRealizeWidget(panel->frame);
      WMMapSubwidgets(panel->frame);
-@@ -99,6 +101,7 @@
-     SetBoolForKey(WMGetButtonSelected(panel->swi[3]), "UseSaveUnders");
-     SetBoolForKey(WMGetButtonSelected(panel->swi[4]), "DisableBlinking");
+@@ -102,6 +104,7 @@
+     SetBoolForKey(WMGetButtonSelected(panel->swi[4]), "WindozeCycling");
      SetBoolForKey(WMGetButtonSelected(panel->swi[5]), "DontConfirmKill");
+     SetBoolForKey(WMGetButtonSelected(panel->swi[6]), "DisableBlinking");
 +    SetBoolForKey(WMGetButtonSelected(panel->swi[6]), "SingleClickLaunch");
  }
  
  
-diff -Nru WindowMaker-0.62.1/src/WindowMaker.h WindowMaker-0.62.1.new/src/WindowMaker.h
---- WindowMaker-0.62.1/src/WindowMaker.h       Mon Aug  7 23:18:24 2000
-+++ WindowMaker-0.62.1.new/src/WindowMaker.h   Mon Aug  7 23:19:12 2000
-@@ -416,6 +416,9 @@
+diff -Nru WindowMaker-0.63.1/src/WindowMaker.h WindowMaker-0.63.1.new/src/WindowMaker.h
+--- WindowMaker-0.63.1/src/WindowMaker.h       Fri Nov 17 03:10:32 2000
++++ WindowMaker-0.63.1.new/src/WindowMaker.h   Sun Jan  7 23:02:54 2001
+@@ -424,6 +424,9 @@
      /* shading animation */
      signed char shade_speed;
  
@@ -47,9 +47,9 @@ diff -Nru WindowMaker-0.62.1/src/WindowMaker.h WindowMaker-0.62.1.new/src/Window
      int edge_resistance;
      char attract;
  
-diff -Nru WindowMaker-0.62.1/src/appicon.c WindowMaker-0.62.1.new/src/appicon.c
---- WindowMaker-0.62.1/src/appicon.c   Mon Aug  7 23:18:24 2000
-+++ WindowMaker-0.62.1.new/src/appicon.c       Mon Aug  7 23:19:12 2000
+diff -Nru WindowMaker-0.63.1/src/appicon.c WindowMaker-0.63.1.new/src/appicon.c
+--- WindowMaker-0.63.1/src/appicon.c   Wed Nov  1 16:40:16 2000
++++ WindowMaker-0.63.1.new/src/appicon.c       Sun Jan  7 23:02:54 2001
 @@ -717,6 +717,7 @@
      int shad_x = 0, shad_y = 0, docking=0, dockable, collapsed = 0;
      int ix, iy;
@@ -84,10 +84,10 @@ diff -Nru WindowMaker-0.62.1/src/appicon.c WindowMaker-0.62.1.new/src/appicon.c
            break;
        }
      }
-diff -Nru WindowMaker-0.62.1/src/defaults.c WindowMaker-0.62.1.new/src/defaults.c
---- WindowMaker-0.62.1/src/defaults.c  Mon Aug  7 23:18:24 2000
-+++ WindowMaker-0.62.1.new/src/defaults.c      Mon Aug  7 23:20:35 2000
-@@ -530,6 +530,9 @@
+diff -Nru WindowMaker-0.63.1/src/defaults.c WindowMaker-0.63.1.new/src/defaults.c
+--- WindowMaker-0.63.1/src/defaults.c  Sat Jan  6 22:28:02 2001
++++ WindowMaker-0.63.1.new/src/defaults.c      Sun Jan  7 23:02:54 2001
+@@ -547,6 +547,9 @@
      {"DisableBlinking",       "NO",           NULL,
           &wPreferences.dont_blink,    getBool,        NULL
      },
@@ -97,10 +97,10 @@ diff -Nru WindowMaker-0.62.1/src/defaults.c WindowMaker-0.62.1.new/src/defaults.
        /* style options */
      {"MenuStyle",     "normal",               seMenuStyles,
        &wPreferences.menu_style, getEnum,      setMenuStyle
-diff -Nru WindowMaker-0.62.1/src/dock.c WindowMaker-0.62.1.new/src/dock.c
---- WindowMaker-0.62.1/src/dock.c      Mon Aug  7 23:18:24 2000
-+++ WindowMaker-0.62.1.new/src/dock.c  Mon Aug  7 23:19:12 2000
-@@ -3750,7 +3750,7 @@
+diff -Nru WindowMaker-0.63.1/src/dock.c WindowMaker-0.63.1.new/src/dock.c
+--- WindowMaker-0.63.1/src/dock.c      Wed Nov  1 16:40:16 2000
++++ WindowMaker-0.63.1.new/src/dock.c  Sun Jan  7 23:02:54 2001
+@@ -3752,7 +3752,7 @@
  
  
  
@@ -109,7 +109,7 @@ diff -Nru WindowMaker-0.62.1/src/dock.c WindowMaker-0.62.1.new/src/dock.c
  handleIconMove(WDock *dock, WAppIcon *aicon, XEvent *event)
  {
      WScreen *scr = dock->screen_ptr;
-@@ -3765,11 +3765,12 @@
+@@ -3767,11 +3767,12 @@
      int ix = aicon->xindex, iy = aicon->yindex;
      int tmp;
      Pixmap ghost = None;
@@ -123,7 +123,7 @@ diff -Nru WindowMaker-0.62.1/src/dock.c WindowMaker-0.62.1.new/src/dock.c
      if (wPreferences.flags.noupdates)
        return;
  
-@@ -3820,6 +3821,7 @@
+@@ -3822,6 +3823,7 @@
            break;
  
         case MotionNotify:
@@ -131,7 +131,7 @@ diff -Nru WindowMaker-0.62.1/src/dock.c WindowMaker-0.62.1.new/src/dock.c
            if (!grabbed) {
                if (abs(ofs_x-ev.xmotion.x)>=MOVE_THRESHOLD
                    || abs(ofs_y-ev.xmotion.y)>=MOVE_THRESHOLD) {
-@@ -3975,7 +3977,10 @@
+@@ -3977,7 +3979,10 @@
  #ifdef DEBUG
            puts("End icon move");
  #endif
@@ -143,7 +143,7 @@ diff -Nru WindowMaker-0.62.1/src/dock.c WindowMaker-0.62.1.new/src/dock.c
        }
      }
  }
-@@ -4115,7 +4120,9 @@
+@@ -4117,7 +4122,9 @@
              else
                  handleDockMove(dock, aicon, event);
          } else
@@ -154,9 +154,9 @@ diff -Nru WindowMaker-0.62.1/src/dock.c WindowMaker-0.62.1.new/src/dock.c
  
      } else if (event->xbutton.button==Button2 && dock->type==WM_CLIP &&
                 aicon==scr->clip_icon) {
-diff -Nru WindowMaker-0.62.1/src/icon.c WindowMaker-0.62.1.new/src/icon.c
---- WindowMaker-0.62.1/src/icon.c      Mon Aug  7 23:18:24 2000
-+++ WindowMaker-0.62.1.new/src/icon.c  Mon Aug  7 23:19:12 2000
+diff -Nru WindowMaker-0.63.1/src/icon.c WindowMaker-0.63.1.new/src/icon.c
+--- WindowMaker-0.63.1/src/icon.c      Sat Jan  6 22:28:02 2001
++++ WindowMaker-0.63.1.new/src/icon.c  Sun Jan  7 23:02:54 2001
 @@ -874,6 +874,7 @@
      int dx=event->xbutton.x, dy=event->xbutton.y;
      int grabbed=0;
This page took 0.06838 seconds and 4 git commands to generate.