Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adac80d
)
ecere/gui/Window: (#789) 2. Added a way to grab entire desktop including task bar
author
Jerome St-Louis
<jerome@ecere.com>
Fri, 15 Jul 2016 04:50:01 +0000
(
00:50
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 28 Jul 2016 21:35:16 +0000
(17:35 -0400)
- Call desktop.Grab() with last parameter (decorations) true
ecere/src/gui/Window.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/Window.ec
b/ecere/src/gui/Window.ec
index
7000799
..
9542db4
100644
(file)
--- a/
ecere/src/gui/Window.ec
+++ b/
ecere/src/gui/Window.ec
@@
-7271,6
+7271,9
@@
public:
clip.bottom += decorations ? 0 : clientStart.y;
}
+ if(decorations && this == guiApp.desktop)
+ clip = { 0, 0, guiApp.virtualScreen.w, guiApp.virtualScreen.h };
+
if(display && display.flags.flipping)
{
rootWindow.Update(null);