mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-18 23:28:29 +00:00
gui_session: distinguish view-stacking operations
This patch eliminates the use of invalid view handles as special Session::Command arguments. The TO_FRONT and TO_BACK operations interpreted as invalid neighbor as top-most or back-most position. Those corner cases are now expressed via dedicated commands. The new stacking commands are FRONT, BACK, FRONT_OF, and BEHIND_OF. While changing the command interface, the patch removes the OP_ prefix from the opcode values. Issue #5242
This commit is contained in:
committed by
Christian Helmuth
parent
b0803eabdb
commit
f274ed549e
@ -375,7 +375,7 @@ class Log_view
|
||||
|
||||
void top()
|
||||
{
|
||||
_gui.enqueue<Command::To_front>(_handle, View_handle());
|
||||
_gui.enqueue<Command::Front>(_handle);
|
||||
_gui.execute();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user