]> icculus.org git repositories - mikachu/openbox.git/log
mikachu/openbox.git
15 years agoUnrelated to this topic but whatever. Refactor and comment and note some bugs that...
Mikael Magnusson [Wed, 10 Sep 2008 16:10:58 +0000 (18:10 +0200)]
Unrelated to this topic but whatever. Refactor and comment and note some bugs that should be fixed.

15 years agoIs this better or worse?
Mikael Magnusson [Wed, 10 Sep 2008 15:17:25 +0000 (17:17 +0200)]
Is this better or worse?

15 years agoXXX TODO BLAG ETC Allow icons also for submenus
Mikael Magnusson [Mon, 28 Apr 2008 22:25:20 +0000 (00:25 +0200)]
XXX TODO BLAG ETC Allow icons also for submenus

This has some code that should be "refactored" a bit.

16 years agoMerge branch 'imlib2' into wip/mikabox
Mikael Magnusson [Mon, 28 Apr 2008 22:08:57 +0000 (00:08 +0200)]
Merge branch 'imlib2' into wip/mikabox

Conflicts:

Makefile.am
openbox/config.c
openbox/menu.c

16 years agoThis patch implements support for icons in user-defined menus into Openbox
Kadlcik Libor [Tue, 25 Mar 2008 20:58:12 +0000 (21:58 +0100)]
This patch implements support for icons in user-defined menus into Openbox

Image loading is done using the Imlib2 library.
I chose Imlib2 because it's pretty fast, it's easy to use, supports many file
formats (tested xpm, gif, jpeg, png) and doesn't introduce too much bloat (it
depends :)).

I ported the patch to 3.4.7-pre3 and added some enhancements. Caching is much
better now, and icons can be disabled at compile time using --disable-imlib2
option.

What's new?
Syntax of configuration files (namely rc.xml and menu.xml) has been changed
slightly to allow users to associate icons to menu entries. This is done by
specifying path to icon file in the new "icon" attribute in "<item>" element,
e.g:
<item label="Vim" icon="/usr/share/pixmaps/vim-32.xpm">
  <action name="Execute"><execute>x-terminal-emulator -T Vim -e
vim</execute></action>
</item>

If user doesn't want to display any icons in his user-defined menus, he/she can
disable icons in rc.xml, inside "<menu>" section:
<menu>
 ...
  <showIcons>no</showIcons>
 ...
</menu>
Default value is "yes".
(New boolean variable "config_menu_user_show_icons" has been added to source
code.)

An icon is loaded (using menu_item_attach_icon()) when a new entry of menu is
created. Fortunately, I haven't notice any performance problems because of this
:).

16 years agoMerge branch 'work' into wip/mikabox
Mikael Magnusson [Wed, 23 Apr 2008 15:07:42 +0000 (17:07 +0200)]
Merge branch 'work' into wip/mikabox

Conflicts:

openbox/moveresize.c

16 years agoMerge branch 'backport' into work
Mikael Magnusson [Wed, 23 Apr 2008 14:41:35 +0000 (16:41 +0200)]
Merge branch 'backport' into work

Conflicts:

openbox/config.c
openbox/keyboard.c
openbox/moveresize.c

16 years agoFix typo introduced a few commits ago that made resizing windows hard.
Mikael Magnusson [Wed, 23 Apr 2008 14:40:22 +0000 (16:40 +0200)]
Fix typo introduced a few commits ago that made resizing windows hard.

16 years agoCrazy focus model.
Mikael Magnusson [Wed, 23 Apr 2008 14:25:50 +0000 (16:25 +0200)]
Crazy focus model.

16 years agoDon't need to explicitly check for xft.
Mikael Magnusson [Sat, 19 Apr 2008 22:10:52 +0000 (00:10 +0200)]
Don't need to explicitly check for xft.

16 years agoDon't use GrabModeSync, it hangs the xserver on chains sometimes.
Mikael Magnusson [Wed, 19 Mar 2008 11:49:50 +0000 (12:49 +0100)]
Don't use GrabModeSync, it hangs the xserver on chains sometimes.

More or less a revert of 5bfa48dcffec3b00d119d851cb2427a43f80aa7b
"Grab key bindings with GrabModeSync"
See also bug #3582.

16 years agoShow the resize popup right away.
Mikael Magnusson [Tue, 18 Mar 2008 20:51:34 +0000 (21:51 +0100)]
Show the resize popup right away.

Previously, it would wait for a resize step before showing it, when resizing
windows with resize increments that were bigger than the moveresize threshold.

