]>
icculus.org git repositories - mikachu/openbox.git/log
Mikael Magnusson [Tue, 6 Jan 2015 22:26:34 +0000 (23:26 +0100)]
Special case for unusual monitor setup
When no monitor is at (0,0), the screen rect containing all monitors
is not at the origin, but screen_apply_gravity_point assumes the passed
x/y are relative to the passed area, so adjust them.
Mikael Magnusson [Tue, 11 Nov 2014 13:53:40 +0000 (14:53 +0100)]
Penalize #rects when placing
Mikael Magnusson [Thu, 6 Nov 2014 03:51:26 +0000 (04:51 +0100)]
Merge branch 'work' into wip/mikabox
Conflicts:
openbox/config.c
Mikael Magnusson [Thu, 6 Nov 2014 03:50:55 +0000 (04:50 +0100)]
Merge branches 'wip/edges', 'mikabox/crap', 'mikabox/lock', 'mikabox/maybe' and 'mikabox/personal' into wip/mikabox
Conflicts:
obt/prop.c
openbox/client_list_combined_menu.c
openbox/event.c
Mikael Magnusson [Mon, 16 Aug 2010 01:24:15 +0000 (03:24 +0200)]
Allow specifying several mousebinds in one go (hack)
Doesn't handle trivial stuff like multiple spaces, it's 3:24am so no guarantees otherwise either.
Mikael Magnusson [Sun, 8 Feb 2009 16:35:35 +0000 (17:35 +0100)]
Start on the second entry...
Mikael Magnusson [Fri, 8 Jan 2010 18:47:56 +0000 (19:47 +0100)]
Only warp on menu close if it was also the top level menu.
Mikael Magnusson [Mon, 7 Jul 2008 20:34:55 +0000 (22:34 +0200)]
This might be a little bit better.
At least it consistently doesn't run the openbox action.
Mikael Magnusson [Fri, 8 Jan 2010 17:22:18 +0000 (18:22 +0100)]
"Fix" releasing the mouse button over a window.
Previously if you click-drag-released the left button on the root window to a client window,
Openbox would ignore the release because we don't own the client window. Now check if we
are in a button press or not before ignoring it. The bug was we would initiate a move when
the cursor was moved over a titlebar even when the button was unpressed because the variable
didn't get cleared properly.
This fix is very ugly.
Mikael Magnusson [Thu, 6 Nov 2014 03:35:24 +0000 (04:35 +0100)]
Clarify versioning comment instructions in configure.ac
Mikael Magnusson [Wed, 5 Nov 2014 16:00:31 +0000 (17:00 +0100)]
Clean up translation files
Correct obvious and remove other fuzzy translations
Update line numbers
Fill out Language: header correctly (just the filename without the .po)
Javier Mancebo [Wed, 5 Nov 2014 09:32:13 +0000 (10:32 +0100)]
Add Galician translation.
Jakub Błażejczyk [Wed, 5 Nov 2014 09:20:53 +0000 (10:20 +0100)]
Update Polish translation.
Mikael Magnusson [Wed, 5 Nov 2014 17:31:49 +0000 (18:31 +0100)]
Move some more code around to make it shorter
Mikael Magnusson [Wed, 5 Nov 2014 12:22:56 +0000 (13:22 +0100)]
Reduce length of theme.c a bit
Mikael Magnusson [Wed, 5 Nov 2014 10:12:28 +0000 (11:12 +0100)]
Make theme.c indentation more locally consistent
Also removes some comments that is just the code with s/_/ /g
Mikael Magnusson [Wed, 5 Nov 2014 09:52:22 +0000 (10:52 +0100)]
Remove wrong code from button mask loading code, bug 6065
The READ_MASK_COPY macro already uses these exact fallbacks, so these
lines just overwrote the custom bitmaps with the default fallback bitmaps.
Mikael Magnusson [Wed, 5 Nov 2014 08:58:34 +0000 (09:58 +0100)]
Only add xqueue listener fd once, bug 6326
Mikael Magnusson [Wed, 5 Nov 2014 08:58:57 +0000 (09:58 +0100)]
Allow selecting menu entries during menuHideDelay if you click again, bug 5501
Mikael Magnusson [Mon, 3 Nov 2014 11:52:11 +0000 (12:52 +0100)]
Move final frame adjust in flashing to timeout func
This possibly avoids badness when the timeout destroy notify is removed
from the frame release func.
Mikael Magnusson [Mon, 3 Nov 2014 10:58:06 +0000 (11:58 +0100)]
Make sure to reset all the GSource timer ids
Avoids warnings like 'Source ID 8382 was not found when attempting to
remove it'. In particular some removals were missing in menuframe.c
resulting in a warning being printed every time a submenu was opened.
Mikael Magnusson [Tue, 28 Oct 2014 05:20:51 +0000 (06:20 +0100)]
Update my email address
Mikael Magnusson [Tue, 28 Oct 2014 04:45:09 +0000 (05:45 +0100)]
Fix some compiler warnings for ShowMenu
Mikael Magnusson [Tue, 28 Oct 2014 04:20:10 +0000 (05:20 +0100)]
Some fixes found by coverity for things used before a null check
In the second case, we actually check the wrong variable.
Mikael Magnusson [Tue, 28 Oct 2014 04:11:17 +0000 (05:11 +0100)]
Initialize some stuff to 0 before taking their address
Mikael Magnusson [Tue, 28 Oct 2014 04:18:03 +0000 (05:18 +0100)]
Move assignment to before break, hopefully this doesn't break stuff
Mikael Magnusson [Tue, 28 Oct 2014 03:34:21 +0000 (04:34 +0100)]
Fix an if statement getting moved into a loop it shouldn't have
Found by coverity code analysis.
Mikael Magnusson [Tue, 28 Oct 2014 02:44:28 +0000 (03:44 +0100)]
Use PANGO_UNDERLINE_SINGLE for rendering shortcuts
The pango docs say to use _LOW for accelerators, but that causes the line
to be drawn beneath the ink extents which for us may be outside the area
that gets displayed and we end up with no line at all. We also don't want
to extend every menu entry with enough space to fit this possible line.
Peter Åstrand [Tue, 28 Oct 2014 02:37:20 +0000 (03:37 +0100)]
Fix compile failure when X_HAVE_UTF8_STRING is not defined
Mikael Magnusson [Tue, 28 Oct 2014 01:23:35 +0000 (02:23 +0100)]
Use GString for appending strings
It can take a very long time to print a _NET_WM_ICON property for firefox with the previous code, several minutes. Fixes bug #6042 and also implements the change for append_string.
Edward Sheldrake [Tue, 28 Oct 2014 00:28:35 +0000 (01:28 +0100)]
Fix use after free in menu_entry_frame_free
Pascal Terjan [Mon, 27 Oct 2014 23:50:20 +0000 (00:50 +0100)]
Fix copy paste typo in swap_byte_order
Mikael Magnusson [Fri, 24 Oct 2014 20:57:21 +0000 (22:57 +0200)]
Update CHANGELOG with changes so far
Mikael Magnusson [Mon, 27 Oct 2014 23:36:55 +0000 (00:36 +0100)]
Make desktop actions noninteractive
Mikael Magnusson [Fri, 24 Oct 2014 23:21:48 +0000 (01:21 +0200)]
Remove freshmeat related stuff from release script, the site is dead
Mikael Magnusson [Mon, 27 Oct 2014 22:33:12 +0000 (23:33 +0100)]
Clip client rect to monitor bounds while picking a corner for resizing
This way you can actually do everything to it when it's offscreen,
not just resize the one edge that's poking out
Mikael Magnusson [Thu, 23 Oct 2014 21:33:38 +0000 (23:33 +0200)]
Change some while loops to for loops in config.c
Mikael Magnusson [Mon, 20 Oct 2014 13:39:34 +0000 (15:39 +0200)]
Allow specifying several mousebinds in one go, like for keybinds
Also fixes minor indent error
Mikael Magnusson [Sat, 12 Jul 2014 03:19:41 +0000 (05:19 +0200)]
Make RaiseLower work for the dock as well
As a side effect, _NET_RESTACK_REQUEST now also allows specifying the dock as the sibling.
Mikael Magnusson [Sat, 22 Feb 2014 20:37:29 +0000 (21:37 +0100)]
Add keyboard/rebindOnMappingNotify option
I have to switch to a qwerty layout to play steam games, and every time
I switch back and forth, we lose some random bindings so I also had to
reconfigure Openbox every time, now I don't.
Mikael Magnusson [Thu, 18 Apr 2013 11:10:29 +0000 (13:10 +0200)]
[0]. is confusing when it's not an array
Mikael Magnusson [Thu, 18 Apr 2013 11:08:11 +0000 (13:08 +0200)]
Reinit edges stuff on screen resize
Mikael Magnusson [Sun, 7 Apr 2013 09:59:07 +0000 (11:59 +0200)]
edges should hook into number of screens changing, but for now, don't crash at reconfigure/shutdown if they did
Mikael Magnusson [Wed, 17 Apr 2013 11:08:33 +0000 (13:08 +0200)]
Handle edges in window.c
Mikael Magnusson [Fri, 26 Sep 2014 08:45:17 +0000 (10:45 +0200)]
Allow clients to place themselves up to 99% offscreen.
Really what I want is keep the 10% but let them stay if they were already there. Most noticably steam jumps back to the 10% limit whenever you click anywhere because it stupidly moves itself to where it already is when you click anywhere inside it.
Mikael Magnusson [Wed, 13 Jun 2012 03:41:17 +0000 (05:41 +0200)]
edges: do something clever with xinerama
This is useful now that X actually constrains the cursor to visible
areas of the screen, so you have a chance of hitting edges and possibly
corners too. More cleverness is possible, should not map edges where
there is a screen on both sides probably.
Mikael Magnusson [Tue, 10 Jan 2012 01:20:05 +0000 (02:20 +0100)]
dunno why this was lying around as an uncommitted change..
Mikael Magnusson [Wed, 5 Sep 2007 01:54:24 +0000 (03:54 +0200)]
WIP version 3 of edges thinger
This is lets you bind actions to clicking on screen edges/corners.
Eventually it should also let you bind hovering or entering/leaving and
whatnot.
Mikael Magnusson [Wed, 31 Mar 2010 23:44:29 +0000 (01:44 +0200)]
Stop moving stuff onscreen when the screen size changes
Mikael Magnusson [Sun, 5 Jul 2009 15:07:18 +0000 (17:07 +0200)]
Listen to key press events on the support window
This allows us to make binds that are only active when no clients are
focused with the grab=no option. However, this will mean that these
binds will also be launched if the keyboard is otherwise grabbed, for
example during alt-tab or when showing a menu.
Mikael Magnusson [Tue, 20 May 2008 16:22:24 +0000 (18:22 +0200)]
Do focus menus with the mouse.
Mikael Magnusson [Fri, 8 Jan 2010 17:06:56 +0000 (18:06 +0100)]
Crazy focus model.
Mikael Magnusson [Sat, 8 Mar 2008 16:19:38 +0000 (17:19 +0100)]
I can drag on buttons.
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: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 [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 [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 [Fri, 8 Jan 2010 18:51:57 +0000 (19:51 +0100)]
handle locked windows in client list menus also. this is a really stupid way of doing it.
Mikael Magnusson [Sat, 4 Oct 2008 22:04:10 +0000 (00:04 +0200)]
Add "locked" to if action
Mikael Magnusson [Sat, 4 Oct 2008 11:03:18 +0000 (13:03 +0200)]
Disallow some more stuff on locked windows
Mikael Magnusson [Sat, 4 Oct 2008 10:49:56 +0000 (12:49 +0200)]
Don't allow deiconifying locked windows via the focus action.
Mikael Magnusson [Thu, 28 Feb 2008 18:42:46 +0000 (19:42 +0100)]
Make * not crash when something isn't focused.
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 [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 [Sun, 9 Mar 2008 19:38:43 +0000 (20:38 +0100)]
Add FocusFallback action.
Mikael Magnusson [Thu, 28 Feb 2008 18:43:07 +0000 (19:43 +0100)]
Make Unfocus do what the name says.
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 [Sat, 1 Mar 2008 17:17:20 +0000 (18:17 +0100)]
Don't bring windows when uniconifying.
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.
Mikael Magnusson [Fri, 8 Jan 2010 19:11:08 +0000 (20:11 +0100)]
This commit is mostly a reminder to refactor the desktop popup creation, but it gives it the menu title font
Mikael Magnusson [Tue, 29 Apr 2008 14:56:31 +0000 (16:56 +0200)]
Allow to use a pango font description string.
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 [Sun, 8 Feb 2009 07:51:25 +0000 (08:51 +0100)]
Warp to the top of the combined menu and back.
Mikael Magnusson [Fri, 6 Feb 2009 01:16:06 +0000 (02:16 +0100)]
Put current desktop on top of combined client list menu.
This probably needs an option.
Mikael Magnusson [Sun, 28 Sep 2008 20:05:25 +0000 (22:05 +0200)]
Center text in pager popup and make it at least as wide as it is high.
Mikael Magnusson [Tue, 18 Mar 2008 20:55:20 +0000 (21:55 +0100)]
Show popup even earlier.
But ideally, the window should have moved/resized by now, it doesn't until the next pixel...
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 [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 [Mon, 6 Oct 2014 19:54:16 +0000 (21:54 +0200)]
Pass the GravityPoint as const* instead of by value
Mikael Magnusson [Mon, 6 Oct 2014 18:15:08 +0000 (20:15 +0200)]
Let the menu placement code know if the position was user specified
This way, it can avoid running the code that moves it to a good position
relative to a mouse that isn't there
Mikael Magnusson [Mon, 6 Oct 2014 17:52:14 +0000 (19:52 +0200)]
Move common gravity application to screen.c
Mikael Magnusson [Mon, 6 Oct 2014 17:38:51 +0000 (19:38 +0200)]
Resolve gravity coords in menuframe so it can use the widths
Mikael Magnusson [Mon, 6 Oct 2014 16:21:38 +0000 (18:21 +0200)]
Add <position> tag to ShowMenu action
Mikael Magnusson [Mon, 6 Oct 2014 16:20:51 +0000 (18:20 +0200)]
Fix negative relative coordinate placement
Mikael Magnusson [Mon, 6 Oct 2014 16:25:14 +0000 (18:25 +0200)]
double space
Mikael Magnusson [Thu, 24 Apr 2014 22:22:59 +0000 (00:22 +0200)]
Fix thinko in if.c, *o in Stop can never be pointing at the right place.
Use a file static boolean instead.