GithubHelp home page GithubHelp logo

stefansundin / altdrag Goto Github PK

View Code? Open in Web Editor NEW
1.4K 27.0 93.0 4 MB

:file_folder: Easily drag windows when pressing the alt key. (Windows)

Home Page: https://stefansundin.github.io/altdrag/

License: GNU General Public License v3.0

C 72.82% C++ 3.46% Batchfile 0.88% NSIS 22.41% Shell 0.43%
windows

altdrag's People

Contributors

alex310110 avatar dtruebin avatar eoneof avatar jackspec avatar jeyraof avatar kakakaya avatar mmiklus avatar stefansundin avatar virgilinojuca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

altdrag's Issues

"Scroll inactive Windows" causes modified scroll to not work

While "Scroll inactive Windows" is on, AltDrag is preventing me from scrolling horizontally in InkScape by holding [Shift] and using the mouse wheel.

Blacklisting "*|gdkWindowToplevel" seems to fix the issue, but then of course I can't AltDrag the Window :)

windows 10: window position shifts upon alt-click, BEFORE dragging takes place

I have a new win10 laptop and installed altdrag1.1. When I do alt-click to prepare for a drag operation, the window instantly moves (jumps) maybe 2 inches toward upper left screen corner, so that quite a bit of the window is off-screen. This occurs WITHOUT moving the mouse at all. I can drag the window back to were I want it, but what I'm trying to say is that the position shifted by quite a bit BEFORE I started any dragging.

I also updated my win7 desktop to altdrag1.1, and the described behavior does NOT occur there.

(In X11 terminology, I would perhaps describe the behavior as the window being "warped" toward the UL corner of the display, just to say it in a different way.)

Option to disable resizing on windows that doesn't support it

I would like to see an option to disable re-sizing on certain windows that doesn't support sizing.
Right now any window can be re-sized no matter if they have the WS_SIZEBOX, WS_MAXIMIZEBOX-style set or not.

EDIT: Here is the Calculator after some AltDraging: http://i.imgur.com/hIjfXfd.png

There is probably more to it, but perhaps we could have an (experimental) option in our settings for this?

Great tool, great job!

Does not seem to work well when text size in Windows is set to 200%?

After installing, I try to alt+click and drag, I get weird results. I have a hi-res screen (3200x1800) and as a result needed to change Windows text size from 100% to 200%. Now, when viewing a web page, I am viewing it at 200% so that it looks like a reasonable size. When I try using alt drag, the app only responds when I click in the upper left quarter of any window. When clicking in any three of the other quarters, there is no response. Or, sometimes, when scrolling the focused window with the mouse in the right bottom quarter (for example) the window under the focused window will scroll instead. Is it possible that when screen doubling like this is enabled, Alt drag can't understand it properly in the latest version? Would love a fix! Alt drag is awesome and I am sure thousands can't operate without it!

image

Update: seems to work correctly in some apps (Skype) but not others (Chrome)

Feature request: X-mouse copy

Selecting text (only) copies into a separate buffer (not the control-C/control-V buffer), middle click in a text area or console window pastes from that buffer. (Putty does support some version of this but uses the Control-C/Control-V buffer and the non-standard right mouse button.)

Feature request: Enable/Disable AltDrag by ScrLk state

ScrLk or Scroll Lock is a key with a state that is rarely used, quite frankly never in my liftetime.
Most laptops don't have the key, but real keyboards do.

Wouldn't it be great if the state of that key set wether or not AltDrag was enabled?
Then we could simply enable/disable the app and at the same time visually se the state on the indicator.

Stuttering movement of Steam window

While this is a very specific case bug report, I am still posting it here. When I alt-drag the steam window, it stutters and moves around as if it is trying to snap to other windows (no other windows are open).

Here's a video of the problem: https://www.youtube.com/watch?v=GeW4gycaEnQ

It should be noted that all other windows I have tried are perfectly smooth as I move them about.

I must say, apart from this bug, I'm mighty impressed with the program. Alt dragging is one feature I miss so much after spending time on my Linux install. Thank you very much :)

AltDragging a window to a second monitor causes it to become very large: Windows 8.1

I have a dual-monitor set up.

Altdrag works great when dragging windows within one monitor, but when I drag a window between monitors, it becomes very large as soon as it goes beyond the edge of one screen and onto the next, with each nudge of the mouse causing the window to grow even bigger as long as it spans more than one monitor. If I pull the window back to one monitor while dragging, I can continue to move it around without it growing further (beyond its now huge size).

