Skip to content

Commit

Permalink
Revert "Windows: Use new window hit-testing API to implement Windows …
Browse files Browse the repository at this point in the history
…window-management features like Aero Snap"

This reverts commit adc63ce.

Reverting this commit is only a temporary measure to facilitate a stable
release of JUCE 8. Further work on this feature will continue on
develop, and will likely be included in a future release of JUCE 8.
  • Loading branch information
reuk committed Jun 11, 2024
1 parent 9c19294 commit e8b38b8
Show file tree
Hide file tree
Showing 3 changed files with 143 additions and 284 deletions.
2 changes: 1 addition & 1 deletion modules/juce_gui_basics/desktop/juce_Desktop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ bool Desktop::isHeadless() const noexcept

bool Desktop::supportsBorderlessNonClientResize() const
{
#if JUCE_WINDOWS || JUCE_MAC
#if JUCE_MAC
return true;
#else
return false;
Expand Down
2 changes: 0 additions & 2 deletions modules/juce_gui_basics/juce_gui_basics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
#include <sapi.h>
#include <vfw.h>
#include <windowsx.h>
#include <dwmapi.h>

#if JUCE_ETW_TRACELOGGING
#include <TraceLoggingProvider.h>
Expand Down Expand Up @@ -117,7 +116,6 @@
#pragma comment(lib, "vfw32.lib")
#pragma comment(lib, "imm32.lib")
#pragma comment(lib, "comctl32.lib")
#pragma comment(lib, "dwmapi.lib")

#if JUCE_OPENGL
#pragma comment(lib, "OpenGL32.Lib")
Expand Down
Loading

0 comments on commit e8b38b8

Please sign in to comment.