projects
/
profile
/
ivi
/
murphy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
282db9d
)
config: grab the screen resource when forcing a window to be shown.
author
Jan Ekström
<jan.ekstrom@intel.com>
Thu, 13 Nov 2014 08:47:12 +0000
(10:47 +0200)
committer
Krisztian Litkey
<krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:19 +0000
(18:37 +0200)
Mismatch in the resource and actual window state causes undesired
behavior.
Change-Id: I3bcb7a2e81c9147c0b2fd8a0734b670cb495b681
packaging.in/murphy.lua
patch
|
blob
|
history
diff --git
a/packaging.in/murphy.lua
b/packaging.in/murphy.lua
index
552b309
..
08b6225
100644
(file)
--- a/
packaging.in/murphy.lua
+++ b/
packaging.in/murphy.lua
@@
-1755,10
+1755,13
@@
if sc then
print('### ==> SHOW')
print(tostring(msg.arg))
end
+
+ local surface = msg.arg.surface
+
if nores then
wmgr:window_request(msg.arg, a, 0)
+ resclnt:resource_set_acquire("screen", surface)
else
- local surface = msg.arg.surface
resclnt:resource_set_acquire("screen", surface)
resmgr:window_raise(msg.appid, surface, 1)
end