diff options
author | Vasily Melenchuk <vasily.melenchuk@cib.de> | 2024-04-27 14:14:04 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2024-05-16 12:50:31 +0200 |
commit | e0b930e1ddf008d202c3620fdc6652483f914835 (patch) | |
tree | f874309168eb7f3ceefc088e55cd25a985e1a277 /vcl/inc/brdwin.hxx | |
parent | 7fc7d3b9fe6eabeddf43fbf72a041854fda51b27 (diff) |
VCL: Windows: more usecases for FlashWindow() API to inform on changes
FlashWindow() can be used to bring user attention to application
in background. Right now in LO it has implementation only for
Windows. Here some new cases were added when flashing is used:
* dialog window did open
* document loaded
* LO started
Some redesign of previous solution is also performed: no manual
search for top window, let's reuse existing code.
Changed behavior for bringing LO window to foreground: it is made always and not depending on current value of NewDocumentHandling:ForceFocusAndToFront. It has no sense to tweak this behavior: if user clicks on document in file explorer, LO should came to foreground, no exceptions.
Change-Id: I22b5b4e2b170cd25632083a55b3e9f0358bcae03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166615
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'vcl/inc/brdwin.hxx')
-rw-r--r-- | vcl/inc/brdwin.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/inc/brdwin.hxx b/vcl/inc/brdwin.hxx index dbaa52ed02b2..f9c8a8edb894 100644 --- a/vcl/inc/brdwin.hxx +++ b/vcl/inc/brdwin.hxx @@ -169,8 +169,6 @@ public: tools::Rectangle GetMenuRect() const; virtual Size GetOptimalSize() const override; - - virtual void FlashWindow() const override; }; struct ImplBorderFrameData |