Changeset 66a408f7 in mainline
- Timestamp:
- 2020-06-17T15:10:20Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5271e4c
- Parents:
- b7eea3c9
- Location:
- uspace/lib/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/window.c
rb7eea3c9 r66a408f7 309 309 (event.hpos >= width - border_thickness - close_thickness); 310 310 311 bool isresize = true;311 bool isresize = widget->window->is_resizable; 312 312 display_wnd_rsztype_t rsztype = 0; 313 313 … … 670 670 win->is_main = flags & WINDOW_MAIN; 671 671 win->is_decorated = flags & WINDOW_DECORATED; 672 win->is_resizable = flags & WINDOW_RESIZEABLE; 672 673 win->is_focused = true; 673 674 prodcons_initialize(&win->events); … … 885 886 window_event_t *event; 886 887 888 if (!win->is_resizable) 889 return; 890 887 891 event = (window_event_t *) calloc(1, sizeof(window_event_t)); 888 892 if (event == NULL) -
uspace/lib/gui/window.h
rb7eea3c9 r66a408f7 52 52 bool is_decorated; /**< True if the window decorations should be rendered. */ 53 53 bool is_focused; /**< True for the top level window of the desktop. */ 54 bool is_resizable; /**< True if window is resizable */ 54 55 char *caption; /**< Text title of the window header. */ 55 56 display_t *display; /**< Display service */
Note:
See TracChangeset
for help on using the changeset viewer.