Code Review
/
apps
/
agl-service-windowmanager-2017.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Support XDG application
[apps/agl-service-windowmanager-2017.git]
/
src
/
wayland.cpp
diff --git
a/src/wayland.cpp
b/src/wayland.cpp
index
4d6fc3d
..
53668d2
100644
(file)
--- a/
src/wayland.cpp
+++ b/
src/wayland.cpp
@@
-163,9
+163,11
@@
void output::mode(uint32_t flags, int32_t w, int32_t h, int32_t r) {
void output::done() {
HMI_DEBUG("wm", "wl::output %s @ %p done", __func__, this->proxy.get());
void output::done() {
HMI_DEBUG("wm", "wl::output %s @ %p done", __func__, this->proxy.get());
- //
Let's just disregard the flipped ones...
+ //
Pivot and flipped
if (this->transform == WL_OUTPUT_TRANSFORM_90 ||
if (this->transform == WL_OUTPUT_TRANSFORM_90 ||
- this->transform == WL_OUTPUT_TRANSFORM_270) {
+ this->transform == WL_OUTPUT_TRANSFORM_270 ||
+ this->transform == WL_OUTPUT_TRANSFORM_FLIPPED_90 ||
+ this->transform == WL_OUTPUT_TRANSFORM_FLIPPED_270) {
std::swap(this->width, this->height);
}
}
std::swap(this->width, this->height);
}
}