well i did get the blackbox source and compiled it but this time i changed
in file blackbox-0.70.1/src/Window.cc
----------
if (hasWindowFunction(WindowFunctionMove))
blackbox->grabButton(Button1, Mod4Mask, frame.window, True, <<< from Mod1Mask
ButtonReleaseMask | ButtonMotionMask, GrabModeAsync,
GrabModeAsync, frame.window,
blackbox->resource().cursors().move,
blackbox->resource().allowScrollLock());
if (hasWindowFunction(WindowFunctionResize))
blackbox->grabButton(Button1, Mod4Mask, frame.window, True, <<< from Mod1Mask
ButtonReleaseMask | ButtonMotionMask, GrabModeAsync,
GrabModeAsync, frame.window,
None, blackbox->resource().allowScrollLock());
....
void BlackboxWindow::ungrabButtons(void) {
blackbox->ungrabButton(Button1, 0, frame.plate);
blackbox->ungrabButton(Button1, Mod4Mask, frame.window); <<< from Mod1Mask
blackbox->ungrabButton(Button2, Mod4Mask, frame.window); <<< from Mod1Mask
and compiled that did work windows can now be move with win key (Mod4) but somehow window resize don't works only when you go with the mouse on the border of window
hope that will help someone .if your to lazy tocompile here is a compiled blackbox binary gzipedjust replace with orginal in /usr/bin
i didn't check that on my PC but its copy of my file so you have been warned !
http://chomikuj.pl/migero/blackbox.gz
No comments:
Post a Comment