Windows 8.1 introduces some new scaling options and one of my screens has a higher dpi than the other. There might be some trickery going on because of that.

AltDrag 1.0
Windows 8.1 Pro 64
Screen 1: 1920x1080 14" (internal laptop screen)
Screen 2: 1920x1080 24" (external)

AltDrag 1.1b1 conflict with 7+ Taskbar Tweaker

Hello,
Just updated to the new 1.1b1 and it's now conflicting with 7+ Taskbar Tweaker v5.0's taskbar control. When middle clicking a taskbar item, 7+TT should close the application, instead it does nothing until AltDrag is disabled or closed.
The previous version works correctly and this is on Win7 SP1 x64.

I've attached my settings/ini if it helps:

[General]
AutoFocus=0
Aero=1
InactiveScroll=0
AutoSnap=3
MDI=0
Language=en-US

[Input]
LMB=AlwaysOnTop
MMB=Move
RMB=Resize
MB4=Nothing
MB5=Nothing
Scroll=Volume
LowerWithMMB=1
Hotkeys=5B

[Blacklist]
ProcessBlacklist=DesignDoll.exe,modo.exe,BlackInk.exe
Blacklist=*|ZBrush,*|3DSMAX,*|Photoshop,*|OWL.DocumentWindow,*|illustrator,*|TaskSwitcherWnd,*|TaskSwitcherOverlayWnd,|#32770,*|TMainKeyboardForm
Snaplist=*|BaseWindow_RootWnd,*|SkinWnd,*|ChatSkinWnd,

[Advanced]
HookWindows=0
AutoRemaximize=1
FocusOnTyping=0
SnapThreshold=5
MultipleInstances=0
AlwaysElevate=1

[Performance]
Cursor=1
MoveRate=2
ResizeRate=5

[Update]
CheckOnStartup=1
Beta=1

2015-08-23_042513

Okay thank you and cheers for another release!

Simplify AltDrag

Hello everyone.

When I prepared to release v1.1, I realized that the source code has gotten quite complicated. I think it reached this state because I tried to make everyone happy and support everything I could think of.

In order to make sure I have the interest to actually work on AltDrag more, I want to make it simpler. Hopefully if it is simpler, it is easier for other people to become interested in helping with development. I have really written almost all of the code in AltDrag myself, even though I've tried to encourage development by others.

Anyway, here is my proposal to simplify the source code:

  • Remove official support for XP. I will make sure to test Win7 and Win10.
    • This will help with #38 as DwmGetWindowAttribute does not exist on XP.
    • If you are using XP, you can always download an old version.
  • Stop mixing 32-bit and 64-bit code. This will result in HookWindows only working on 64-bit windows if you are running a 64-bit version of AltDrag.
  • Remove the ability to hide the tray icon. See #14 for the reason.
  • Remove the Scroll inactive windows feature as it is built in to Windows 10.
  • Remove less known features (or extract the code into separate files).

Do you disagree? What other features do you think I can remove/change in order to make AltDrag simpler? What is preventing you from developing on AltDrag?

Checking for updates does not work behind proxy

Hello!

TLDR: Guess AltDrag isn't using Windows' proxy settings when constructing the socket for update checking.

At work we use a company-wide mandatory web proxy for outgoing traffic to teh Interwebs.

AltDrag 1.0 used to show a detailled error dialogue when pressing «Check now». After updating
to 1.1, checking results in an error «Could not determine if an update is available» only.

Thanks for AltDrag, keep up the good work!

Jochen

"Scroll inactive windows" doesn't work using touchpad

This option works when using an external mouse, but when I use the touchpad on this laptop the scroll events are ignored unless that window has focus.

Computer: Lenovo Yoga 2 Pro.
OS: Windows 8.1
Using the most recent Synaptics driver from http://www.synaptics.com/en/drivers.php

This problem also affects other programs which try to do the same thing, like WizMouse, but this page suggested that AltDrag works for some people that WizMouse doesn't work for: http://superuser.com/questions/548141/windows-scroll-without-focus

Windows 10 window borders

It seems Windows 10 includes some invisible window borders in GetClientRect, causing snapping to have a few extra pixels of distance to other windows (only seem to affect horizontally).

According to a stack overflow article, another function can be used:

