You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 5, 2020. It is now read-only.
Aero snap is the thing introduced in Windows Vista where if you drag the window to the left or right edges of the screen, it resizes and fits into that half of the screen. Similarly, if you drag it to the top of the screen, it maximizes.
Early on in development, I tried a number of things to get Aero Snap working in Windows, but failed. In Papaya, we want a borderless, captionless window that has proper minimization, maximization and restore functionality, and that does not cover the task bar. This turned out to be remarkably difficult, as one window style would break some essential feature. And so Papaya currently doesn't currently snap to screen edges as it should.
If you are familiar with the Windows API, please have a look at this if you can. The relevant code is located in the src/papaya_platform_win32.cpp file in the WinMain() function, in the // Create Window scope.
The text was updated successfully, but these errors were encountered:
Aero snap is the thing introduced in Windows Vista where if you drag the window to the left or right edges of the screen, it resizes and fits into that half of the screen. Similarly, if you drag it to the top of the screen, it maximizes.
Early on in development, I tried a number of things to get Aero Snap working in Windows, but failed. In Papaya, we want a borderless, captionless window that has proper minimization, maximization and restore functionality, and that does not cover the task bar. This turned out to be remarkably difficult, as one window style would break some essential feature. And so Papaya currently doesn't currently snap to screen edges as it should.
If you are familiar with the Windows API, please have a look at this if you can. The relevant code is located in the
src/papaya_platform_win32.cpp
file in theWinMain()
function, in the// Create Window
scope.The text was updated successfully, but these errors were encountered: