summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-10-16respect the active/mouse options for monitor placement, and use ↵Dana Jansens
ObMonitorPlace for per-app too
2011-10-16Allow per-app settings to pick a monitor for a window without choosing a ↵Dana Jansens
position in it.
2011-10-16Add "active" and "primary" options to the <monitor> placement option for ↵Dana Jansens
per-app settings (bug #5180)
2011-10-16make undecorated windows place according to their undecorated state (bug #5179)Dana Jansens
splits client_setup_decor_and_functions() into 3 functions. 1. add client_setup_default_decor_and_functions() - called from client_get_all() to get the maximum decor/functions that will be available for use by the client. 2. add client_setup_decor_undecorated() - sets up the client's undecorarted decor if the flag is set by the per-app settings or session state. - we do this before setting up the frame so the frame reflects the window as it should be when getting placed. 3. client_setup_decor_and_functions() - calls the above 2 to perform the same functions as before. - added to client_apply_startup_state() so that we can ensure it was run fully at least once in the mapping process, since it is not called in client_get_all() anymore.
2011-10-16it would seem this cannot return NULL nowDana Jansens
It will get the primary monitor if there is not monitor under the pointer. But assert so it's clear something went wrong if this does happen. Note that there was previously no check for the return value even though the comment claimed there should be.
2011-10-16Link libobt into libobrender, as it uses things from libobt (bug #5150)Fryderyk Dziarmagowski
libobrender uses ObtPaths stuff, so it needs to link in libobt.
2011-10-16Propagate _NET_WM_WINDOW_OPACITY to the frame window (bug #5132)Dana Jansens
2011-10-16Strip leading/trailing whitespace when parsing colors and other strings (bug ↵Dana Jansens
#4937)
2011-10-16free undecorated border colorsDana Jansens
2011-10-16Specific border width/color for undecorated active/inactive windows (bug #4889)Carlos Pita
The attached patch adds three theme options with backward compatible defaults: undecorated.border.width defaults to border.width window.undecorated.active.border.color defaults to window.active.border.color window.undecorated.inactive.border.color defaults to window.inactive.border.color
2011-10-16Fix crash when keyboard map changes and no keybindings exist.Dana Jansens
Don't assume old tree is non-null and start rebinding it.
2011-10-16Change default doubleclick timeout to 500ms and keep track of where last ↵Mikael Magnusson
click was Bug #5152 - "mouse double-click time is too low by default - 200ms" We only use the doubleclick in one place in the default configuration, for doubleclicking titlebars to maximize windows, so any negative impact of increasing the timeout should be minimal, especially with the addition of requiring the two clicks to be in the same place. Doubleclicks are hardcoded to occur within 8 pixels for now, it doesn't seem worth it to add a config until someone complains. A possibility is using the drag threshold, but some people have that set very low so it could be hard to doubleclick then.
2011-10-15Parse all the actions in a single menu itemDana Jansens
2011-10-11Don't remove openbox-gnome.session on make clean - it's not generated.Dana Jansens
2011-10-07Make openbox-gnome-session compatible with gnome3 with gnome-session 3.0+ ↵Geoffrey Antos
support. Yay they did something nice and made it easier for other window managers to be used. How unexpected and pleasant.
2011-10-06Don't show prompts inside the message handler to prevent recursionDana Jansens
Showing prompts causes messages to be created which causes the glib message handler to abort(). Save the messages and show them when done all other processing for the current event.
2011-10-05bug #5253 kde4 is out now, use kde4 menus by default.Dana Jansens
Startup scripts should export "XDG_MENU_PREFIX=kde-4-" but they export "XDG_MENU_PREFIX=kde-".
2011-10-05Make "no" a valid choice for the dialog option in cyclewindows.c.Dana Jansens
It is the same as "none" for backward compatibility (it used to be a boolean).
2011-10-05Update copyright notice in --version outputMikael Magnusson
2011-10-05Fix typo in configure.ac, noticed by hwoarangMikael Magnusson
2011-10-05Consistency with helper/modal windows and multiple desktops.Dana Jansens
When focusing a window, bring its helper windows. This happened before when switching its desktop, but if you have 2 windows on different desktops and switch between them, the helpers should come to both when they are being used. When a new helper/modal window maps on a different desktop and you are using the application, then the helper/modal window is moved to the current desktop to be with the application you are using.
2011-10-05Fix focus stealing for changing desktops/Use timestamp for user input eventsDana Jansens
Change the logic for when to allow stealing focus across desktops. - It was possible to call event_time_after() with a CurrentTime in the old code. - It would disallow a user requested change which is crazy. - It would change desktops on you when a new window appeared but this is generally not desirable. event_source_time() is supposed to give the time which the user made things happen. we leave it at 0 for user-input events right now which means stuff like changing desktop doesn't save any timestamp at all. we should use the timestamp from x for user-generated events.
2011-08-03Fix a memleak introduced by 0dd91ba0e2382a8f6177f501f8a0b26e0daf26a8, some ↵Mikael Magnusson
cleanups
2011-08-02be a bit more explicit about what is being copied from one texture to anotherDana Jansens
2011-08-02Separate theme options for osd prompt buttons.Carlos Pita
I managed to keep backwards compatibility without really cluttering the code so here is the patch http://bugzilla.icculus.org/show_bug.cgi?id=4874 too. Please keep in mind that this is my first piece of code for openbox and that I'm not a die hard openbox user (yet), not to tell the patch was not exhaustively tested. Anyway I think it's pretty much in a good shape but any criticism will be welcome. Basically the patch add the following theme options for controlling buttons in osd prompts: %%%% colors % % for the text inside the button osd.button.unpressed.text.color osd.button.pressed.text.color osd.button.focused.text.color % % for the line art around the button % (if you don't wan't the box just make box.color = bg.color) osd.button.pressed.box.color osd.button.focused.box.color %%%% textures % osd.button.unpressed.bg osd.button.pressed.bg osd.button.focused.bg The buttons can be in three states: unpressed: neither clicked nor selected focused: selected but not clicked pressed: clicked (and of course selected) I discarded the previous distinction between press and pfocus as in fact it was only a formal distinction, in that both appearances mimicked each other in every sense. It think that it was just inherited from the way titlebar buttons are managed so I decided to simplify it a bit. All the options default in a way that preserves backwards compatibility: osd.button.unpressed.text.color -> osd.active.label.text.color osd.button.pressed.text.color -> osd.active.label.text.color osd.button.focused.text.color -> osd.active.label.text.color osd.button.pressed.box.color -> window.active.button.pressed.image.color osd.button.focused.box.color -> window.active.button.hover.image.color osd.button.unpressed.bg -> window.active.button.unpressed.bg osd.button.pressed.bg -> window.active.button.pressed.bg osd.button.focused.bg -> window.active.button.hover.bg Notice that a good deal of locs where added to theme.c but in compensation prompt.c is pretty much simpler now because the appearances and textures are created while loading the theme.
2011-08-02Merge branch 'm4/master'Mikael Magnusson
2011-08-02Revert these two commits temporarily to make the buttons merge easierMikael Magnusson
1e427a3358deeadf8abc326e714ee201fddc43d6 2288da0ae3b44c987687e3deeb7864fcb7b23bb9
2011-08-02Update portuguese translationPedro Beja
2011-08-02Update estonian translationMikael Magnusson
2011-08-02Add Plural-Forms header to fi.po and remove fuzzy mark.Mikael Magnusson
2011-08-02Update polish translation.Jakub Łojewski
2011-08-02Fix some rebase artifactsMikael Magnusson
2011-08-01add --disable options for x extensionsDana Jansens
so we can test compiling without them present
2011-08-01Update Brazilian Portuguese translationOg Maciel
2011-08-01add the 3.4.10+ changes to the CHANGELOGDana Jansens
2011-08-01Add 3.5.0 changesDana Jansens
2011-08-01Update other po filesMikael Magnusson
2011-08-01Update swedish translationMikael Magnusson
2011-08-01Fix some translation string markingsMikael Magnusson
2011-08-01Allow setting icons for submenusMikael Magnusson
2011-08-01Fix menu placement to avoid dead xinerama areas, possibly break other stuffMikael Magnusson
Use screen_find_monitor(area) instead of screen_find_monitor_point( topleft corner) in order to find a better monitor when the menu isn't opening with the mouse cursor in the top left corner. I made screen_find_monitor return the primary screen when it failed to find a monitor containing the rect, instead of the total area, no idea what behaviour this will change but I doubt it will be worse.
2011-08-01Link libraries directly to compile on some systems (debian).Mikael Magnusson
If program (A) is linked to library (B) which is linked to library (C), then A must also link C directly in order to use things from it directly.
2011-08-01The environments are passed in from the openbox-session script so use them.Dana Jansens
2011-08-01Fix bug #4877 (Some harmless code quirks involving booleans)Dana Jansens
2011-08-01be a bit more explicit about what is being copied from one texture to anotherDana Jansens
2011-08-01Separate theme options for osd prompt buttons.Carlos Pita
I managed to keep backwards compatibility without really cluttering the code so here is the patch http://bugzilla.icculus.org/show_bug.cgi?id=4874 too. Please keep in mind that this is my first piece of code for openbox and that I'm not a die hard openbox user (yet), not to tell the patch was not exhaustively tested. Anyway I think it's pretty much in a good shape but any criticism will be welcome. Basically the patch add the following theme options for controlling buttons in osd prompts: %%%% colors % % for the text inside the button osd.button.unpressed.text.color osd.button.pressed.text.color osd.button.focused.text.color % % for the line art around the button % (if you don't wan't the box just make box.color = bg.color) osd.button.pressed.box.color osd.button.focused.box.color %%%% textures % osd.button.unpressed.bg osd.button.pressed.bg osd.button.focused.bg The buttons can be in three states: unpressed: neither clicked nor selected focused: selected but not clicked pressed: clicked (and of course selected) I discarded the previous distinction between press and pfocus as in fact it was only a formal distinction, in that both appearances mimicked each other in every sense. It think that it was just inherited from the way titlebar buttons are managed so I decided to simplify it a bit. All the options default in a way that preserves backwards compatibility: osd.button.unpressed.text.color -> osd.active.label.text.color osd.button.pressed.text.color -> osd.active.label.text.color osd.button.focused.text.color -> osd.active.label.text.color osd.button.pressed.box.color -> window.active.button.pressed.image.color osd.button.focused.box.color -> window.active.button.hover.image.color osd.button.unpressed.bg -> window.active.button.unpressed.bg osd.button.pressed.bg -> window.active.button.pressed.bg osd.button.focused.bg -> window.active.button.hover.bg Notice that a good deal of locs where added to theme.c but in compensation prompt.c is pretty much simpler now because the appearances and textures are created while loading the theme.
2011-08-01move Imlib to the option deps in the git readmeDana Jansens
2011-08-01Update note on dependencies wrt autopointMikael Magnusson
2011-08-01Update README.GIT to the packages in current ubuntu distribution and include ↵Dana Jansens
imlib2
2011-08-01Comment fixDana Jansens