16 years agoWhen icons had a very small aspect ratio, we crashed, don't.
Mikael Magnusson [Fri, 28 Mar 2008 20:01:46 +0000 (21:01 +0100)]
When icons had a very small aspect ratio, we crashed, don't.

16 years agoMove "if"s out of the loop and rewrite the loop to use parse_find_node() to search...
Kadlcik Libor [Wed, 2 Apr 2008 20:24:41 +0000 (22:24 +0200)]
Move "if"s out of the loop and rewrite the loop to use parse_find_node() to search for "file".

16 years agoCenter the moveresize popup even when shaded.
Mikael Magnusson [Mon, 31 Mar 2008 17:20:55 +0000 (19:20 +0200)]
Center the moveresize popup even when shaded.

16 years agoCenter the moveresize popup even when shaded.
Mikael Magnusson [Mon, 31 Mar 2008 17:20:55 +0000 (19:20 +0200)]
Center the moveresize popup even when shaded.

16 years agodana pls look at this. When icons had a very small aspect ratio, we crashed, don't.
Mikael Magnusson [Fri, 28 Mar 2008 20:01:46 +0000 (21:01 +0100)]
dana pls look at this. When icons had a very small aspect ratio, we crashed, don't.

If this is the right fix, either 1) tell me or 2) remove the XXX and change this message :).

16 years agomake windows stay on screen when they are resized due to their normal hints changing
Dana Jansens [Thu, 27 Mar 2008 13:44:48 +0000 (09:44 -0400)]
make windows stay on screen when they are resized due to their normal hints changing

16 years agoremove some verbose debug prints
Dana Jansens [Thu, 27 Mar 2008 13:44:40 +0000 (09:44 -0400)]
remove some verbose debug prints

16 years agoUpdate dutch translation.
Benno Schulenberg [Mon, 24 Mar 2008 14:53:11 +0000 (15:53 +0100)]
Update dutch translation.

16 years agoDon't use GrabModeSync, it hangs the xserver on chains sometimes.
Mikael Magnusson [Wed, 19 Mar 2008 11:49:50 +0000 (12:49 +0100)]
Don't use GrabModeSync, it hangs the xserver on chains sometimes.

16 years agoShow popup even earlier.
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...

16 years agoShow the resize popup right away.
Mikael Magnusson [Tue, 18 Mar 2008 20:51:34 +0000 (21:51 +0100)]
Show the resize popup right away.

Previously, it would wait for a resize step before showing it, when resizing
windows with resize increments that were bigger than the moveresize threshold.

16 years agoUpdate finnish translation.
Lauri Hakko [Mon, 17 Mar 2008 20:26:52 +0000 (21:26 +0100)]
Update finnish translation.

16 years agoUpdate hungarian translation.
Robert Kuszinger [Mon, 17 Mar 2008 19:16:33 +0000 (20:16 +0100)]
Update hungarian translation.

16 years agoUpdate czech translation.
Mikael Magnusson [Mon, 17 Mar 2008 17:15:21 +0000 (18:15 +0100)]
Update czech translation.

16 years agoUpdate portuguese translation.
Mikael Magnusson [Sun, 16 Mar 2008 14:48:50 +0000 (15:48 +0100)]
Update portuguese translation.

16 years agoUpdate german translation.
Florian Walch [Thu, 13 Mar 2008 12:43:26 +0000 (13:43 +0100)]
Update german translation.

16 years agoUpdate weejun translation.
Michael Kjelbergvik Thung [Thu, 13 Mar 2008 12:37:40 +0000 (13:37 +0100)]
Update weejun translation.

16 years agoMake alt-tab icon size configurable.
Mikael Magnusson [Thu, 13 Mar 2008 01:28:27 +0000 (02:28 +0100)]
Make alt-tab icon size configurable.

16 years agoMake alt-tab icon size configurable.
Mikael Magnusson [Thu, 13 Mar 2008 01:28:27 +0000 (02:28 +0100)]
Make alt-tab icon size configurable.

16 years agoUpdate simplified chinese translation.
zhou sf [Tue, 11 Mar 2008 14:39:54 +0000 (15:39 +0100)]
Update simplified chinese translation.

16 years agoUpdate dutch translation.
Marvin Vek [Tue, 11 Mar 2008 14:01:47 +0000 (15:01 +0100)]
Update dutch translation.

16 years agoUpdate vietnamese translation.
Quan Tran [Tue, 11 Mar 2008 01:08:42 +0000 (02:08 +0100)]
Update vietnamese translation.

16 years agoMerge branch 'mikabox/actions' into wip/mikabox
Mikael Magnusson [Sun, 9 Mar 2008 19:39:32 +0000 (20:39 +0100)]
Merge branch 'mikabox/actions' into wip/mikabox

