summaryrefslogtreecommitdiff
path: root/openbox/prompt.c
AgeCommit message (Collapse)Author
2010-01-08Don't handle input events on prompts if they should be used for a ↵Dana Jansens
binding/menu instead. Also, be more careful about making the prompt buttons look pressed, don't make them pressed from a motion notify event if they didnt first handle the press.
2009-12-21Add themeing options for inactive osd labels, osd.inactive.label.*Dana Jansens
(rename the current osd label options from osd.label to osd.active.label, similar to the window.(in)?active.label options.
2009-12-16Merge branch 'backport' into workDana Jansens
Conflicts: obt/keyboard.c obt/keyboard.h openbox/event.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c
2009-12-14Allow the user to bind more than one keycode to a keysym for Ob ↵Dana Jansens
Menus/Move/Resize If the user has escape bound to more than one keycode then they can use any of them to close a menu. This change applies to the hardcoded keys in openbox, which are used for the menus and for move/resize, and maybe other places.
2009-11-07Make clang happierMikael Magnusson
Add asserts to default: in switch statements Store pointed to variables locally so it knows they don't change Remove some dead assignments Mark ob_exit_with_error as noreturn Use "%s", msg instead of just msg to printf style functions Use the c_pfocus variable
2008-03-08Merge branch 'backport' into workMikael Magnusson
Conflicts: obt/keyboard.c openbox/actions/cyclewindows.c openbox/actions/directionalwindows.c openbox/frame.c openbox/openbox.c
2008-03-08Remove double newlines.Mikael Magnusson
2008-03-02Merge branch 'backport' into workDana Jansens
Conflicts: openbox/actions/execute.c openbox/event.c openbox/openbox.c openbox/openbox.h
2008-03-02allow prompts to have titles specified. show a prompt when there are syntax ↵Dana Jansens
errors in the xml config files.
2008-03-02add a cleanup callback to the prompt interface. when the prompt's callback ↵Dana Jansens
returns TRUE, then the cleanup function is called. likewise when the prompt system is shutdown (openbox is exiting), then the cleanup function is also called. it should unref/destroy the prompt and any memory associated with it
2008-03-02Merge branch 'backport' into workDana Jansens
2008-03-02make code to show a prompt when you just want to display and message and not ↵Dana Jansens
do anything when the user presses the button
2008-03-02Merge branch 'backport' into workDana Jansens
Conflicts: openbox/actions/all.h openbox/event.c openbox/prompt.c
2008-03-01remove some debug printsDana Jansens
2008-02-22Merge branch 'backport' into workDana Jansens
Conflicts: openbox/menuframe.c openbox/prompt.c openbox/prop.c openbox/prop.h
2008-02-22Let ObPrompts be modal dialogs, and when they are transient for a window, ↵Dana Jansens
make it transient for its entire group, so it can be stacked at the highest level above other transients
2008-02-18Merge branch 'backport' into workDana Jansens
Conflicts: openbox/grab.c openbox/keyboard.c
2008-02-18the focus indicator line for prompt buttons wasn't being displayed, since ↵Dana Jansens
the texture type was no longer being set
2008-02-14draw a box inside the key-focused button in an ObPrompt. also fix rendering ↵Dana Jansens
the buttons when they are parent-relative.
2008-02-14make ObPrompts resize and redraw correctly when reconfiguring and changing ↵Dana Jansens
themes with them open
2008-02-14use the hover and press button colors (this was a bug)Dana Jansens
2008-02-14if a prompt is already showing and you try show it again, then make it ↵Dana Jansens
active. in the "kill this?" prompt use the window's original title without any of the openbox-appended-ness
2008-02-14prompt to kill windows when they are not respondingDana Jansens
2008-02-14let you specify return codes for the different buttons in a prompt, and ↵Dana Jansens
specify a callback function for the prompt for when it is closed
2008-02-14position the buttons in the bottom right instead of centering themDana Jansens
2008-02-14key input works for ObPrompt windows nowDana Jansens
2008-02-14make the prompt buttons respond to button presses. keyboard input code is ↵Dana Jansens
there too but not working yet.
2008-02-14properly place the msg textureDana Jansens
2008-02-14Make ObPrompt windows get managed as clients, and make them able to ↵Dana Jansens
reconfigure as well.
2008-02-14give prompts a border, and fix how they are laid out. and make them use the ↵Dana Jansens
multi-line text capabilities in render for the message
2008-02-14you can create dialog windows called "prompts" which have a message and some ↵Dana Jansens
buttons! they don't do anything interesting yet.
2008-02-14draw a box inside the key-focused button in an ObPrompt. also fix rendering ↵Dana Jansens
the buttons when they are parent-relative.
2008-02-14make ObPrompts resize and redraw correctly when reconfiguring and changing ↵Dana Jansens
themes with them open
2008-02-07use the hover and press button colors (this was a bug)Dana Jansens
2008-02-07if a prompt is already showing and you try show it again, then make it ↵Dana Jansens
active. in the "kill this?" prompt use the window's original title without any of the openbox-appended-ness
2008-02-07prompt to kill windows when they are not respondingDana Jansens
2008-02-07let you specify return codes for the different buttons in a prompt, and ↵Dana Jansens
specify a callback function for the prompt for when it is closed
2008-02-07position the buttons in the bottom right instead of centering themDana Jansens
2008-02-07key input works for ObPrompt windows nowDana Jansens
2008-02-07make the prompt buttons respond to button presses. keyboard input code is ↵Dana Jansens
there too but not working yet.
2008-02-07properly place the msg textureDana Jansens
2008-02-07Make ObPrompt windows get managed as clients, and make them able to ↵Dana Jansens
reconfigure as well.
2008-02-07give prompts a border, and fix how they are laid out. and make them use the ↵Dana Jansens
multi-line text capabilities in render for the message
2008-02-07you can create dialog windows called "prompts" which have a message and some ↵Dana Jansens
buttons! they don't do anything interesting yet.