mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-09 07:14:18 +01:00
changed panel to use boxes
This commit is contained in:
@@ -1038,6 +1038,29 @@ WMScreenMainLoop(WMScreen *scr)
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
WMBreakModalLoop(WMScreen *scr)
|
||||
{
|
||||
scr->modalLoop = 0;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
WMRunModalLoop(WMScreen *scr, WMView *view)
|
||||
{
|
||||
WMScreen *scr = view->screen;
|
||||
|
||||
scr->modalView = view;
|
||||
|
||||
scr->modalLoop = 1;
|
||||
while (scr->modalLoop) {
|
||||
XEvent event;
|
||||
|
||||
WMNextEvent(scr->display, &event);
|
||||
WMHandleEvent(&event);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Display*
|
||||
WMScreenDisplay(WMScreen *scr)
|
||||
|
||||
Reference in New Issue
Block a user