16 years agoAdd FocusFallback action.
Mikael Magnusson [Sun, 9 Mar 2008 19:38:43 +0000 (20:38 +0100)]
Add FocusFallback action.

16 years agofix a bug from when $window changed to $wid in the execute action
Dana Jansens [Sun, 9 Mar 2008 19:09:48 +0000 (15:09 -0400)]
fix a bug from when $window changed to $wid in the execute action

16 years ago<undecorated> for If.
Mikael Magnusson [Sun, 9 Mar 2008 17:52:41 +0000 (18:52 +0100)]
<undecorated> for If.

16 years agoMerge branch 'work' into wip/mikabox
Mikael Magnusson [Sun, 9 Mar 2008 17:53:11 +0000 (18:53 +0100)]
Merge branch 'work' into wip/mikabox

Conflicts:

openbox/client.c

16 years agoMerge branch 'mikabox/actions' into wip/mikabox
Mikael Magnusson [Sat, 8 Mar 2008 17:36:47 +0000 (18:36 +0100)]
Merge branch 'mikabox/actions' into wip/mikabox

Conflicts:

openbox/actions/all.c

16 years agoMake Unfocus do what the name says.
Mikael Magnusson [Thu, 28 Feb 2008 18:43:07 +0000 (19:43 +0100)]
Make Unfocus do what the name says.

16 years agoAllow sending windows on other desktops to the current desktop.
Mikael Magnusson [Thu, 6 Mar 2008 19:06:38 +0000 (20:06 +0100)]
Allow sending windows on other desktops to the current desktop.

16 years agoAdd Stop action.
Mikael Magnusson [Sun, 2 Mar 2008 01:02:57 +0000 (02:02 +0100)]
Add Stop action.

16 years agoLet If check for urgent/demands_attention.
Mikael Magnusson [Sun, 2 Mar 2008 17:59:43 +0000 (18:59 +0100)]
Let If check for urgent/demands_attention.

16 years agoAllow If action to match which desktop a window is on.
Mikael Magnusson [Sat, 1 Mar 2008 17:20:43 +0000 (18:20 +0100)]
Allow If action to match which desktop a window is on.

16 years agoLet the If action match window titles.
Mikael Magnusson [Sat, 1 Mar 2008 15:42:06 +0000 (16:42 +0100)]
Let the If action match window titles.

16 years agoAdd an action AllClients that runs actions on all windows.
Mikael Magnusson [Sat, 1 Mar 2008 17:23:52 +0000 (18:23 +0100)]
Add an action AllClients that runs actions on all windows.

Add <action> tags as children to it, obviously intended for use with
the If action.

16 years agoRevert "Make edges more likely to eventually do something useful."
Mikael Magnusson [Mon, 11 Feb 2008 17:30:36 +0000 (18:30 +0100)]
Revert "Make edges more likely to eventually do something useful."

This reverts commit 0c2b74a4b69e5e6ddc28b27a67d5e4c9f44156e5.

16 years agoMerge branch 'backport' into work
Mikael Magnusson [Sat, 8 Mar 2008 16:43:32 +0000 (17:43 +0100)]
Merge branch 'backport' into work

Conflicts:

obt/keyboard.c
openbox/actions/cyclewindows.c
openbox/actions/directionalwindows.c
openbox/frame.c
openbox/openbox.c

16 years agoFix a typo in --help output (master only).
Mikael Magnusson [Thu, 6 Mar 2008 18:46:24 +0000 (19:46 +0100)]
Fix a typo in --help output (master only).

16 years agoRemove double newlines.
Mikael Magnusson [Sat, 8 Mar 2008 15:42:43 +0000 (16:42 +0100)]
Remove double newlines.

16 years agoDon't run actions in focus cycling actions backwards either (as in 664b0b4e943ba4d410...
Mikael Magnusson [Thu, 6 Mar 2008 19:02:26 +0000 (20:02 +0100)]
Don't run actions in focus cycling actions backwards either (as in 664b0b4e943ba4d410168817dcff953804b44253).

16 years agoDon't draw titlebar buttons on top of eachother.
Mikael Magnusson [Thu, 6 Mar 2008 01:28:43 +0000 (02:28 +0100)]
Don't draw titlebar buttons on top of eachother.

16 years agoMerge branch 'mikabox/personal' into wip/mikabox
Mikael Magnusson [Sat, 8 Mar 2008 16:29:40 +0000 (17:29 +0100)]
Merge branch 'mikabox/personal' into wip/mikabox

Conflicts:

obt/prop.c

