{"id":13590081,"url":"https://github.com/RamonUnch/AltSnap","last_synced_at":"2025-04-08T12:32:27.864Z","repository":{"id":37747656,"uuid":"315453540","full_name":"RamonUnch/AltSnap","owner":"RamonUnch","description":"Maintained continuation of Stefan Sundin's AltDrag","archived":false,"fork":false,"pushed_at":"2024-09-15T17:34:50.000Z","size":2922,"stargazers_count":2168,"open_issues_count":86,"forks_count":73,"subscribers_count":17,"default_branch":"main","last_synced_at":"2024-10-29T15:36:10.380Z","etag":null,"topics":["desktop","window-manager","windows"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RamonUnch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-23T22:13:36.000Z","updated_at":"2024-10-29T14:29:52.000Z","dependencies_parsed_at":"2023-02-10T10:00:26.444Z","dependency_job_id":"be728b04-9837-43fc-bfdf-c18cbfb673c2","html_url":"https://github.com/RamonUnch/AltSnap","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonUnch%2FAltSnap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonUnch%2FAltSnap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonUnch%2FAltSnap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonUnch%2FAltSnap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamonUnch","download_url":"https://codeload.github.com/RamonUnch/AltSnap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247842879,"owners_count":21005364,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["desktop","window-manager","windows"],"created_at":"2024-08-01T16:00:38.845Z","updated_at":"2025-04-08T12:32:27.233Z","avatar_url":"https://github.com/RamonUnch.png","language":"C","readme":"English | [中文](./README_zh-CN.md) | [한국어](./README_ko-KR.md)\r\n# AltSnap\r\nFork from Stefan Sundin's AltDrag.\r\n\r\nCheck the Wiki: https://github.com/RamonUnch/AltSnap/wiki\r\n\r\nOriginal documentation: https://stefansundin.github.io/altdrag/doc/\r\n\r\nNote that the documentation is not 100% accurate because it is a fork.\r\nRead the changelog for more details.\r\n\r\nIt allows you to move and resize windows by using the Alt key and clicking wherever on the window instead of relying on very precise clicking.\r\nThis behavior is very common on Linux distributions and is not actually hard to implement on Windows.\r\n\r\nThis fork tries to keep a version up to date with minimal amount of bugs while keeping it feature-rich.\r\n\r\nIt is oriented towards all Windows users from Windows NT 4 to Windows 11, even though it is mostly tested on Windows XP and Windows 10.\r\n\r\nMain differences:\r\nTo simplify the code greatly the Hooks windows feature was removed, it allowed you have windows snapping while dragging them normally. It required however to inject a dll in every application and induced thus an obvious security risk. The amount of mess added to the code just for this feature was substantial and in addition forced to have both a 32bits and a 64bits version of the program running at the same time.\r\n\r\nThis version injects nothing into other applications. This means you do not have to worry whether you have a 32 or a 64bit operating system.\r\n\r\nAnother feature that was disabled is focus on typing, that was too much unusable for me to even start testing, so I removed it.\r\n\r\nOtherwise this has a much simpler source code, added a few extra options, such as transparent windows dragging, Maximize action, pause process options, more blacklists for finer control of AltSnap etc. \r\n\r\nFinally it fixed a ton of undesired behavior and bugs from the original AltDrag.\r\n\r\nWHAT'S NEW\r\n\r\nMany new features can be seen in the option dialog box, however some of them are only available through editing the AltSnap.ini file (middle click on tyhe tray icon for this).\r\n\r\n# VirusTotal false positive\r\nYou will see with the latest builds that there are some allerts, usually from SecureAge APEX sometime also from another vendor. Those are false positive and I stopped to contact the APEX team for every release becase it is a loss of time I would rather spend on improving the program.\r\nI already redued a lot the numberof false positive, simply by changing build flags and by switching to an older version of NSIS installer system. This is an indication of the impertinance of some modern antivirus solutions. Chocolatey considers that up to 5 positives on VirusTotal is not even suspicious.\r\n\r\n# Build\r\nAltSnap builds with gcc, I use Mingw-w64 (for i686).\r\nJust install the latest version (I use TDM-gcc 10.3, MinGW64 based) and use:\r\n\r\n`\u003e make` for i386 Win32 GCC build.\r\n\r\n`\u003e make -fMakefiledb` for i386 GCC debug build.\r\n\r\n`\u003e make -fMakefileX64` for x86_64 GCC build.\r\n\r\n`\u003e make -fMakefileX64db` for x86_64 GCC debug build.\r\n\r\n`\u003e make -fMakefileClang` for i386 build using LLVM Clang.\r\n\r\n`\u003e make -fMakefileTCC` for i386 build using tcc, [Bellard's thiny c compiler](https://bellard.org/tcc/)\r\n\r\nYou can also use mk.bat and mk64.bat files.\r\nFor Clang, I use LLVM5.0.1 with the headers and libs from Mingw-w64.\r\nBe sure to adjust your include and lib directorries on the command line with `-IPath\\to\\mingw\\include` and `-LPath\\to\\mingw\\lib`.\r\n","funding_links":[],"categories":["C","Utility","Uncategorized","Programs","Window Management"],"sub_categories":["Window Management","Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRamonUnch%2FAltSnap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRamonUnch%2FAltSnap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRamonUnch%2FAltSnap/lists"}