Mikael Magnusson [Thu, 28 Feb 2008 04:19:35 +0000 (05:19 +0100)]
dummy child of all mikabox branches at 3.4.7
Mikael Magnusson [Thu, 28 Feb 2008 03:40:25 +0000 (04:40 +0100)]
Set a prop on locked windows, so panels can see it, and so it persists over restarts.
Mikael Magnusson [Wed, 27 Feb 2008 15:53:43 +0000 (16:53 +0100)]
Save screen_last_desktop to the root prop _OB_LAST_DESKTOP.
Mikael Magnusson [Thu, 26 Jul 2007 06:19:14 +0000 (08:19 +0200)]
Resist on skip_taskbar windows too
Mikael Magnusson [Mon, 23 Jul 2007 23:58:17 +0000 (01:58 +0200)]
Funner mousebindings for the dock. Scrolling changes desktops. Button 8 does desktop to=last.
Mikael Magnusson [Mon, 23 Jul 2007 23:53:59 +0000 (01:53 +0200)]
Make the menu pop up centered below the mouse pointer.
also move the menu one pixel down so you can click and the menu doesn't stick.
Mikael Magnusson [Wed, 22 Aug 2007 21:58:57 +0000 (23:58 +0200)]
Add a _OB_FOCUS client message for obpanel to use.
Mikael Magnusson [Mon, 23 Jul 2007 23:50:04 +0000 (01:50 +0200)]
Disable the evil calling of a kde program on startup
Mikael Magnusson [Fri, 8 Feb 2008 12:54:32 +0000 (13:54 +0100)]
Revert popup.c from 74ef28
Mikael Magnusson [Mon, 23 Jul 2007 23:48:34 +0000 (01:48 +0200)]
Various style related changes.
This includes:
Not forcing an even label_height
Changing the cursor to BUSY (from BUSYPOINTER)
Making the label area in the dirfocus popup different
No menu item padding
Nice blue colors for the focus cycle indicator
Not making shadows increase text boundaries
Mikael Magnusson [Wed, 13 Feb 2008 15:50:15 +0000 (16:50 +0100)]
Update transparent icon to the new icon.
Mikael Magnusson [Mon, 23 Jul 2007 23:41:32 +0000 (01:41 +0200)]
Add a window icon that is more transparent to stand out less.
Mikael Magnusson [Mon, 23 Jul 2007 23:40:15 +0000 (01:40 +0200)]
Put the client-list-menu in the client menu, just for fun. Possibly useful when there are a lot of maximized windows or the desktop is otherwise unreachable and you want to access an app without using the keyboard.
Mikael Magnusson [Mon, 23 Jul 2007 23:38:43 +0000 (01:38 +0200)]
Change the client list menus back to separating iconified windows with a line instead of bracketing them.
Mikael Magnusson [Mon, 23 Jul 2007 23:38:03 +0000 (01:38 +0200)]
Stop focus from moving if scroll lock is enabled. Useful when some program decides to pop up a window every 2 seconds while you're chatting away on irc.
Mikael Magnusson [Mon, 23 Jul 2007 23:36:47 +0000 (01:36 +0200)]
Make the default window icon randomly tinted.
Mikael Magnusson [Mon, 23 Jul 2007 23:44:15 +0000 (01:44 +0200)]
Add grab option to <keybind> to not grab the keycombo.
This is for example to let you bind stuff to the Alt key while alt-tabbing,
but you don't want those keys to be grabbed in normal usage.
Mikael Magnusson [Mon, 23 Jul 2007 23:35:12 +0000 (01:35 +0200)]
Add emulatexinerama option in desktops section that splits the screen in two side-by-side areas.
Mikael Magnusson [Thu, 7 Feb 2008 15:15:45 +0000 (16:15 +0100)]
Don't update hints when the title is the same.
What I really wanted was to not redraw the titlebar but that seems much harder.
Mikael Magnusson [Mon, 23 Jul 2007 23:49:23 +0000 (01:49 +0200)]
Various uninteresting changes to the test programs.
Mikael Magnusson [Mon, 23 Jul 2007 23:45:41 +0000 (01:45 +0200)]
Allow selecting the random placement strategy. The hunk for place.c that actually does this seems to have been lost somewhere on the way.
Mikael Magnusson [Mon, 23 Jul 2007 23:30:50 +0000 (01:30 +0200)]
Commented version of color cycling core cursor. I think it leaks the color specs.
Mikael Magnusson [Thu, 28 Feb 2008 01:23:25 +0000 (02:23 +0100)]
Lock some stuff in event.c too.
Mikael Magnusson [Thu, 28 Feb 2008 01:12:19 +0000 (02:12 +0100)]
Better locking for client menu.
Mikael Magnusson [Wed, 27 Feb 2008 14:54:26 +0000 (15:54 +0100)]
Disable locking for some actions where it didn't make sense.
Mikael Magnusson [Sat, 23 Feb 2008 19:15:34 +0000 (20:15 +0100)]
Add Lock action.
Allows locking windows so you can't move/resize/close/etc them by mistake.
It's probably better to check in client.c than the actions, just
testing if I want it at all for now.
Mikael Magnusson [Wed, 27 Feb 2008 15:27:07 +0000 (16:27 +0100)]
Save target window across restarts for sendkeyevent.
Mikael Magnusson [Tue, 5 Feb 2008 10:19:10 +0000 (11:19 +0100)]
New SendKeyEvent and SetKeyTarget actions.
These let you define SendKeyEvent actions that send a specified key to a target
window. The target window can be changed at runtime with the SetKeyTarget action.
Mikael Magnusson [Mon, 23 Jul 2007 23:36:14 +0000 (01:36 +0200)]
Add "de" option to Iconify action that makes it deiconify windows (useful while alt-tabbing).
Mikael Magnusson [Wed, 16 Jan 2008 21:41:10 +0000 (22:41 +0100)]
Add RaiseTemp action.
This has the same effect as giving the <raise>yes</raise> option to next/prevwindow
but makes it optional and keybindable, so if W-Tab is nextwindow, you can have W-q
as raisetemp.
Dana Jansens [Thu, 28 Feb 2008 02:07:10 +0000 (21:07 -0500)]
Merge branch 'backport' into work
Conflicts:
openbox/actions/execute.c
Dana Jansens [Thu, 28 Feb 2008 02:04:04 +0000 (21:04 -0500)]
some new translated strings
Dana Jansens [Thu, 28 Feb 2008 01:43:28 +0000 (20:43 -0500)]
add a boolean <prompt> option to the Exit action, which will ask before exiting openbox
Dana Jansens [Thu, 28 Feb 2008 01:35:18 +0000 (20:35 -0500)]
Give the Execute action the <prompt> option
Dana Jansens [Thu, 28 Feb 2008 00:37:48 +0000 (19:37 -0500)]
Merge branch 'backport' into work
Dana Jansens [Thu, 28 Feb 2008 00:21:16 +0000 (19:21 -0500)]
make the xdg-autostart script get installed to PREFIX/lib/openbox, and make the autostart.sh script look for it there.
Mikael Magnusson [Wed, 27 Feb 2008 03:50:41 +0000 (04:50 +0100)]
Merge branch 'backport' into work
Conflicts:
openbox/client.c
openbox/event.c
openbox/event.h
Mikael Magnusson [Wed, 27 Feb 2008 03:58:12 +0000 (04:58 +0100)]
Update po files with new strings, update swedish translation.
Dana Jansens [Wed, 27 Feb 2008 03:22:35 +0000 (22:22 -0500)]
Change the kill prompt buttons to "Cancel" and "End Process"/"Disconnect" (for local/remote apps)
Mikael Magnusson [Wed, 27 Feb 2008 02:59:25 +0000 (03:59 +0100)]
Fix some typos and style in client.c, and add a comment.
Also moves a comment from many places into one place.
Mikael Magnusson [Wed, 27 Feb 2008 02:51:52 +0000 (03:51 +0100)]
Make "Unnamed Window" translatable.
Mikael Magnusson [Wed, 27 Feb 2008 00:04:22 +0000 (01:04 +0100)]
Pass TRUE instead of FALSE to do what the comment says.
Mikael Magnusson [Tue, 26 Feb 2008 13:49:49 +0000 (14:49 +0100)]
Various cleanups of event.c
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.
Mikael Magnusson [Tue, 26 Feb 2008 13:12:02 +0000 (14:12 +0100)]
Refactor the event handling for titlebar buttons a bit.
Dana Jansens [Wed, 27 Feb 2008 02:17:26 +0000 (21:17 -0500)]
add xce-mcs-manager to the autostart.sh - run it if gsd is not found
Dana Jansens [Tue, 26 Feb 2008 08:15:21 +0000 (03:15 -0500)]
Merge branch 'backport' into work
Dana Jansens [Tue, 26 Feb 2008 08:12:57 +0000 (03:12 -0500)]
Fixing bug from commit
041d17373e04
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.
Dana Jansens [Tue, 26 Feb 2008 06:00:26 +0000 (01:00 -0500)]
Merge branch 'backport' into work
Dana Jansens [Tue, 26 Feb 2008 05:59:25 +0000 (00:59 -0500)]
change the buttons in the kill prompt from "yes/no" which can be a little confusing to be more clear "cancel/force exit" so people won't do the wrong thing by accident so much
Dana Jansens [Tue, 26 Feb 2008 03:16:58 +0000 (22:16 -0500)]
show the desktop change popup before mapping/unmapping all the windows
this makes a big difference if the compmgr is being laggy trying to show windows
Dana Jansens [Fri, 22 Feb 2008 17:31:26 +0000 (12:31 -0500)]
Merge branch 'backport' into work
Conflicts:
openbox/menuframe.c
openbox/prompt.c
openbox/prop.c
openbox/prop.h
Dana Jansens [Fri, 22 Feb 2008 17:12:20 +0000 (12:12 -0500)]
Add theme options for menu line separators.
Added:
menu.separator.color
menu.separator.width
menu.separator.padding.width
menu.separator.padding.height
Dana Jansens [Fri, 22 Feb 2008 15:52:04 +0000 (10:52 -0500)]
Allow windows to specify a base-size of 0
This fixes the resize popup for terminal windows, if the base-size was 0, the size popup would be off by one.
Dana Jansens [Fri, 22 Feb 2008 15:38:14 +0000 (10:38 -0500)]
Let ObPrompts be modal dialogs, and when they are transient for a window, make it transient for its entire group, so it can be stacked at the highest level above other transients
Dana Jansens [Thu, 21 Feb 2008 18:24:19 +0000 (13:24 -0500)]
Merge branch 'backport' into work
Conflicts:
openbox/openbox.c
openbox/session.c
Dana Jansens [Thu, 21 Feb 2008 18:00:11 +0000 (13:00 -0500)]
If multiple key bindings at the same level are not able to be translated, then don't have them conflict and end up removing untranslated bindings from the key tree. This way they can be re-translated later.
This fixes keybindings getting lost when VMWare grabs the keyboard/pointer
Mikael Magnusson [Thu, 21 Feb 2008 10:57:06 +0000 (11:57 +0100)]
Change all single quotes to double quotes in strings.
Mikael Magnusson [Thu, 14 Feb 2008 12:49:01 +0000 (13:49 +0100)]
Update finnish translation.
Mikael Magnusson [Tue, 19 Feb 2008 17:44:49 +0000 (18:44 +0100)]
MoveResizeTo was broken for opposite edges.
Dana Jansens [Tue, 19 Feb 2008 01:43:18 +0000 (20:43 -0500)]
Merge branch 'backport' into work
Conflicts:
openbox/grab.c
openbox/keyboard.c
Dana Jansens [Mon, 18 Feb 2008 22:12:38 +0000 (17:12 -0500)]
Fix button press behaviours. On LeaveNotify, make the button no longer 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.
Dana Jansens [Mon, 18 Feb 2008 20:55:59 +0000 (15:55 -0500)]
Grab key bindings with GrabModeSync, so that if they lead to a keyboard grab, then no keyboard events will be lost between the initial keybinding and the keyboard grab.
Dana Jansens [Mon, 18 Feb 2008 04:51:18 +0000 (23:51 -0500)]
the focus indicator line for prompt buttons wasn't being displayed, since the texture type was no longer being set
Elián Hanisch [Mon, 18 Feb 2008 22:26:31 +0000 (23:26 +0100)]
Update spanish translation.
Mikael Magnusson [Mon, 11 Feb 2008 17:06:22 +0000 (18:06 +0100)]
Fix some typos in comments.
Mikael Magnusson [Sun, 17 Feb 2008 16:01:07 +0000 (17:01 +0100)]
Add a comment for translators about how to change order of arguments.
Mikael Magnusson [Sun, 17 Feb 2008 15:39:56 +0000 (16:39 +0100)]
Update all the po files so they contain the new prompt strings so translators can translate them.
Mikael Magnusson [Sun, 17 Feb 2008 15:38:22 +0000 (16:38 +0100)]
Update swedish translation.
洪任諭 [Sun, 17 Feb 2008 15:35:52 +0000 (16:35 +0100)]
Update traditional chinese translation.
Mikael Magnusson [Sun, 17 Feb 2008 15:10:42 +0000 (16:10 +0100)]
Update swedish translation.
Mikael Magnusson [Fri, 15 Feb 2008 15:47:10 +0000 (16:47 +0100)]
() -> (void) also in .h files, and fix a place that gave arguments when it shouldn't have.
Mikael Magnusson [Fri, 15 Feb 2008 15:15:00 +0000 (16:15 +0100)]
() -> (void)
Dana Jansens [Fri, 15 Feb 2008 15:02:07 +0000 (10:02 -0500)]
Merge branch 'backport' into work
Conflicts:
openbox/frame.c
openbox/menuframe.c
Dana Jansens [Fri, 15 Feb 2008 15:01:32 +0000 (10:01 -0500)]
remove prop.c/h, as they were reintroduced in a bad merge (
0dc7eca4cdfff6425e19a0bace0f9ae8834d04e8)
Dana Jansens [Fri, 15 Feb 2008 06:07:15 +0000 (01:07 -0500)]
make the frame iconify animation go right into the icon geometry area instead of stopping before it
Dana Jansens [Fri, 15 Feb 2008 04:04:54 +0000 (23:04 -0500)]
set the window type hint on menus to be "popup menus"
Dana Jansens [Thu, 14 Feb 2008 20:14:55 +0000 (15:14 -0500)]
Merge branch 'backport' into work
Dana Jansens [Thu, 14 Feb 2008 20:14:41 +0000 (15:14 -0500)]
Merge branch 'backport' into work
Dana Jansens [Thu, 14 Feb 2008 20:11:25 +0000 (15:11 -0500)]
avoid a compiler warning
Dana Jansens [Thu, 14 Feb 2008 02:30:18 +0000 (21:30 -0500)]
don't reference free'd memory, and don't leak memory if the image cache is not saving any resized pictures
Dana Jansens [Thu, 14 Feb 2008 19:57:02 +0000 (14:57 -0500)]
don't use \n at the end of g_message strings
Dana Jansens [Wed, 13 Feb 2008 15:28:56 +0000 (10:28 -0500)]
use g_message not g_print so it can go to the log
Dana Jansens [Wed, 13 Feb 2008 14:14:58 +0000 (09:14 -0500)]
pre-calc the sum of a picture added to an RrImage rather than calculating it every time
Dana Jansens [Wed, 13 Feb 2008 13:43:57 +0000 (08:43 -0500)]
add a bunch of comments for images and image caches. and make the number of resized pictures saved in an image tunable per-icon cache.
Dana Jansens [Wed, 13 Feb 2008 03:29:23 +0000 (22:29 -0500)]
when resizing images, pick a source image with the same aspect ratio if possible
Dana Jansens [Thu, 14 Feb 2008 09:47:49 +0000 (10:47 +0100)]
Introducing the icon cache.
If an icon is the same as one in the cache, then it uses that one.
icons of different sizes (from the same client) are linked together into
one, and resizes of icons are cached and linked to all the various sizes.
so you only need one icon in memory for all your terminals now. ya!
Dana Jansens [Thu, 14 Feb 2008 19:44:17 +0000 (14:44 -0500)]
backport the changes to render/ from the alttab branch (commit
3592046b2b26e05ee94c0dd0fed5b7fd5475c198) in master, as the iconcache changes depend on this
git show
3592046b -- render
Dana Jansens [Thu, 14 Feb 2008 19:36:05 +0000 (14:36 -0500)]
Merge branch 'backport' into work
Mikael Magnusson [Thu, 14 Feb 2008 14:46:02 +0000 (15:46 +0100)]
put the char member at the bottom of the struct so that it doesnt mess up alignment for the other members (assuming the compiler doesn't pad the struct appropriately anyways)
Dana Jansens [Thu, 14 Feb 2008 19:27:46 +0000 (14:27 -0500)]
obprompts do not have a stacking layer, as they don't appear directly in the stacking list
Dana Jansens [Thu, 14 Feb 2008 19:27:46 +0000 (14:27 -0500)]
obprompts do not have a stacking layer, as they don't appear directly in the stacking list
Dana Jansens [Thu, 14 Feb 2008 18:10:33 +0000 (13:10 -0500)]
draw a box inside the key-focused button in an ObPrompt. also fix rendering the buttons when they are parent-relative.
Dana Jansens [Thu, 14 Feb 2008 17:31:51 +0000 (12:31 -0500)]
fix min-size calculations for lineart textures
Dana Jansens [Thu, 14 Feb 2008 17:15:30 +0000 (12:15 -0500)]
make ObPrompts resize and redraw correctly when reconfiguring and changing themes with them open
Dana Jansens [Tue, 12 Feb 2008 03:45:27 +0000 (22:45 -0500)]
don't ping everything all the time. yay. ping when you close, and if it doesn't reply then show the kill prompt. also show a more correct prompt for windows connecting from non-local machines - ask to disconnect them from the X server.
Dana Jansens [Thu, 7 Feb 2008 06:46:40 +0000 (01:46 -0500)]
tell what signal is going to be sent to the client when killing through the dialog
Dana Jansens [Thu, 7 Feb 2008 06:36:05 +0000 (01:36 -0500)]
use the hover and press button colors (this was a bug)
Dana Jansens [Thu, 7 Feb 2008 06:34:34 +0000 (01:34 -0500)]
when drawing and measuring strings in "flow" mode, don't ellipsize so that lines can wrap
Dana Jansens [Thu, 7 Feb 2008 06:29:02 +0000 (01:29 -0500)]
don't kill our own ObPrompt windows with kill actions
Dana Jansens [Thu, 7 Feb 2008 06:03:05 +0000 (01:03 -0500)]
if a prompt is already showing and you try show it again, then make it active. in the "kill this?" prompt use the window's original title without any of the openbox-appended-ness