16 years agoMerge branch 'mikabox/maybe' into wip/mikabox
Mikael Magnusson [Sat, 8 Mar 2008 16:29:33 +0000 (17:29 +0100)]
Merge branch 'mikabox/maybe' into wip/mikabox

16 years agoMerge branch 'mikabox/actions' into wip/mikabox
Mikael Magnusson [Sat, 8 Mar 2008 16:29:13 +0000 (17:29 +0100)]
Merge branch 'mikabox/actions' into wip/mikabox

Conflicts:

Makefile.am
openbox/client.c
po/POTFILES.in

16 years agoMerge branch 'wip/nosafefocus' into wip/mikabox
Mikael Magnusson [Sat, 8 Mar 2008 16:29:06 +0000 (17:29 +0100)]
Merge branch 'wip/nosafefocus' into wip/mikabox

16 years agoMerge branch 'wip/edges' into wip/mikabox
Mikael Magnusson [Sat, 8 Mar 2008 16:29:04 +0000 (17:29 +0100)]
Merge branch 'wip/edges' into wip/mikabox

16 years agoI can drag on buttons.
Mikael Magnusson [Sat, 8 Mar 2008 16:19:38 +0000 (17:19 +0100)]
I can drag on buttons.

16 years agoSave screen_last_desktop to the root prop _OB_LAST_DESKTOP.
Mikael Magnusson [Wed, 27 Feb 2008 15:53:43 +0000 (16:53 +0100)]
Save screen_last_desktop to the root prop _OB_LAST_DESKTOP.

16 years agoResist on skip_taskbar windows too
Mikael Magnusson [Thu, 26 Jul 2007 06:19:14 +0000 (08:19 +0200)]
Resist on skip_taskbar windows too

16 years agoFunner mousebindings for the dock. Scrolling changes desktops. Button 8 does desktop...
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.

16 years agoMake the menu pop up centered below the mouse pointer.
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.

16 years agoAdd a _OB_FOCUS client message for obpanel to use.
Mikael Magnusson [Wed, 22 Aug 2007 21:58:57 +0000 (23:58 +0200)]
Add a _OB_FOCUS client message for obpanel to use.

16 years agoDisable the evil calling of a kde program on startup
Mikael Magnusson [Mon, 23 Jul 2007 23:50:04 +0000 (01:50 +0200)]
Disable the evil calling of a kde program on startup

16 years agoRevert popup.c from 74ef28
Mikael Magnusson [Fri, 8 Feb 2008 12:54:32 +0000 (13:54 +0100)]
Revert popup.c from 74ef28

16 years agoVarious style related changes.
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

16 years agoUpdate transparent icon to the new icon.
Mikael Magnusson [Wed, 13 Feb 2008 15:50:15 +0000 (16:50 +0100)]
Update transparent icon to the new icon.

16 years agoAdd a window icon that is more transparent to stand out less.
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.

16 years agoPut the client-list-menu in the client menu, just for fun. Possibly useful when there...
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.

16 years agoChange the client list menus back to separating iconified windows with a line instead...
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.

16 years agoStop focus from moving if scroll lock is enabled. Useful when some program decides...
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.

16 years agoMake the default window icon randomly tinted.
Mikael Magnusson [Mon, 23 Jul 2007 23:36:47 +0000 (01:36 +0200)]
Make the default window icon randomly tinted.

16 years agoAdd grab option to <keybind> to not grab the keycombo.
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.

16 years agoMake Unfocus do what the name says.
Mikael Magnusson [Thu, 28 Feb 2008 18:43:07 +0000 (19:43 +0100)]
Make Unfocus do what the name says.

16 years agoAllow sending windows on other desktops to the current desktop.
Mikael Magnusson [Thu, 6 Mar 2008 19:06:38 +0000 (20:06 +0100)]
Allow sending windows on other desktops to the current desktop.

16 years agoAdd Stop action.
Mikael Magnusson [Sun, 2 Mar 2008 01:02:57 +0000 (02:02 +0100)]
Add Stop action.

16 years agoLet If check for urgent/demands_attention.
Mikael Magnusson [Sun, 2 Mar 2008 17:59:43 +0000 (18:59 +0100)]
Let If check for urgent/demands_attention.

16 years agoAllow If action to match which desktop a window is on.
Mikael Magnusson [Sat, 1 Mar 2008 17:20:43 +0000 (18:20 +0100)]
Allow If action to match which desktop a window is on.

16 years agoLet the If action match window titles.
Mikael Magnusson [Sat, 1 Mar 2008 15:42:06 +0000 (16:42 +0100)]
Let the If action match window titles.

