mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
- Added ability to shade/unshade a window using the mouse wheel on the
window titlebar. - Disabled the window birth zoom effect by default.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
Changes since version 0.70.0:
|
||||
.............................
|
||||
|
||||
- Disabled window birth animation by default (while it was ok with normal
|
||||
windows, it was very annoying with menus editing in WPrefs.app)
|
||||
- Added ability to shade/unshade a window using the mouse wheel.
|
||||
|
||||
|
||||
Changes since version 0.65.1:
|
||||
.............................
|
||||
|
||||
|
||||
22
NEWS
22
NEWS
@@ -2,6 +2,28 @@
|
||||
NEWS for veteran Window Maker users
|
||||
-----------------------------------
|
||||
|
||||
--- 0.70.1
|
||||
|
||||
Shading/Unshading windows using mouse wheel on their titlebar
|
||||
---------------------------------------------------------
|
||||
|
||||
In addition to the known methods of shading/unshading a window, one can now
|
||||
do this by using the mouse wheel on the window's titlebar. The mouse events
|
||||
are interpreted via a mapping in the global WINGs configuration file,
|
||||
WMGLOBAL, by the MouseWheelUp and MouseWheelDown directives which will do
|
||||
shading and unshading respectfully.
|
||||
|
||||
However, to avoid unwanted triggers of shading/unshading the window, two
|
||||
consecutive mouse wheel events in the same direction are required. The
|
||||
trigger won't occur if the events are separated by more than a double-click's
|
||||
worth of time, which is technically speaking like making a double-click with
|
||||
the button that corresponds to the mouse wheel direction.
|
||||
|
||||
Practically speaking, this means that you have to move the mouse wheel up
|
||||
or down quickly, like when you want to quickly scroll over something big.
|
||||
|
||||
|
||||
|
||||
--- 0.70.0
|
||||
|
||||
New dock option
|
||||
|
||||
@@ -15,7 +15,7 @@ AC_INIT(src/WindowMaker.h)
|
||||
|
||||
|
||||
|
||||
AM_INIT_AUTOMAKE(WindowMaker, 0.70.0)
|
||||
AM_INIT_AUTOMAKE(WindowMaker, 0.70.1)
|
||||
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ AC_INIT(src/WindowMaker.h)
|
||||
|
||||
|
||||
|
||||
AM_INIT_AUTOMAKE(WindowMaker, 0.70.0)
|
||||
AM_INIT_AUTOMAKE(WindowMaker, 0.70.1)
|
||||
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
|
||||
@@ -201,12 +201,12 @@
|
||||
#undef ICON_KABOOM_EXTRA
|
||||
|
||||
/*
|
||||
* #undef if you dont want the window creation animation when superfluous
|
||||
* is enabled.
|
||||
* #define if you want the window creation animation when superfluous
|
||||
* is enabled. Only enable one of them.
|
||||
*/
|
||||
#undef WINDOW_BIRTH_ZOOM
|
||||
|
||||
#define WINDOW_BIRTH_ZOOM2
|
||||
#undef WINDOW_BIRTH_ZOOM2
|
||||
|
||||
/*
|
||||
* whether arrow drawing in clip buttons should be gradiented
|
||||
|
||||
@@ -34,6 +34,8 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
/* For getting mouse wheel mappings from WINGs */
|
||||
#include <WINGs/WINGsP.h>
|
||||
|
||||
#include "WindowMaker.h"
|
||||
#include "GNUstep.h"
|
||||
@@ -2878,6 +2880,10 @@ titlebarDblClick(WCoreWindow *sender, void *data, XEvent *event)
|
||||
}
|
||||
} else if (event->xbutton.button==Button2) {
|
||||
wSelectWindow(wwin, !wwin->flags.selected);
|
||||
} else if (event->xbutton.button == WINGsConfiguration.mouseWheelUp) {
|
||||
wShadeWindow(wwin);
|
||||
} else if (event->xbutton.button == WINGsConfiguration.mouseWheelDown) {
|
||||
wUnshadeWindow(wwin);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user