Dana Jansens
bbf0eed8d1
don't reference free'd memory, and don't leak memory if the image cache is not saving any resized pictures
2008-02-14 11:44:51 +01:00
Dana Jansens
87124ae865
use g_message not g_print so it can go to the log
2008-02-14 11:44:51 +01:00
Dana Jansens
1d62584742
pre-calc the sum of a picture added to an RrImage rather than calculating it every time
2008-02-14 11:44:51 +01:00
Dana Jansens
0cd9986f87
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.
2008-02-14 11:44:51 +01:00
Mikael Magnusson
092c053e99
add an override_redirect InputOnly window utility.
...
The intent was the following:
This is mostly a copy of override.c, it lets you map a small window
(1x1 at 0,0 by default) that openbox will treat like the root window,
useful for scrolling to change desktops over fullscreen and maximized
windows.
Since then openbox has learned to ignore other's override redirect windows
but I think it might still be useful to have this util.
2008-02-14 11:44:50 +01:00
Dana Jansens
5e204525de
when resizing images, pick a source image with the same aspect ratio if possible
2008-02-14 11:44:50 +01:00
Dana Jansens
ea435b99a8
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!
2008-02-14 11:44:28 +01:00
Dana Jansens
ec7898dda7
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.
2008-02-14 10:46:41 +01:00
Dana Jansens
3167fc223e
Merge branch 'backport'
2008-02-09 19:07:55 -05:00
Dana Jansens
f86fa2b3b4
make the text area in alttab list mode the same hight as the icon _with hilite_
2008-02-09 19:06:45 -05:00
Dana Jansens
969c2482ce
commit d9d580e038
broke kdesktop again, so we have to fix it at an even finer level. make a pending ReplayPointer happen before moving/showing/hiding a window in an action
2008-02-09 19:02:48 -05:00
Dana Jansens
b2e52c7b48
make xdg-autostart check for PyXDG and print a better error than a backtrace. and make the executing actually work
2008-02-09 19:02:08 -05:00
Dana Jansens
11408575b3
make an xdg-autostart script. it is very fancy.
2008-02-09 19:02:03 -05:00
Mikael Magnusson
10cabdfe85
Fix a minor issue with lastdesktop right after startup.
2008-02-09 11:43:26 +01:00
Mikael Magnusson
e5f21a4a87
Update swedish translation.
...
NB: using 3.4.6.1 to mean the --config-file translation is included and 3.4.6 for everything before that.
2008-02-09 09:42:31 +01:00
Martin Sova
afb9e64100
Update czech translation.
2008-02-09 09:38:28 +01:00
Mikael Magnusson
d9d580e038
Wrap the focus action in actions_client_move.
...
When alt-tabbing to iconified audacious and the playlist or eq window pops up under
the cursor, they "stole" focus from the main window.
2008-02-08 14:00:38 +01:00
Mikael Magnusson
86a95d8440
Don't bother setting screen_last_desktop here, it's inited in screen_startup anyway.
2008-02-08 10:22:57 +01:00
Mikael Magnusson
9f88642bf4
Improve menu behaviour when clicking on grandparents.
...
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-07 16:06:36 +01:00
Mikael Magnusson
f6193ad9e0
Merge branch 'wip/alttab'
2008-02-07 15:28:18 +01:00
Dana Jansens
de85e4f1d9
put stuff in the right place in alttab list mode when there is only 1 window in it
2008-02-07 09:10:01 -05:00
Dana Jansens
a3babc4a99
tell what signal is going to be sent to the client when killing through the dialog
2008-02-07 02:14:45 -05:00
Dana Jansens
aeb1ebd04d
use the hover and press button colors (this was a bug)
2008-02-07 02:14:45 -05:00
Dana Jansens
fcc23e1fd1
when drawing and measuring strings in "flow" mode, don't ellipsize so that lines can wrap
2008-02-07 02:14:45 -05:00
Dana Jansens
b3c5fab3fa
don't kill our own ObPrompt windows with kill actions
2008-02-07 02:14:44 -05:00
Dana Jansens
7ecfa01df8
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
2008-02-07 02:14:44 -05:00
Dana Jansens
95ee6b103f
prompt to kill windows when they are not responding
2008-02-07 02:14:44 -05:00
Dana Jansens
0e9cfd7c77
let you specify return codes for the different buttons in a prompt, and specify a callback function for the prompt for when it is closed
2008-02-07 02:14:44 -05:00
Dana Jansens
f4838c9a3d
position the buttons in the bottom right instead of centering them
2008-02-07 02:14:44 -05:00
Dana Jansens
9a4ce94579
key input works for ObPrompt windows now
2008-02-07 02:14:44 -05:00
Dana Jansens
5130c1c28a
make the prompt buttons respond to button presses. keyboard input code is there too but not working yet.
2008-02-07 02:14:44 -05:00
Dana Jansens
5f31bde96d
properly place the msg texture
2008-02-07 02:14:44 -05:00
Dana Jansens
f5c2d6d379
Make ObPrompt windows get managed as clients, and make them able to reconfigure as well.
2008-02-07 02:14:44 -05:00
Dana Jansens
84f1f2be12
give prompts a border, and fix how they are laid out. and make them use the multi-line text capabilities in render for the message
2008-02-07 02:14:44 -05:00
Dana Jansens
9e3ce4efed
allow font rendering to use multiple lines
2008-02-07 02:14:44 -05:00
Dana Jansens
a01ece1353
you can create dialog windows called "prompts" which have a message and some buttons! they don't do anything interesting yet.
2008-02-07 02:14:43 -05:00
Dana Jansens
a0a9b0334b
make the internal window type more easily inheritable
2008-02-07 02:14:43 -05:00
Dana Jansens
5f04ca85ef
Merge branch 'backport' into work
...
Conflicts:
openbox/config.c
2008-02-07 02:06:42 -05:00
Dana Jansens
d81339c9cf
show the arrows in the alttab list box at the right times (they were one step behind)
2008-02-06 09:35:28 -05:00
Dana Jansens
e9eac7ce50
make the listmode alttab the default
2008-02-06 09:31:03 -05:00
Dana Jansens
307befd333
add the position's force attribute to the default rc.xml and xsd
2008-02-06 09:22:04 -05:00
Mikael Magnusson
a066e61939
Don't show extra space for arrows when not needed.
2008-02-06 08:06:50 +01:00
Mikael Magnusson
930d7a33ad
style
2008-02-06 08:06:49 +01:00
Dana Jansens
bc13099405
show a small arrow on the top/bottom of the alttab list box when there are more windows that are not visible in that direction
2008-02-06 01:32:12 -05:00
Dana Jansens
265bdd4660
don't crash when using <raise> and alt-tab and there are no windows to cycle between
2008-02-05 12:32:46 -05:00
Dana Jansens
92bbd733fa
make sure the alttab list-mode has at least 1 row
2008-02-05 00:16:48 -05:00
Dana Jansens
0369732c35
when scrolling, all the items need to be redrawn to make parentrelative work
2008-02-05 00:11:59 -05:00
Dana Jansens
87fd759ba9
the title_focused_shadow_color is being set twice, and being overridden by the osd color (though not in the texture)
2008-02-05 00:09:51 -05:00
Dana Jansens
b097f84dfd
scroll the alttab box in list mode
2008-02-04 23:25:54 -05:00
Mikael Magnusson
12ca673de5
Add the manageDesktops option.
2008-02-04 02:26:00 +01:00