DwmGetWindowAttribute(hwnd, DWMWA_EXTENDED_FRAME_BOUNDS, &rect, sizeof(RECT));

Unfortunately this window size cannot simply be used with MoveWindow, because it is smaller than what MoveWindow represents the window size as. So it will cause the dragged window to shrink by a few pixels every time it is moved.

The solution requires a lot of code to be reworked, so I won't fix it for v1.1.

Feature request: X-mouse activation

I'm currently on Linux but would love something like this when I'm stuck on win ;) Don't know if it's already built in? Feature request:

Xmouse style activation, ie mouse over a window instantly activates the window without raising it. Looks like there might already be support built into Win7/8 but not sure.

Installer for 1.1 release doesn't do UAC elevation

For some reason on Windows 8.1 it doesn't ask for admin privileges when installing and it fails with a very confusing error about altdrag.exe being locked.

If i run the installer as administrator then everything works fine.

Disable Alt-Double click

Hi,

First let me say that I've just discovered AltDrag and it's fantastic ! Now there's one thing that I find annoying but I didn't find how to circumvent it : Alt-Double click maximizes windows but I would like to disable this behavior. Indeed, in Windows, Alt-Double clicking a file/folder brings the properties windows which I use a lot.

Is there any way to disable that combination and if not, could you please make it an option ?

I'm sorry if the solution to my issue is mentioned in the documentation or somewhere else but I couldn't find it.

Best regards,

David

Feature request: lower windows

In fluxbox on my work PC, I like being able to lower a window to go back to whatever was most recently up on my screen. It's alt right-click there, and I find myself attempting it all the time here on my windows box.

No-click move and resize

Hi! I would find an option for moving windows with only keyboard keys pressed useful (decreasing mouse fatigue). This is present in BetterTouchTool for OS X. It would use two different keyboard bindings together with mouse movements only.

Thanks nonetheless for an awesome tool!

how to disable `CTRL to focus window`?

CTRL to focus Windows is always enabled. But this causes workflows to break like crazy.

Copy&Paste from modal Windows with ClickOutSide Mouselisteners is pretty much unusable unless always moving the mouse on modal windows.

The Search feature in Lotus Notes for example.
image
When the mouse cursor is not on top of the search modal (and it barley is for keyboard heavy users) then its pretty much impossible to search for something using CTRL+V to paste a search term in search window. Because pressing CTRL causes inactive Windows to gain Window focus. By pressing CTRL the search windows loses its focus
image

This applies to all applications which have modals and do listen for click outside window events to hide its modals.

Very much annoying.

Installer UAC compliance

The installer does not properly comply with UAC- instead of requesting elevation during the install process, the entire installer is elevated. This results in two bugs/flaws:

  1. If "Run AltDrag" is checked on the final page, AltDrag is run as the administrative user, when it should be run as the regular user. In practice this will only result in the user losing their configuration when AltDrag closes (and it is next started as a completely different user), but it should be fixed nonetheless...
  2. The installer deposits shortcuts in the Start Menu of the user that ran the installer- which is currently the administrator, which means AltDrag's shortcuts will not appear in the start menu of the user! You do not ask the user if they want to install for "just me" or "everybody". The reasonable default is for "everybody", so AltDrag's shortcut should be deposited here: C:\ProgramData\Microsoft\Windows\Start Menu\Programs.

If you wanted to install for "just me"- an option which does not require elevation at all, altdrag would be installed to %APPDATA%\AltDrag and the shortcuts would be placed where you have them currently, %APPDATA%\Microsoft\Windows\Start Menu. But since you install to Program Files and incorrectly elevate the entire installer, my user folder is C:\Users\Link but the start menu shortcuts end up in C:\Users\root\...\Start Menu (where root is my administrative user).

Please fix! Thank you.

Version 1.1 still shows 1.0

very small thing that irritated me at first.

Version 1.1 still shows 1.0 in about window and in the file properties dialog.
(right click on exe, properties->details )

hope the names are correct since i don't use an english windows.

Sometimes Alt gets stuck

As the title says, sometimes for unknown reasons, AltDrag thinks that Alt key (the default modifier - Left & Right Alt) is pressed while it is not.