16 years agoAdd an action AllClients that runs actions on all windows.
Mikael Magnusson [Sat, 1 Mar 2008 17:23:52 +0000 (18:23 +0100)]
Add an action AllClients that runs actions on all windows.

Add <action> tags as children to it, obviously intended for use with
the If action.

16 years agoMake * not crash when something isn't focused.
Mikael Magnusson [Thu, 28 Feb 2008 18:42:46 +0000 (19:42 +0100)]
Make * not crash when something isn't focused.

16 years agoSet a prop on locked windows, so panels can see it, and so it persists over restarts.
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.

16 years agoLock some stuff in event.c too.
Mikael Magnusson [Thu, 28 Feb 2008 01:23:25 +0000 (02:23 +0100)]
Lock some stuff in event.c too.

16 years agoBetter locking for client menu.
Mikael Magnusson [Thu, 28 Feb 2008 01:12:19 +0000 (02:12 +0100)]
Better locking for client menu.

16 years agoDisable locking for some actions where it didn't make sense.
Mikael Magnusson [Wed, 27 Feb 2008 14:54:26 +0000 (15:54 +0100)]
Disable locking for some actions where it didn't make sense.

16 years agoAdd Lock action.
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.

16 years agoAllow the SendKeyEvent action to send keys to the "usual" target, so you can use...
Mikael Magnusson [Sun, 2 Mar 2008 01:37:43 +0000 (02:37 +0100)]
Allow the SendKeyEvent action to send keys to the "usual" target, so you can use it in AllClients.

16 years agoOne less crash for nosafefocus.
Mikael Magnusson [Fri, 29 Feb 2008 02:17:26 +0000 (03:17 +0100)]
One less crash for nosafefocus.

16 years agoMake the focus action work during interactive actions again (ie, cancel the interacti...
Mikael Magnusson [Wed, 27 Feb 2008 15:10:09 +0000 (16:10 +0100)]
Make the focus action work during interactive actions again (ie, cancel the interactive action first).

16 years agoDon't crash on Next/PreviousWindow or dirfocus and the window went away.
Mikael Magnusson [Wed, 20 Feb 2008 16:08:18 +0000 (17:08 +0100)]
Don't crash on Next/PreviousWindow or dirfocus and the window went away.

16 years agoAdd a dontStop option in <focus> to make alt-tab not stop when a new window opens.
Mikael Magnusson [Sat, 26 Jan 2008 08:09:47 +0000 (09:09 +0100)]
Add a dontStop option in <focus> to make alt-tab not stop when a new window opens.

Currently focus gets a bit messed up when a window closes because I
don't feel like tracking it down right now.

Also causes crashes when windows close and whatnot. Although i think
this was fixed recently by dana.

16 years agoDisable focus during grab safeguards.
Mikael Magnusson [Sat, 26 Jan 2008 08:07:13 +0000 (09:07 +0100)]
Disable focus during grab safeguards.

16 years agoMake edges more likely to eventually do something useful.
Mikael Magnusson [Sun, 10 Feb 2008 21:11:52 +0000 (22:11 +0100)]
Make edges more likely to eventually do something useful.

16 years agoBe less annoying when not debugging.
Mikael Magnusson [Sun, 10 Feb 2008 07:00:06 +0000 (08:00 +0100)]
Be less annoying when not debugging.

16 years agoRemove from stacking and window lists on reconfigure and remove an old todo.
Mikael Magnusson [Sun, 3 Feb 2008 04:32:08 +0000 (05:32 +0100)]
Remove from stacking and window lists on reconfigure and remove an old todo.

16 years agoJust mark out places where contexts need to be handled with #warning.
Mikael Magnusson [Wed, 23 Jan 2008 03:33:57 +0000 (04:33 +0100)]
Just mark out places where contexts need to be handled with #warning.

16 years agoMake edges windows more like how I think it should be.
Mikael Magnusson [Wed, 23 Jan 2008 03:18:00 +0000 (04:18 +0100)]
Make edges windows more like how I think it should be.

16 years agoWIP version 1 of edges thinger
Mikael Magnusson [Wed, 5 Sep 2007 01:54:24 +0000 (03:54 +0200)]
WIP version 1 of edges thinger

This is meant to eventually let you do things like trigger actions on
press or hover or whatever on screen edges/corners. Right now it just
maps the windows and does nothing with them.

16 years agoMerge branch 'backport' into work
Mikael Magnusson [Sat, 8 Mar 2008 15:51:19 +0000 (16:51 +0100)]
Merge branch 'backport' into work

Conflicts:

obt/keyboard.c
openbox/actions/cyclewindows.c
openbox/actions/directionalwindows.c
openbox/frame.c
openbox/openbox.c