| Summary: | [EFL] window.screen.width returns wrong value if more displays are available | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Grzegorz Czajkowski <g.czajkowski> | ||||||
| Component: | WebKit EFL | Assignee: | Grzegorz Czajkowski <g.czajkowski> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | commit-queue, gyuyoung.kim, jinwoo7.song, lucas.de.marchi, ryuan.choi | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Grzegorz Czajkowski
2014-10-16 07:56:32 PDT
Created attachment 239948 [details]
Patch
Looks good to me. Comment on attachment 239948 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239948&action=review > Source/WebCore/platform/efl/PlatformScreenEfl.cpp:94 > + if (ecore_x_randr_query() && ecore_x_window_focus_get()) ecore_x_window_focus_get() is called twice. How about using a variable to handle it ? Ecore_X_Window focusedWindow = ecore_x_window_focus_get(); Created attachment 240008 [details]
Patch for landing
(In reply to comment #3) > Comment on attachment 239948 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=239948&action=review > > > Source/WebCore/platform/efl/PlatformScreenEfl.cpp:94 > > + if (ecore_x_randr_query() && ecore_x_window_focus_get()) > > ecore_x_window_focus_get() is called twice. How about using a variable to > handle it ? > > Ecore_X_Window focusedWindow = ecore_x_window_focus_get(); Nice catch! Fixed. Comment on attachment 240008 [details] Patch for landing Clearing flags on attachment: 240008 Committed r174819: <http://trac.webkit.org/changeset/174819> All reviewed patches have been landed. Closing bug. |