It occasionally happens with keyboards - Alt (or Ctrl or Shift) gets "stuck". Pressing and releasing both Alt keys together a few times makes Alt get unstuck. This is not the case with AltDrag though. It seems Alt gets stuck inside AltDrag (the program thinks the modifier is always pressed, even if it isn't). In those cases, the mouse tries to drag everything on screen, which makes working impossible. Pressing and releasing one or both Alts makes no difference. The only thing the user can do is to open the task manager using the keyboard, find AltDrag process and kill it. When re-run, everything works as it is supposed to.

left click sometimes gets locked

so far i can not reliably reproduce this behaviour, but randomly altdrag locks up my left click. just now this happened to me and after i killed it using the taskmanager everything returned to normal.
usually its just that i cant left click then, right click works and after bashing on the alt ctrl shift & windows buttons this behaviour used to go away.

but this time for some reason that buttonmashing didnt help and when i alt tabbed to another windoe and after that pressed ctrl, the window i alttabbed to got minimized. except the thunderbird main window every other got minimized by ctrl.

This is happening about once a week btw. i cant really see a pattern, sometimes it wont even let me click in taskmanager, sometimes it wont let me type. rather weird. maybe a "reset" combo should be implemented? dont know if its possible but maybe you could listen to ctrl alt del, reset altdrag and send the ctrl alt del back to windows to handle? shrug or ctrl+alt+backspace like in the good ol days when x used to be restarted by that...

Fun, this time it would let me switch windows with alt+tab, but the focus would stay with the first window i had opened...

doh, didnt read that altdrag got moved here, had it posted in the old tracker a year ago..

here is my altdrag.ini

; Disable and enable AltDrag to refresh configuration.
; Please read the wiki for help: https://code.google.com/p/altdrag/w/list

; Note: If you can't edit this file, reopen it with administrator privileges.
; One way of doing that is by first elevating AltDrag and then using
; the "Open ini file" button in the Advanced tab.


[General]
AutoFocus=0
; Automatically raise and focus the windows you drag.
; You can also press Ctrl to focus the window you are dragging.

Aero=1
; Mimic Windows 7 Aero Snap behavior.
; Drag windows to the left, right, top or bottom side of the monitor. Corners work too!
; Hold Ctrl to trap the mouse cursor within the current monitor for easier snapping when using multiple monitors.
; List of settings:
; 0: Disabled.
; 1: Enabled.
; 2: Enabled, but if you run Windows 7, then only if Aero Snap is enabled.

InactiveScroll=0
; Add ability to scroll inactive windows.
; Hold shift to scroll horizontally. Note that this will not work in all programs (the functionality was added in Vista, and not many programs have implemented it).
; This option unfortunately does not work for applications which use old Windows API.

AutoSnap=2
; Makes the window automatically snap to other windows, without the need to press shift.
; List of settings:
; 0: Disabled.
; 1: Automatically snap to the screen borders and the taskbar.
; 2: Also automatically snap to the outside of windows.
; 3: Also automatically snap to the inside of windows.
; Try it with HookWindows to make windows snap on normal window drag.

MDI=1
; Enable support for MDI windows (Multiple Document Interface), e.g. mIRC.
; This will enable support for AltTab scrolling of MDI windows as well.
; Support for MDI windows in HookWindows is always enabled.

Language=de-DE
; Available languages: en-US (English), fr-FR (French), pl-PL (Polish), pt-BR (Portuguese), ru-RU (Russian), sk-SK (Slovakian), zh-CN (Chinese), it-IT (Italian), de-DE (German).
; You may find more languages on the website (ini files).
; Do you want to help translate? Read http://code.google.com/p/altdrag/wiki/Translate


[Input]
LMB=Move
MMB=Minimize
RMB=Resize
MB4=Nothing
MB5=Nothing
Scroll=Nothing
; Mouse actions.
; Available actions: Move, Resize, Close, Minimize, Lower, AlwaysOnTop, Center, Nothing.
; Scroll actions: AltTab, Volume, Transparency, Nothing
; When moving and resizing windows, hold shift to snap to other windows.
; For Volume and Transparency, try holding shift to adjust the speed.
; If you have a great idea for a new action, submit it to the issue tracker!

LowerWithMMB=1
; Lower windows by middle clicking on the title bar, without pressing Alt.
; A twist is that you can also middle click the top border and corners and the title bar buttons as well, which is useful if the window has a small title bar (or none), e.g. web browsers with a lot of tabs open

Hotkeys= A4 A5
; Configure what keys trigger dragging, resizing, and the other mouse actions.
; This option is advanced, so you should read about it on the wiki: http://code.google.com/p/altdrag/wiki/Hotkeys
; Find hex values at: http://msdn.microsoft.com/en-us/library/dd375731(VS.85).aspx
; You can specify up to 10 keys.


[Blacklist]
ProcessBlacklist=
Blacklist=*|TaskSwitcherWnd,*|TaskSwitcherOverlayWnd,|#32770
Snaplist=*|BaseWindow_RootWnd,*|SkinWnd,*|ChatSkinWnd,*|SpotifyMainWindow,*|USurface_33202
; Read how the blacklist works on the wiki: http://code.google.com/p/altdrag/wiki/Blacklist
; Common blacklist rules: *|Photoshop,*|illustrator,*|PuTTY


[Advanced]
HookWindows=0
; HookWindows takes the snap behavior one step further and allows you to snap windows when dragging normally (using the title bar).
; Please note that HookWindows is more invasive than normal alt-dragging, and will not work properly with some programs.
; Note that you may have trouble deleting hooks.dll after using HookWindows, but a logout/login should release the file in worst case.

AutoRemaximize=1
; Automatically re-maximize windows when you move them between monitors.
; List of settings:
; 0: Disabled.
; 1: Enabled.
; 2: Enabled, but restore window after one second.
; You can press the right mouse button (resize action) when moving a window to toggle maximized state.

FocusOnTyping=0
; Move focus to window when typing. A different approach to the X-Mouse feature in Windows.
; List of settings:
; 1: Focus and raise window
; 2: Focus but do not raise window (beware: this is a BIG HACK and will probably not work satisfactory)

SnapThreshold=20
; The distance in number of pixels when snapping starts.

MultipleInstances=0
; Set to 1 to allow multiple instances of AltDrag.
; Useful if you e.g. want to use Alt+LMB to move and Ctrl+LMB to resize.
; Note that you have to use two installations to store two different configurations.

AlwaysElevate=0
; Set to 1 to have AltDrag always request elevation.


[Performance]
Cursor=1
; Makes the cursor icon change when dragging and resizing.

MoveRate=2
ResizeRate=5
; The number of pixels to wait before actually moving the window.
; A timer will ensure that there are never more than 100 ms between updates.
; Use 1 for instant updates.


[Update]
CheckOnStartup=1
; This setting controls if AltDrag should automatically check for update when it is started.
; AltDrag will only notify you if it finds a new version. It will not download anything for you!
; You can check for update manually in the configuration window, regardless of this setting.

Beta=0
; Want to be notified of beta releases?
; Don't expect beta releases to be posted very often (or at all).
; Get in touch with me if you want a bleeding edge build.

Alt-tab is draggable on Windows 10

I've tried to find the classname of alt-tab, but I can't grab the classname of it with either altdrag.exe or process monitor.

Side effect of this is you cannot click a window in alt-tab anymore.

Feature request: Move and resize windows by keyboard bindings

Hi!

I love the “Linux experience” of AltDrag, but I find myself missing one other feature:

Being able to move and resize windows using the keyboard. In Fluxbox I could map keys to manage windows. I used the following setup:

Win+W/S/A/D: Move active window 10px in either direction.
Shift+Win+W/S/A/D: Move active window 1px in either direction.
Ctrl+Win+W/S/A/D: Resize (lower right corner of) active window 10px
Ctrl+Shift+Win+W/S/A/D: Resize (lower right corner of) active window 1px

I don’t know if this is something you would like to implement in AltDrag, but I would love it if you did :)

