Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
scripts: wm-request uses afb-client-demo
[staging/windowmanager.git]
/
src
/
app.cpp
diff --git
a/src/app.cpp
b/src/app.cpp
index
a034fac
..
6ab58a4
100644
(file)
--- a/
src/app.cpp
+++ b/
src/app.cpp
@@
-422,9
+422,9
@@
char const *App::activate_surface(char const *drawing_name) {
if (this->state.sub == -1) {
if (can_split) {
if (this->state.main != *surface_id) {
if (this->state.sub == -1) {
if (can_split) {
if (this->state.main != *surface_id) {
- this->surface_set_layout_split(this->state.main,
-
this->state.sub =
*surface_id);
- this->
activate(this->state.sub)
;
+ this->surface_set_layout_split(this->state.main,
*surface_id);
+
this->activate(
*surface_id);
+ this->
state.sub = *surface_id
;
}
} else {
this->surface_set_layout_full(*surface_id);
}
} else {
this->surface_set_layout_full(*surface_id);