summaryrefslogtreecommitdiff
path: root/openbox/event.c
AgeCommit message (Collapse)Author
2009-11-21Revert "Revert "make windows stay on screen when..."Dana Jansens
Just kidding. This doesn't revert d81d54c7a977a034199f24fc8fa7433e634aaf91 but it redoes the work that patch reverted in a better, less intrusive, way.
2009-11-21Revert all commits for the Hooks feature to move it to a topic branch.Dana Jansens
This reverts commit fd2f617be7ff57fcb187daa737f66d243544c8cd. This reverts commit a47d0a53652a96ca1df96fc9268757df1431ae55. This reverts commit a1908e076736e1a618bd305c5963dbfecaa30497. This reverts commit dc2e6f6bf7143a56de360a393b33906735e63625. This reverts commit 985e7dadf9a3ebf4bd265d955c3198e96405e5d2. This reverts commit db781556d63d1a50bd1b1b4b6b5423ef703bf2c7. This reverts commit feec8f663f0a11546c2da87575fecc8a88d97ca1.
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
2009-09-20Merge branch 'backport' into workMikael Magnusson
2009-09-20Reload motif wm hints when property changesMikael Magnusson
Google's chrome does this when you toggle window decorations. Based on patch in #4250 by Daniel Erat.
2009-09-19Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/actions/desktop.c openbox/client.c openbox/event.c openbox/extensions.c openbox/popup.c openbox/screen.c parser/parse.c
2009-07-05Another debug message typoMikael Magnusson
2009-01-29Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/event.c openbox/frame.c
2009-01-29Handle InputShape type shaping too.Mikael Magnusson
Many composite apps use this to pass through clicks where they are transparent.
2008-11-15Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/event.c
2008-11-05Using format specifiers without arguments in printf is bad.Mikael Magnusson
2008-10-27Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/client.c openbox/prop.c openbox/prop.h
2008-10-27Correct a 64-bit bug in event_time_afterMikael Magnusson
The code assumed the timestamps had the same domain as the type Xlib uses for them, which is almost never the case with Xlib. Change all involved variables to guint32.
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-02add a RECONFIGURING state, and enter that when doing reconfiguringDana Jansens
2008-03-02missing a headerDana Jansens
2008-03-02Merge branch 'backport' into workDana Jansens
Conflicts: openbox/actions/all.h openbox/event.c openbox/prompt.c
2008-03-02don't let you use left to go "up to parent" on menus which don't have any parentDana Jansens
2008-03-01queue hooks so that they don't run as each thing happens, instead run them ↵Dana Jansens
at the end. keep the openbox code paths fast.
2008-03-01Get hooks workingDana Jansens
2008-02-27Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/client.c openbox/event.c openbox/event.h
2008-02-27Various cleanups of event.cMikael Magnusson
Typo in debug message. Improve some comments. Space after comma. Factor out compress_client_message_event. Fold two ifs together. Change duplicated case to fall through.
2008-02-27Refactor the event handling for titlebar buttons a bit.Mikael Magnusson
2008-02-26Merge branch 'backport' into workDana Jansens
2008-02-26Fixing bug from commit 041d17373e04Dana Jansens
Pressing a button and leave/enter would cause the button to show hover mode, not pressed mode. Change the behaviour back to how it used to be for pressing (the button stays pressed when you move outside of its box) and make it work correctly, as commit 041d17373e04 also did for menus. Reverting this behaviour because it seems impossible to do the enter/leave stuff correctly for the close button on maximized windows. Leaving the titlebar contexts doesn't give us an Enter event to go along with it, so even if we check all motion events, the button will flash unpressed when leaving the topright contexts.
2008-02-18Merge branch 'backport' into workDana Jansens
Conflicts: openbox/grab.c openbox/keyboard.c
2008-02-18Fix button press behaviours. On LeaveNotify, make the button no longer ↵Dana Jansens
pressed. On MotionNotify, only make it hovered if no button is pressed down. On EnterNotify, make it hovered or pressed as appropriate. This fixes case where you left-click and hold on a button, then right click to open the menu - this used to leave the button in a pressed state.
2008-02-17Fix some typos in comments.Mikael Magnusson
2008-02-14prompt to kill windows when they are not respondingDana 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-14Make ObPrompt windows get managed as clients, and make them able to ↵Dana Jansens
reconfigure as well.
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-14Merge branch 'backport' into workMikael Magnusson
Diffing against the old work branch where most of the changes in backport were cherry-picked from indicates this should be alright. (0de9097017d4d1991388a35e380a57dc1135b431)
2008-02-14_net_active_window shouldn't change desktop, is the general policy concensus.Dana Jansens
2008-02-07Improve menu behaviour when clicking on grandparents.Mikael Magnusson
Some time ago the menus were changed to not trigger on mouseover on a grandparent or higher so that you wouldn't lose a carefully navigated menu structure. Clicking on an item opens it though. It used to be on ButtonRelease but now it is on ButtonPress. Additionally, a Press now causes grandchildren to be closed when clicking on already selected parts of the hierarchy.
2008-02-07prompt to kill windows when they are not respondingDana 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-07you can create dialog windows called "prompts" which have a message and some ↵Dana Jansens
buttons! they don't do anything interesting yet.
2008-02-07Merge branch 'backport' into workDana Jansens
Conflicts: openbox/config.c
2008-02-03ignore fake generated enters if they are in the serial-ignore-range tooDana Jansens
2008-02-02Merge branch 'backport' into workDana Jansens
Conflicts: openbox/client.c openbox/event.c openbox/mouse.c openbox/openbox.c openbox/prop.c openbox/prop.h openbox/screen.c parser/parse.c parser/parse.h
2008-02-02comment typoDana Jansens
2008-02-02make fullscreen windows more xinerama and multi-screen awareDana Jansens
instead of calling it every time a window loses focus, it is only called when a window gains focus. then, check fullscreen layered windows, if they should be moved to a lower layer. when moving a window between monitors, also check its layer and that of any fullscreen windows. let a window stay in the fullscreen layer even when it is not focused, if it is on a non-visible desktop, or if it is on a different monitor from the focused window, or if nothing else is focused
2008-01-31generalize the window managing process into window_manage, which handles ↵Dana Jansens
dock apps and the like
2008-01-31make ob_debug use the g_log system, and make openbox log messages to..a log ↵Dana Jansens
file ! this will help everyone since most people do not run openbox in a terminal..
2008-01-31Merge branch 'backport' into workDana Jansens
Conflicts: openbox/client.c openbox/config.c openbox/event.c openbox/extensions.c openbox/focus_cycle_indicator.c openbox/focus_cycle_popup.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c openbox/stacking.c openbox/startupnotify.c