I also mapped Win+Z/X/C to minimize, maximize or close the active window, and Shift+Win+C to kill the active window, as well as Win+Q to toggle decor aka window border/frame on/off.

For reference, here are the relevant config lines from my .fluxbox/keys file:

Mod4 a :MoveLeft 10
Mod4 s :MoveDown 10
Mod4 w :MoveUp 10
Mod4 d :MoveRight 10
Mod4 shift a :MoveLeft 1
Mod4 shift d :MoveRight 1
Mod4 shift s :MoveDown 1
Mod4 shift w :MoveUp 1

Mod4 Control a :ResizeHorizontal -10
Mod4 Control d :ResizeHorizontal 10
Mod4 Control w :ResizeVertical -10
Mod4 Control s :ResizeVertical 10
Mod4 Control Shift a :ResizeHorizontal -1
Mod4 Control Shift d :ResizeHorizontal 1
Mod4 Control Shift w :ResizeVertical -1
Mod4 Control Shift s :ResizeVertical 1

Mod4 x :MaximizeWindow
Mod4 z :Minimize
Mod4 c :Close
Mod1 Mod4 k :KillWindow
Mod4 q :ToggleDecor

Best regards
Thomas Andersen

Unable to use XButton as Hotkey

Hello,
Firstly, thanks for creating AltDrag, it's possibly the greatest tool I've ever used on a computer! :)

