Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/window.h

    r6d5e378 r55edba0  
    4747#include "widget.h"
    4848
    49 typedef struct window {
     49struct window {
    5050        bool is_main; /**< True for the main window of the application. */
    5151        bool is_decorated; /**< True if the window decorations should be rendered. */
     52        bool is_focused; /**< True for the top level window of the desktop. */
    5253        char *caption; /**< Text title of the window header. */
    5354        async_sess_t *isess; /**< Input events from compositor. */
     
    5960        fibril_mutex_t guard; /**< Mutex guarding window surface. */
    6061        surface_t *surface; /**< Window surface shared with compositor. */
    61 } window_t;
     62};
    6263
    6364/**
     
    6566 * If the window is declared as main, its closure causes termination of the
    6667 * whole application. Note that opened window does not have any surface yet. */
    67 extern window_t *window_open(char *, bool, bool, const char *);
     68extern window_t *window_open(char *, bool, bool, const char *, sysarg_t, sysarg_t);
    6869
    6970/**
Note: See TracChangeset for help on using the changeset viewer.