Changeset b1f0a14 in mainline for uspace/app/launcher/launcher.h


Ignore:
Timestamp:
2023-01-22T11:05:28Z (15 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0161d16
Parents:
5d380b6
Message:

Pass input device ID via display specification argument

This allows launcher to start applications in the correct seat,
meaning the correct seat's focus will be changed to the newly
created window.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/launcher/launcher.h

    r5d380b6 rb1f0a14  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3838
    3939#include <display.h>
     40#include <types/common.h>
    4041#include <ui/fixed.h>
    4142#include <ui/image.h>
     
    5051        ui_window_t *window;
    5152        ui_fixed_t *fixed;
     53
    5254        ui_image_t *image;
    5355        ui_label_t *label;
     56
    5457        ui_pbutton_t *pb1;
    5558        ui_pbutton_t *pb2;
     
    5861        ui_pbutton_t *pb5;
    5962        ui_pbutton_t *pb6;
     63
     64        /** ID of device that sent last position event */
     65        sysarg_t ev_pos_id;
    6066} launcher_t;
    6167
Note: See TracChangeset for help on using the changeset viewer.