Okay onto the issue,
I'm unable to set VK_XBUTTON as an additional hotkey. In the options, I've set Mouse 4/5 to Nothing.
I've added VK_XBUTTON1 (0x05) (and VK_XBUTTON2 (0x06) just to test it) to the .ini to supplement the existing L_Win key that I use.
It reads: Hotkeys=5B 05 06
Adding standard keyboard keys however, does work.

Alright, thanks for your time!

Altdrag does not work for Windows 8.1's store apps.

I've enabled "scroll unfocused windows" and then used mouse wheel on store app (nextgen reader), however the scrolling does not work and I heard a sequence of beeps, while the mouse movement become extremely slow.

Windows 8.1 issue - AltDrag seems to work only a portion of a window

I have a Surface 1 Pro with Windows 8.1 installed with the latest updates. For some reason, AltDrag has issues with Windows 8.1:

  1. I can Alt+LeftClick and move the window so long as I am clicking the left side of the window, that is, as long as the mouse cursor was hovering over less than ~50% (very approximate) of the width of the window. Seems to have the same issue too with the height: I have to be clicking on the top side of the window.
  2. Consequently, if I alt-drag beyond the approximate 50%, say the lower right hand of the window, drastic effects can be seen, e.g., the icons on the desktop would be dragged away from their position.

It's hard to explain by words and I don't have the means to record by video at the moment. For the time being, is my description of the issue clear? If not, please let me know so I can clarify.

Norwegian translation

Hi, not really an issue, but more an enhancement request. I can translate this app into Norwegian, can you tell me the steps I need to do?

Thanks for bringing one of the best Linux windows behaviors into windows.

Scroll inactive windows causes two finger touchpad scroll to freeze input on windows 10

I've just spent a couple of hours getting to the bottom of my issue, where by starting a two-finger touchpad scroll in Firefox, Chrome, Libreoffice and others will freeze all touchpad and touchscreen input for 3-20 seconds.

I think I've tracked it to AltDrag, and in particular the Scroll Inactive Windows setting
I have 100% reproducability of the result, and if I either disable AltDrag from the systray, or disable Scroll Inactive Windows, the problem disappears.

I'm happy to leave the setting turned off to fix, but a bugfix would be nice!
Please advise if there's any testing I could assist with.

Resizing a window is laggy

Resizing windows is laggy because the windows is relayouted/redrawn on each change of window size. This can be irritating at times. I guess this is because AltDrag resizes windows instantly according to "ResizeRate" in "AltDrag.ini". Would it be possible to reuse the resizing preview that Windows itself uses on ordinary resizing?

Steps to reproduce:

  • Change "AltDrag.ini" to "ResizeRate=2" or "ResizeRate=1"
  • Resize window (quickly) using AltDrag

Make an option to disable Shift -> Horizontal Scroll

Like the title says, it would be nice if we could have an option to disable the "Hold shift to move horizontally" behaviour when "Scrolling on inactive windows" is enabled.
[Edit: I tried to remove the line and compile it myself, but for some reason I always get 'Undefined reference to swprintf' when trying to compile it (I just downloaded the mingw-files you referenced in the build.md instructions)]

Move-or-minimize functionality (similar to twm f.deltastop mechanism)

Imagine the following functionality (you may be very familiar with the concept already from X11).

You press alt-mouse1. If you move (drag) the mouse, the window moves. If you just release mouse1 without dragging, the window minimizes. In other words, a move-or-minimize behavior.

Another one:You press alt-mouse3. if you move the mouse, the window resizes. If you just release mouse3, the window minimizes. In other words, a resize-or-minimize.

I find the above type programmable behavior very useful. It is common in several X11 window managers, especially those derived from the original twm window manager. You may search the term f.deltastop to find out more about it. The f.deltastop mechanism is a way to select between two operations (such as move, minimize, close, resize, etc) depending on whether the mouse moves or not.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.