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
App: single-method layout setup
[staging/windowmanager.git]
/
src
/
app.hpp
diff --git
a/src/app.hpp
b/src/app.hpp
index
6e18855
..
c12654d
100644
(file)
--- a/
src/app.hpp
+++ b/
src/app.hpp
@@
-139,8
+139,6
@@
struct App {
int dispatch_events();
int dispatch_pending_events();
int dispatch_events();
int dispatch_pending_events();
- void surface_set_layout_full(uint32_t surface_id);
- void surface_set_layout_split(uint32_t surface_id, uint32_t sub_surface_id);
void set_pending_events();
result<int> api_request_surface(char const *drawing_name);
void set_pending_events();
result<int> api_request_surface(char const *drawing_name);
@@
-164,6
+162,8
@@
private:
int init_layers();
int init_layers();
+ void surface_set_layout(int surface_id, optional<int> sub_surface_id = nullopt);
+
// TMC WM Events to clients
void emit_activated(char const *label);
void emit_deactivated(char const *label);
// TMC WM Events to clients
void emit_activated(char const *label);
void emit_deactivated(char const *label);