all repos — openbox @ 828c095c8b5a2df96a38faaeb8a0df504e68e70f

openbox fork - make it a bit more like ryudo

828c095c
Don't hide submenus immediately when unselecting the parent's entry

This allows users to move to the submenu across other menu items (the same
as they already could across other menu items that were submenus).

This uses the same config delay for hiding submenus as it does for showing
new ones.

Based off the ideas in bug #3762.
Dana Jansens danakj@orodu.net
111465b7
Let menus place themselves on monitors where the mouse is not present

This fixes a bug which forced menus to show up on the same monitor as the
mouse pointer.
Dana Jansens danakj@orodu.net
d55f4b41
Allow the user to bind more than one keycode to a keysym for Ob Menus/Move/Resize

If the user has escape bound to more than one keycode then they can use any of
them to close a menu.  This change applies to the hardcoded keys in openbox,
which are used for the menus and for move/resize, and maybe other places.
Dana Jansens danakj@orodu.net
f3e55344
Add an obprop tool which can print UTF-8 strings properly, for our users.
Dana Jansens danakj@orodu.net
5fc18091
In the applications section tell the user to use _OB_* properties for the name/class/role, and refer to the still-non-existant obprop tool.
Dana Jansens danakj@orodu.net
9ba2b04e
Set hints that remember the WM_WINDOW_ROLE and WM_CLASS properties for our users.

The hints are _OB_ROLE, _OB_NAME, and _OB_CLASS.
Dana Jansens danakj@orodu.net
5c01dc65
Get the session client id from new gnome-session

See http://live.gnome.org/SessionManagement/GnomeSession#A1._Launch

Gnome-session sets the DESKTOP_AUTOSTART_ID env variable with the SM client id
instead of passing it on the command line.
Dana Jansens danakj@orodu.net
7e6ef268
Run Openbox with gnome-session the proper way, without using the deprecated gnome-wm.

See https://bugzilla.gnome.org/show_bug.cgi?id=555406#c5
Hopefully this continues to work for a while.
Dana Jansens danakj@orodu.net
231f694b
Make sure popup dialogs are not waiting to be shown after they are freed
Dana Jansens danakj@orodu.net
c5155e74
Add an openbox.desktop file for the applications/ directory

This is for gnome-session to start Openbox correctly as the window manager
See the commit log for http://cvs.fedoraproject.org/viewvc/devel/openbox/openbox.desktop?revision=1.3&view=markup
Dana Jansens danakj@orodu.net
d17bc61b
Don't need 2 exit actions in the default menu now, they both would do the same thing
Dana Jansens danakj@orodu.net
f0df9bb9
Remove desktop hints since Openbox won't overwrite them, but they may be set from GDM or other sessions
Dana Jansens danakj@orodu.net
7abc28bd
Fix a typo in xdg-autostart
Miroslav Lichvar mlichvar@redhat.com
81eb4752
Make the desktop popup show on the primary monitor as defined in the config.

This matches the behaviour of the focus cycle and key chain popups.
Dana Jansens danakj@orodu.net
5f2182c3
Revert "Show desktop switch popup on every monitor"

This reverts commit 2e1adce628ee3234accc5d88cafb57672800cae0.
Dana Jansens danakj@orodu.net
d3976a51
Revert "Some fixes for the pager popups, and avoid a crash if you destroy a popup while it is going to be shown later by a delay."

This reverts commit 33328583a143677d27eb3d081ce66532c3aaca1c.
Dana Jansens danakj@orodu.net
aa329719
Add a primaryMonitor config option, where the focus-cycle and keychain popups will appear
Dana Jansens danakj@orodu.net
10d99cc5
Bug in choosing the active monitor when doing a move/resize
Dana Jansens danakj@orodu.net
ade3b4dd
Make the edge detection fully include monitor edges.

This fixes the move-to-edge behaviour, when moving past the edge of a monitor,
the window will stop with its tail edge against the inside of the monitor's
edge.
Dana Jansens danakj@orodu.net
e0015160
Make the default placement on the active monitor (Any is madness)
Dana Jansens danakj@orodu.net
7a926bb8
Find a valid image to use in the image cache. Fixes bug #1149

The larger of the width and height has to match.  If the smaller matches, then
it would have to be resized down to fit inside the area, so that does not
count.
Dana Jansens danakj@orodu.net
543828c2
Properly react when a client's strut changes.

Previously it would only react if the height of the strut changed, not if its
start/end changed (that was a long-standing bug).
Dana Jansens danakj@orodu.net
437739b6
Fix for rendering RGBA and Image textures.

RGBA and Image textures could exceed their tarea if given an x or y offset
inside the area that is > 0.
Dana Jansens danakj@orodu.net
324ba15e
Fix the Focus/Activate actions to focus windows on other desktops correctly
Dana Jansens danakj@orodu.net
9f74f1e2
When moving focus across desktops, make sure Openbox doesn't think that a window which is no longer visible is still focused.
Dana Jansens danakj@orodu.net
d7d54e9b
The colormap is being set twice when moving focus to the root window
Dana Jansens danakj@orodu.net
5b20b3fc
Add a focus debug message for the frame's visible focus state
Dana Jansens danakj@orodu.net
36af6f8d
Fully maximized windows still have a normal titlebar.  Fixes bug #4373

Also, maximized windows were having their client padding reduced by the size of
the outer border from this same bug, which is now fixed.
Dana Jansens danakj@orodu.net
d95355ce
Add a WM_CLASS to the skiptaskbar test
Dana Jansens danakj@orodu.net
cf033623
Allow skip_taskbar windows to be focused on map when the user requests it in rc.xml. Fixes bug #4350
Dana Jansens danakj@orodu.net
30112205
Set a minimum value for the screenEdgeWarpTime for 25ms.

When this is very small it just gives X/Openbox a heart attack and ends up going forever.  Even 25 is quite too fast to be usuable so it should be a good minimum.
Dana Jansens danakj@orodu.net
5290af9f
Use test -r instead of test -e for solaris.  Fixes bug #4253.
Dana Jansens danakj@orodu.net
0c0ddc36
Fix stacking for transients vs helper windows. Fixes bug #3851

This allows transient windows to be above helper windows.  And generally keeps
helper windows below transients, unless they are raised directly.
Dana Jansens danakj@orodu.net
4e0a4fb5
Make openbox-gnome-session work with gnome-session > 2.22
Dana Jansens danakj@orodu.net
2d6efece
Follow up for commit 7f36e21ea9d86df5e6fa62d2888891ed957c4639

The actions/session.c file was removed.
Dana Jansens danakj@orodu.net
672aea85
Don't hilite new windows when we're restoring them from a saved session.
Dana Jansens danakj@orodu.net
07126124
Fix client_activate() to work for internal Openbox menus

client_activate() is a helpful way to focus a window on another desktop,
but only Openbox is allowed to do such things, user messages cannot.
Dana Jansens danakj@orodu.net
11ecb7d2
Don't kill keygrabs when focus moves.

Applications should be better behaved by now, and GTK based apps seem to be
at least. We can file bug reports with them if we need to still.
Dana Jansens danakj@orodu.net
97890e21
Change _net_active_window behaviour.

Move focus on _net_active_window "app" requests if focus stealing would be
allowed. If focus is not given to the target window and it is hilited (or
any other situation where it is hilited) and the window is on another desktop,
then also raise it and make it the LRU window, so when you switch desktops
you go right to it.
Dana Jansens danakj@orodu.net
8237564b
Add needed linebreaks to the end of some debug messages
Dana Jansens danakj@orodu.net
7f36e21e
Combine the Exit and SessionLogout actions

Just "do the right thing" based on if you are connected to a session manager
or not.
Dana Jansens danakj@orodu.net
ada5de28
Don't ever give borders to windows that didnt have them before by making them "undecorated" with the keepborder config option on.

This fixes what commit 85f39cd27e7ea0eec8bc78f6139092b44fda2dad fixed for the
fullscreen window case, but also fixes bug #4344.
Dana Jansens danakj@orodu.net
ac6cd234
Add a comment for commit ec9fbf05df3ac807d60ae6af36236ffc6567bbdc regarding struts with multiple monitors.
Dana Jansens danakj@orodu.net
33328583
Some fixes for the pager popups, and avoid a crash if you destroy a popup while it is going to be shown later by a delay.
Dana Jansens danakj@orodu.net
056295a8
Fix some signed/unsigned warnings (and keep stuff within 80 columns).
Dana Jansens danakj@orodu.net
00cb161e
Keep things in 80 columns
Dana Jansens danakj@orodu.net
6bb4b22c
fix a crash in the SessionLogout action
Dana Jansens danakj@orodu.net
abf3660f
Respect $XDG_CONFIG_HOME in openbox-session
Piotr Lewandowski piotr.lewandowski@gmail.com
48b6fd9a
Reload motif wm hints when property changes

Google's chrome does this when you toggle window decorations.

Based on patch in #4250 by Daniel Erat.
Mikael Magnusson mikachu@gmail.com
1169118e
Update slovak translation.
František Eliáš elias.frantisek@gmail.com
ba1ac214
Remove newline from startupnotify description

It doesn't look good in some places, e.g. WnckTasklist (gnome-panel)

[ Also update translations -- Mikael ]
Krzysztof Kotlenga pocek@users.sf.net
b69ee772
Don't replace ~ when we shouldn't

Bump glib req to 2.14 to get GRegex, now we only replace ~ with your
homedir in an action if it is (at the start of the string or preceded
by whitespace) and (at the end of the string or followed by (whitespace
or a slash)). (?:^|(?<=[ \t]))~(?=[/ \t$])

Fixes bug #4033.
Mikael Magnusson mikachu@gmail.com
2ed56873
Another debug message typo
Mikael Magnusson mikachu@gmail.com
fa4e09dd
Allow escaping _ in menu labels by putting __

Currently you can't mark anything that comes after the __ with _ to make
that a shortcut.
Mikael Magnusson mikachu@gmail.com
7351d864
Don't trust xinerama not to return NULL

We check that xinerama is active already, but someone got a NULL here.
Mikael Magnusson mikachu@gmail.com
923a11ea
Update ukrainian translation and rename to uk.po
Serhiy Lysovenko lisovenko.s@gmail.com
85f39cd2
Don't draw borders in fullscreen mode when keepBorder is on
Henning Bekel h.bekel googlemail.com
ec9fbf05
Fix interpretation of struts with multiple screens

According to the WM Specification, the left, top, right, and bottom
fields are to be declared relative to the overall X screen dimensions,
not the monitor dimensions.

The example given in the spec (v1.3 or 1.4draft2) is: "Another example
is a panel on a screen using the Xinerama extension. Assume that the
set up uses two monitors, one running at 1280x1024 and the other to the
right running at 1024x768, with the top edge of the two physical displays
aligned. If the panel wants to fill the entire bottom edge of the smaller
display with a panel 50 pixels tall, it should set a bottom strut of 306,
with bottom_start_x of 1280, and bottom_end_x of 2303. Note that the strut
is relative to the screen edge, and not the edge of the xinerama monitor."

In my case, I have a 1680x1050 monitor to the left of a 1920x1200 monitor
aligned at the top. I then have a gnome-panel along the bottom edge of
the 1680x1050 monitor with a height of 24 pixels.

xprop reports the following partial strut: _NET_WM_STRUT_PARTIAL(CARDINAL)
= 0, 0, 0, 175, 0, 0, 0, 0, 0, 0, 0, 1679 which is correct according to
the spec. Gnome-panel is reserving the 150 pixels along the bottom that
aren't visible on the screen plus the 25 it requests for itself.

However, maximizing a window on this monitor leaves a gap of exactly 150
pixels between the bottom edge of the maximized window and the top edge
of the panel.

Also, when the 1680x1050 monitor is the primary monitor (id=1) then the
_NET_WORKAREA property on the root window is also off by 150px for the
same reason.

This patch fixes the two issues I mentioned for exterior monitor edges.
It doesn't attempt to account for "interior" monitor edges (i.e. a 'left'
strut on monitor A when monitor B is directly to the left of monitor A)
because it's not possible to do so with the current strut specification
(see http://mail.gnome.org/archives/wm-spec-list/2004-March/msg00004.html
for a discussion on this limitation)

This could be avoided by having the partial strut atom contain a xinerama
screen ID that the strut applies to, but unfortunately the discussion
all those years ago never got anywhere.

[ quoted from bug #3792 ]
Geoffrey Antos dynamotwain@aim.com
2e1adce6
Show desktop switch popup on every monitor

This should be a satisfactory fix for #3694 I hope.
Mikael Magnusson mikachu@gmail.com
384f2dfc
Give the popup to the timer remove so it does the right one

Only the chroot popup uses delayed mapping so this is just a latent bug.
Mikael Magnusson mikachu@gmail.com
18a2bc6d
Fix memory corruption when y2sz is 0.

data is incremented one too many times when y2sz is zero, leading to
memory corruption.

[ also changed % 2 to & 1 -- Mikael ]
Reilly Grant reillyeon@qotw.net
3cd4db67
Add "prev" and "next" as possible targets for moveto/resizeto actions.

One of the Debian users asked if it's possible to send a window to other
monitor when using xinerama, especially useful of you have 2 monitors and want
to toggle a window to the other one. I wrote a patch that implements next and
prev to also make that work for 3 or more workspaces.
Nico Golde nion@debian.org
795e9ebb
Only open the default font once, then ref it.

As suggested in #3622, we don't need to open the default font for every
place that wasn't specified in the theme. Solved a bit differently than
the patch given there.
Mikael Magnusson mikachu@gmail.com
d48e720c
client_validate should return FALSE only for UnmapNotifies that will cause the window to become unmanaged
Dana Jansens danakj@orodu.net
75ca8467
Show window role in the debug message for name/class too.
Mikael Magnusson mikachu@gmail.com
82db73cc
Fix for #3715, app settings applied too late.

This caused problems for placing windows with decor turned off, the
placement code thought they had it on.
Mikael Magnusson mikachu@gmail.com
08aa5bf0
Make at least the default configs validate

More things need to be case insensitive and whatnot.
Mikael Magnusson mikachu@gmail.com
4705e3d1
Update and reactivate croatian translation.
Mikael Magnusson mikachu@gmail.com
4ee1ab9f
Add latvian translation.
Einars Sprugis einars8@gmail.com
264edb05
Avoid anonymous unions

Some compilers, like sun studio and clang don't support them.
Mikael Magnusson mikachu@gmail.com
4a15b965
Update italian translation.
Davide Truffa davide@catoblepa.org
271e0fd9
Fix per-app monitor setting

A couple of things were wrong, the parser added 1 to the value despite
expecting the user to give values in the range of 1 to
screen_num_monitors, rc.xml documented the values to start from 0 and
finally the monitor value wasn't copied over at all when matching the
client.
Mikael Magnusson mikachu@gmail.com
d0829d44
Add Plural-Forms header to .po files that need it.
Mikael Magnusson mikachu@gmail.com
c5d372ff
Handle InputShape type shaping too.

Many composite apps use this to pass through clicks where they are transparent.
Mikael Magnusson mikachu@gmail.com
cac78e1a
Typos in error message from gdm-control
Mikael Magnusson mikachu@gmail.com
2800ee79
install-sh should be executable

Apparently on solaris, you can't invoke -x scripts via "sh install-sh".
Mikael Magnusson mikachu@gmail.com
b834f001
Only update the focus cycle indicator when already visible in frame.c to avoid overriding bar=no
Mikael Magnusson mikachu@gmail.com
e59d06c7
Use ngettext for %d desktop(s).

This poses a small problem. We currently let translators reorder this
string, but ngettext only takes one numeric argument. This means that you
can either get correct pluralization or the order you want, but not both.

I fixed up the languages I understand at a very basic level, but the
rest will need translator assistance.
Mikael Magnusson mikachu@gmail.com
98b1c84b
Fix a problem pointed out by clang

openbox/client.c:269:10: warning: incompatible pointer types passing 'gint *', expected 'guint32 *'
    if (!OBT_PROP_GET32(self->window, NET_WM_USER_TIME, CARDINAL, &user_time))
         ^~~~~~~~~~~~~~
Mikael Magnusson mikachu@gmail.com
59eb52b7
Don't move windows to current desktop on net_active_window if the event didn't come from the user.

Instead, just activate the flashy thinger.
Mikael Magnusson mikachu@gmail.com
e3134210
Using format specifiers without arguments in printf is bad.
Mikael Magnusson mikachu@gmail.com
6a35e7c5
Bring helper windows when following a window.
Mikael Magnusson mikachu@gmail.com
1970e3c3
_NET_WM_USER_TIME=0 means don't focus the new window.
Mikael Magnusson mikachu@gmail.com
c564b624
Show name/class when mapping in debug mode.
Mikael Magnusson mikachu@gmail.com
f34b2571
Correct a 64-bit bug in event_time_after

The code assumed the timestamps had the same domain as the type Xlib
uses for them, which is almost never the case with Xlib. Change all
involved variables to guint32.
Mikael Magnusson mikachu@gmail.com
4a9b25ad
give the compiler hints about what can be kept in registers so that it can optimize the gradient code better with all the pointers going on
Dana Jansens danakj@orodu.net
5b678bdf
Make sure the _MOTIF_WM_INFO atom exists.

Without this, urxvt won't use motif hints for borderless mode.
Mikael Magnusson mikachu@gmail.com
42a6e55d
Update Basque translation.
Inko Illarramendi Arancibia inkoia@gmail.com
1f194d6d
0 is the first monitor here, not 1.
Mikael Magnusson mikachu@gmail.com
6253283a
Add danish translation.
Jesper Sander sander.contrib@gmail.com
b6c501cb
Properly escape strings before writing XML.
Nico Golde nion@debian.org
63a5ba49
Openbox doesn't support _NET_WM_USER_TIME_WINDOW atm.
Mikael Magnusson mikachu@comhem.se
9cf44b41
Update catalan translation.
David Majà Martínez davidmaja@gmail.com
e6e393a3
Add a translators note about not translating the word "SessionLogout" in an error message.
Mikael Magnusson mikachu@comhem.se
0d60d0d4
Add turkish translation.
Tutku Dalmaz mektup@tutkudalmaz.org
42a03d40
Update italian translation.
Andrea Scarpino bash.lnx@gmail.com
d2b471fa
Update spanish translation.
Nicolás de la Torre ndelatorre@gmail.com
19146fb6
Add Lithuanian translation.
Mikael Magnusson mikachu@comhem.se
e7557ee1
Don't translate action names.
Mikael Magnusson mikachu@comhem.se
06cbf8cd
Update russian translation.
Moroz Sergey L se.seam@gmail.com
a7bbdf7d
Fix typo introduced a few commits ago that made resizing windows hard.
Mikael Magnusson mikachu@comhem.se
92bba40c
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.
Mikael Magnusson mikachu@comhem.se
fe7e51af
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.
Mikael Magnusson mikachu@comhem.se
d47d5a28
When icons had a very small aspect ratio, we crashed, don't.
Mikael Magnusson mikachu@comhem.se
0e924657
Move "if"s out of the loop and rewrite the loop to use parse_find_node() to search for "file".
Kadlcik Libor KadlSoft@seznam.cz
54a70700
Center the moveresize popup even when shaded.
Mikael Magnusson mikachu@comhem.se
3d254cd3
Update dutch translation.
Benno Schulenberg benno@vertaalt.nl
ff730311
Update finnish translation.
Lauri Hakko aperculum@gmail.com
8921665d
Update hungarian translation.
Robert Kuszinger hiding@freemail.hu
b98cea37
Update czech translation.
Mikael Magnusson mikachu@comhem.se
b143beed
Update portuguese translation.
Mikael Magnusson mikachu@comhem.se
90e59f5e
Update german translation.
Florian Walch florian.walch@gmx.at
df0cce51
Update weejun translation.
Michael Kjelbergvik Thung postlogic@gmail.com
cb0a9143
Update simplified chinese translation.
zhou sf sxzzsf@gmail.com
a8abd4cd
Update dutch translation.
Marvin Vek laen@onedot.nl
e08f0c46
Update vietnamese translation.
Quan Tran qeed.quan@gmail.com
c716d178
Remove double newlines.
Mikael Magnusson mikachu@comhem.se
617effd2
Don't run actions in focus cycling actions backwards either (as in 664b0b4e943ba4d410168817dcff953804b44253).
Mikael Magnusson mikachu@comhem.se
5a45d4e7
Don't draw titlebar buttons on top of eachother.
Mikael Magnusson mikachu@comhem.se
ae097165
don't set variables twice
Dana Jansens danakj@orodu.net
07f5240d
fix the check for if a relative is focused on map
Dana Jansens danakj@orodu.net
3606a4af
when a window pops up a child, don't avoid focusing it because you were working in its parent window before this.  that's probably what made the window appear in the first place
Dana Jansens danakj@orodu.net
c4e55ad2
ignore the gdm-control binary
Dana Jansens danakj@orodu.net
232cbb9e
Don't leak auto-scaled RGBA textures.
Mikael Magnusson mikachu@comhem.se
e3530560
Update traditional chinese translation.
洪任諭 pcman.tw@gmail.com
c150f557
Update brazilian portuguese translation.
Og Maciel ogmaciel@gnome.org
c00e5e5f
Update japanese translation.
Ryoichiro Suzuki ryoichiro.suzuki@gmail.com
40996c42
add xfce-settings-show to the default menu
Dana Jansens danakj@orodu.net
d394d8c6
don't save our state for SmSaveGlobal session saves, just Local ones
Dana Jansens danakj@orodu.net
04c6d45a
use SmSaveGlobal to log out.  this will make apps save their documents or whatever so that you don't lose things, but it won't take a snapshot of the current session
Dana Jansens danakj@orodu.net
3c7636af
Add new strings to the very outdated hr.po file (which is not activated).
Mikael Magnusson mikachu@comhem.se
c5f01fd3
Update french translation and fix a typo in actions/session.c
Cyrille Bagard nocbos@gmail.com
3c148bf2
Change ja and pt_BR back to 3.4.6.1 as they now have untranslated strings again.
Mikael Magnusson mikachu@comhem.se
325e3f78
Update swedish translation.

Was a bit inconsistent with capitalizing titles.
Mikael Magnusson mikachu@comhem.se
20bd592f
change the logout button to same capitilization as the title, and update translatable strings
Dana Jansens danakj@orodu.net
c24ae6c8
be consistent with logout vs log out use
Dana Jansens danakj@orodu.net
5b4e4833
add the new translatable strings
Dana Jansens danakj@orodu.net
d24c710d
Update swedish translation.
Mikael Magnusson mikachu@comhem.se
bf9e1182
show the kill dialog if something doesn't respond for 6 seconds instead of 3
Dana Jansens danakj@orodu.net
f542c514
add a title to the session logout confirm prompt
Dana Jansens danakj@orodu.net
9d9ca8d1
allow prompts to have titles specified.  show a prompt when there are syntax errors in the xml config files.
Dana Jansens danakj@orodu.net
14f4a0ba
show an error message when parsing syntax errors are encountered in the openbox config files
Dana Jansens danakj@orodu.net
bb557f06
add a cleanup callback to the prompt interface.  when the prompt's callback returns TRUE, then the cleanup function is called. likewise when the prompt system is shutdown (openbox is exiting), then the cleanup function is also called.  it should unref/destroy the prompt and any memory associated with it
Dana Jansens danakj@orodu.net
527ecafa
the #ifdef was backwards for using SM or not
Dana Jansens danakj@orodu.net
7ea56abf
add a RECONFIGURING state, and enter that when doing reconfiguring
Dana Jansens danakj@orodu.net
8562034e
glib already prints a verbose error message when execute fails.  don't add a second level of useless verbosity to that
Dana Jansens danakj@orodu.net
b8960827
make code to show a prompt when you just want to display and message and not do anything when the user presses the button
Dana Jansens danakj@orodu.net
ffaac4a6
make the SessionLogout action always available but it shows an error if you use it and Openbox wasn't built with SM support
Dana Jansens danakj@orodu.net
60053651
don't steal focus from windows you are typing in, even if the new window is a relative
Dana Jansens danakj@orodu.net
e4691468
Update portuguese translation.
Mikael Magnusson mikachu@comhem.se
f1c7a1c3
Update japanese translation with the last couple of strings.
Ryoichiro Suzuki ryoichiro.suzuki@gmail.com
1a3ffb6e
display the NotShowIn stuff correctly
Dana Jansens danakj@orodu.net
0e3ad634
Update japanese translation. Chu
Ryoichiro Suzuki ryoichiro.suzuki@gmail.com
f1cf7fa3
an else disappeared somehow
Dana Jansens danakj@orodu.net
a291ba60
some modifications to xdg-autostart based on suggestions from the PyXDG maintainer
Dana Jansens danakj@orodu.net
664b0b4e
Don't run actions in If in reverse order.
Mikael Magnusson mikachu@comhem.se
610e80e0
Super miniscule optimization.
Mikael Magnusson mikachu@comhem.se
e8ce4dbb
don't let you use left to go "up to parent" on menus which don't have any parent
Dana Jansens danakj@orodu.net
6ca53a62
add cups manager to the default menu
Dana Jansens danakj@orodu.net
90891567
add SessionLogout to the default menu, add a system submenu with common configuration tools in it (obconf, g-control-center, kcontrol)
Dana Jansens danakj@orodu.net
d9739288
add a gdm-control tool that lets you..control..gdm..
Dana Jansens danakj@orodu.net
fc085fd6
make the prompt option default to 'true' for Exit and SessionLogout
Dana Jansens danakj@orodu.net
4d098217
add a SessionLogout action
Dana Jansens danakj@orodu.net
b20ef155
remove some debug prints
Dana Jansens danakj@orodu.net
fd34bcf7
fix the menu's command for urxvt
Dana Jansens danakj@orodu.net
835b2de9
Remove an unused variable.
Mikael Magnusson mikachu@comhem.se
55cfb749
Update brasilian portuguese translation.
Og Maciel ogmaciel@gnome.org
ab089515
Update po/ with new strings, and update swedish translation.
Also add an overly long comment about translating FILE in the help output.
Mikael Magnusson mikachu@comhem.se
323df7cb
Very inconsequential changes.
Mikael Magnusson mikachu@comhem.se
017d9564
Free copied glists when removing desktops.
Mikael Magnusson mikachu@comhem.se
37008618
make a nicer default menu with a lot of common apps in it
Dana Jansens danakj@orodu.net
a4a1a667
If a window is maximized and has FUNC_MAXIMIZE disabled, still let it unmaximize.  When normal hints change and we reconfigure, the w/h of the window may not have changed - rather the minw/maxh etc may have changed.  So in client_try_configure always run through the code that checks them to see if the client should be resized or whatever.
Dana Jansens danakj@orodu.net
7a6485e4
Update send-to-desktop menu in the client menu when ctrl-clicking and the client is still visible, ie toggling omnipresent.

Also indicates which is the current desktop by moving the omnipresent
icon to it when the window is omnipresent. Do some refactoring and
cleanup so the net change is removal of lines, go me.
Mikael Magnusson mikachu@comhem.se
2f1dc6da
Try to fix the off-by-one errors even more.
Mikael Magnusson mikachu@comhem.se
ff0f8dc6
fix some off-by-one errors in edge finding for moving and resizing windows (bug 3506)
Dana Jansens danakj@orodu.net
dbbbbb7d
When showing a window's title in the kill prompt, if it doesn't have a title use its parent's (same way the focus cycle popup does)
Dana Jansens danakj@orodu.net
573bbb08
add the autostart.sh.in to the dist targz instead of the autostart.sh
Dana Jansens danakj@orodu.net
40c014fa
include the xdg-autostart script in the dist targz
Dana Jansens danakj@orodu.net
1018b836
clean up the execute action code, and free the prompt option string
Dana Jansens danakj@orodu.net
92f23264
change the yes/no buttons to Exit/Cancel for the exit prompt
Dana Jansens danakj@orodu.net
fbacc56d
some new translated strings
Dana Jansens danakj@orodu.net
2c8bc0c9
add a boolean <prompt> option to the Exit action, which will ask before exiting openbox
Dana Jansens danakj@orodu.net
94e33949
Give the Execute action the <prompt> option
Dana Jansens danakj@orodu.net
b1dc8141
make the xdg-autostart script get installed to PREFIX/lib/openbox, and make the autostart.sh script look for it there.
Dana Jansens danakj@orodu.net
e35a4697
Update po files with new strings, update swedish translation.
Mikael Magnusson mikachu@comhem.se
490ef321
Change the kill prompt buttons to "Cancel" and "End Process"/"Disconnect" (for local/remote apps)
Dana Jansens danakj@orodu.net
c38a756a
Fix some typos and style in client.c, and add a comment.
Also moves a comment from many places into one place.
Mikael Magnusson mikachu@comhem.se
7753be1c
Make "Unnamed Window" translatable.
Mikael Magnusson mikachu@comhem.se
c11a7c3c
Pass TRUE instead of FALSE to do what the comment says.
Mikael Magnusson mikachu@comhem.se
04bf68c2
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 mikachu@comhem.se
ab9233dd
Refactor the event handling for titlebar buttons a bit.
Mikael Magnusson mikachu@comhem.se
120bab66
add xce-mcs-manager to the autostart.sh - run it if gsd is not found
Dana Jansens danakj@orodu.net
1ef0d8eb
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 danakj@orodu.net
dd97c9be
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 danakj@orodu.net
14b422f9
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 danakj@orodu.net
d9e6aa56
Add theme options for menu line separators.

Added:
 menu.separator.color
 menu.separator.width
 menu.separator.padding.width
 menu.separator.padding.height
Dana Jansens danakj@orodu.net
fadc52e1
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 danakj@orodu.net
cd4f325e
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 danakj@orodu.net
c49c2a8e
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
Dana Jansens danakj@orodu.net
2cb31da2
Change all single quotes to double quotes in strings.
Mikael Magnusson mikachu@comhem.se
4642d896
Update finnish translation.
Mikael Magnusson mikachu@comhem.se
c1257fb4
MoveResizeTo was broken for opposite edges.
Mikael Magnusson mikachu@comhem.se
041d1737
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 danakj@orodu.net
5bfa48dc
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 danakj@orodu.net
58788c78
the focus indicator line for prompt buttons wasn't being displayed, since the texture type was no longer being set
Dana Jansens danakj@orodu.net
b889d86e
Update spanish translation.
Elián Hanisch lambdae2@gmail.com
71940dae
Fix some typos in comments.
Mikael Magnusson mikachu@comhem.se
6be85936
Add a comment for translators about how to change order of arguments.
Mikael Magnusson mikachu@comhem.se
da2b83ff
Update all the po files so they contain the new prompt strings so translators can translate them.
Mikael Magnusson mikachu@comhem.se
28aa0990
Update swedish translation.
Mikael Magnusson mikachu@comhem.se
e89efbc5
Update traditional chinese translation.
洪任諭 pcman.tw@gmail.com
2eb130ef
Update swedish translation.
Mikael Magnusson mikachu@comhem.se
4b71209e
make the frame iconify animation go right into the icon geometry area instead of stopping before it
Dana Jansens danakj@orodu.net
0c8aca23
set the window type hint on menus to be "popup menus"
Dana Jansens danakj@orodu.net
cec54801
avoid a compiler warning
Dana Jansens danakj@orodu.net
3f62e77d
don't use \n at the end of g_message strings
Dana Jansens danakj@orodu.net
66a897d9
don't reference free'd memory, and don't leak memory if the image cache is not saving any resized pictures
Dana Jansens danakj@orodu.net
e7a86f5f
use g_message not g_print so it can go to the log
Dana Jansens danakj@orodu.net
38c96413
pre-calc the sum of a picture added to an RrImage rather than calculating it every time
Dana Jansens danakj@orodu.net
a2e3026d
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 danakj@orodu.net
35b36fc3
when resizing images, pick a source image with the same aspect ratio if possible
Dana Jansens danakj@orodu.net
4c7cc1cf
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 danakj@orodu.net
512d93af
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 danakj@orodu.net
e06ddf9f
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)
Mikael Magnusson mikachu@comhem.se
911413d8
obprompts do not have a stacking layer, as they don't appear directly in the stacking list
Dana Jansens danakj@orodu.net
cd3aa44b
draw a box inside the key-focused button in an ObPrompt.  also fix rendering the buttons when they are parent-relative.
Dana Jansens danakj@orodu.net
baf1a091
fix min-size calculations for lineart textures
Dana Jansens danakj@orodu.net
415c0d27
make ObPrompts resize and redraw correctly when reconfiguring and changing themes with them open
Dana Jansens danakj@orodu.net
c778cf15
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 danakj@orodu.net
4eecbeb6
tell what signal is going to be sent to the client when killing through the dialog
Dana Jansens danakj@orodu.net
74a746e5
use the hover and press button colors (this was a bug)
Dana Jansens danakj@orodu.net
0da49e82
when drawing and measuring strings in "flow" mode, don't ellipsize so that lines can wrap
Dana Jansens danakj@orodu.net
7b4556b2
don't kill our own ObPrompt windows with kill actions
Dana Jansens danakj@orodu.net
972e1fc5
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
Dana Jansens danakj@orodu.net
d714bb57
prompt to kill windows when they are not responding
Dana Jansens danakj@orodu.net
c7af49b5
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
Dana Jansens danakj@orodu.net
ea28a9e7
position the buttons in the bottom right instead of centering them
Dana Jansens danakj@orodu.net
deca45da
key input works for ObPrompt windows now
Dana Jansens danakj@orodu.net
a5005506
make the prompt buttons respond to button presses. keyboard input code is there too but not working yet.
Dana Jansens danakj@orodu.net
61b8f524
properly place the msg texture
Dana Jansens danakj@orodu.net
457fdc5c
Make ObPrompt windows get managed as clients, and make them able to reconfigure as well.
Dana Jansens danakj@orodu.net
974e8858
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
Dana Jansens danakj@orodu.net
7867ced6
allow font rendering to use multiple lines
Dana Jansens danakj@orodu.net
c313b219
you can create dialog windows called "prompts" which have a message and some buttons!  they don't do anything interesting yet.
Dana Jansens danakj@orodu.net
f9b59a49
make the internal window type more easily inheritable
Dana Jansens danakj@orodu.net
f1f61ff7
update the indent style guidelines
Dana Jansens danakj@orodu.net
27177e49
let you match per-app settings based on the window type
Dana Jansens danakj@orodu.net
619fd7e6
don't force fake enter events while there is a grab on the pointer.  this fixes focus switching during a move/resize from mouse-button-bound actions.
Dana Jansens danakj@orodu.net
8f5540f7
turn the new openbox.png into the default icon.h
Dana Jansens danakj@orodu.net
c0333e94
_net_active_window shouldn't change desktop, is the general policy concensus.
Dana Jansens danakj@orodu.net
8186a81f
split menu overlap into x and y components
Dana Jansens danakj@orodu.net
6bda8c29
speed up the pyramid gradient using memcpy's.  also make it not crash for 1px high textures.

here are some sample profiling results.  pyramid2 is the new code

  %   cumulative   self              self     total
 time   seconds   seconds    calls  ms/call  ms/call  name

 58.78      1.54     1.54      255     6.04     6.04  gradient_pyramid1
 40.46      2.60     1.06      255     4.16     4.16  gradient_pyramid2

 54.88      2.25     2.25      504     4.46     4.46  gradient_pyramid1
 44.88      4.09     1.84      504     3.65     3.65  gradient_pyramid2
Dana Jansens danakj@orodu.net
b92cb6a0
remove an XXX comment, the sanity check seems to have worked out fine.
Dana Jansens danakj@orodu.net
91a1b089
force the resize popup to be on-screen (not negative position)
Dana Jansens danakj@orodu.net
9c729986
a small optimization for the vertical gradients, and use the same log(n) strategy to use less memcpy's for filling out the horizontal gradients
Dana Jansens danakj@orodu.net
3611c821
use memcpy's to speed up vertical gradients too.  split the fancy memcpy() code out into the repeat_pixel function.
Dana Jansens danakj@orodu.net
1d00d994
use memcpy's to make splitvertical gradient much faster - using log n memcpy's is much quicker than setting a pointer value n times

Here are some profiling results.  splitvertical1 is the original code, splitvertical2 is some slight improvements in locality for it, and splitvertical3 is the new O(log n) memcpy code

  %   cumulative   self              self     total
 time   seconds   seconds    calls  ms/call  ms/call  name
 49.44      0.88     0.88     1063     0.83     0.83  gradient_splitvertical1
 47.19      1.72     0.84     1063     0.79     0.79  gradient_splitvertical2
  2.81      1.77     0.05     1063     0.05     0.05  gradient_splitvertical3

i also tested this with 'time' to draw 1000 gradients, and the new code used approximately half the user time, and finished 10 seconds quicker.  so yeah, it's magical and works well.
Dana Jansens danakj@orodu.net
18a35e04
add --enable-gprof option for configure
Dana Jansens danakj@orodu.net
ed81992a
make rendertest exit cleanly when it is unmapped (iconify/desktopchange)
Dana Jansens danakj@orodu.net
83c739df
typo in comment
Mikael Magnusson mikachu@comhem.se
38bef0a3
Make a pending ReplayPointer happen before moving/showing/hiding a window in an action.
Commit c907f5af4ad16b1 broke kdesktop again, so we have to fix it at an even finer level.
Dana Jansens danakj@orodu.net
c907f5af
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.
Mikael Magnusson mikachu@comhem.se
d5a25283
Fix a minor issue with lastdesktop right after startup.
Mikael Magnusson mikachu@comhem.se
eddcfdfd
Update dutch translation.
Mikael Magnusson mikachu@comhem.se
a161f4e8
apparently gnome has hidden gnome-settings-daemon in libexec, so put that in the autostart.sh
Dana Jansens danakj@orodu.net
2e96d753
missing >/dev/null for a which statement
Dana Jansens danakj@orodu.net
be6fd760
using () for a class that doesn't inherit breaks old python
Dana Jansens danakj@orodu.net
64398a2b
grammar hammer
Dana Jansens danakj@orodu.net
f0d31a52
make white font shadows (negative shadowtint) work right.. this has been busted a long time. thank you nvidia.
Dana Jansens danakj@orodu.net
b2e52c7b
make xdg-autostart check for PyXDG and print a better error than a backtrace.  and make the executing actually work
Dana Jansens danakj@orodu.net
11408575
make an xdg-autostart script.  it is very fancy.
Dana Jansens danakj@orodu.net
e5f21a4a
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.
Mikael Magnusson mikachu@comhem.se
afb9e641
Update czech translation.
Martin Sova martin.sova@hotmail.com
86a95d84
Don't bother setting screen_last_desktop here, it's inited in screen_startup anyway.
Mikael Magnusson mikachu@comhem.se
307befd3
add the position's force attribute to the default rc.xml and xsd
Dana Jansens danakj@orodu.net
265bdd46
don't crash when using <raise> and alt-tab and there are no windows to cycle between
Dana Jansens danakj@orodu.net
87fd759b
the title_focused_shadow_color is being set twice, and being overridden by the osd color (though not in the texture)
Dana Jansens danakj@orodu.net
12ca673d
Add the manageDesktops option.
Mikael Magnusson mikachu@comhem.se
6b04ac47
make the menu headers show their correct text
Dana Jansens danakj@orodu.net
4d5dd002
ignore fake generated enters if they are in the serial-ignore-range too
Dana Jansens danakj@orodu.net
deb0aa72
allow you to force the position of windows with rc.xml's per-app settings with the force="yes" attribute
Dana Jansens danakj@orodu.net
a19f2f8b
when focusing or raising a window which is modal child for a direct parent, raise its parent and move it to the top of the stacking order too, ie. treat them like one window (this is already done elsewhere, like when moving between desktops for example)
Dana Jansens danakj@orodu.net
751f8500
unused variable
Dana Jansens danakj@orodu.net
58b3ec41
improve comment
Dana Jansens danakj@orodu.net
809ee35c
updated clearlooks theme from mulberry
Dana Jansens danakj@orodu.net
d63d03a8
erroneous comment
Dana Jansens danakj@orodu.net
8d67e456
update the po files as they appear in 3.4.6 with the new strings
Dana Jansens danakj@orodu.net
746859c1
if windows on screen are going to be moved, then do the ReplayPointer before that occurs, so it goes to the right window.  if they are not, then just wait until after the actions are run (for kdesktop's sake really)
Dana Jansens danakj@orodu.net
c64be906
comment typo
Dana Jansens danakj@orodu.net
bbad88aa
add a --config-file command line option, and OB_CONFIG_FILE root hint
Dana Jansens danakj@orodu.net
674c042c
make update-po
Dana Jansens danakj@orodu.net
b1d4bbdb
make fullscreen windows more xinerama and multi-screen aware

instead of calling it every time a window loses focus, it is only called when a window gains focus.  then, check fullscreen layered windows, if they should be moved to a lower layer.
when moving a window between monitors, also check its layer and that of any fullscreen windows.
let a window stay in the fullscreen layer even when it is not focused, if it is on a non-visible desktop, or if it is on a different monitor from the focused window, or if nothing else is focused
Dana Jansens danakj@orodu.net
3b0f41dc
fix a crash from chroot of invalid keys, and make keybindings reload better

since invalid(not translated) keybindings are allowed in the tree, the tree's structure may actually need to change when reconfiguring.  actually, it could need to anyways.  so when re-translating all the keybindings, actually rebuild the keybinding tree.  also, make the chroot building code not fail when translate fails, to match the rest of the code and avoid segfaults with chroots on invalid keys.
Dana Jansens danakj@orodu.net
6a3ac556
when checking that a window is onscreen, if there are screens with higher indices than where it appeared, they would trump things and force the window onto the first screen.  now, only assume the window is on no screens if it actually is on no screens
Dana Jansens danakj@orodu.net
d11ac820
don't deiconify windows on reconfigure if they cant be iconified directly.  stop managing windows in reverse order on restart it messes up the dock among other things
Dana Jansens danakj@orodu.net
2570d8f2
Mark translations without the new desktop number mismatch message as 3.4.5.
Update swedish translation with them.

 [ I mistakenly originally made this commit on 3.4-working (commit
   7f514044f7fb8f5c2948d9b3da837a9b46717ee5) so the changes got lost on a
   subsequent merge from backport when we usually overwrite po/. ]
Mikael Magnusson mikachu@comhem.se
1d0bcd8a
Update norwegian translation.
Michael Kjelbergvik Thung postlogic@gmail.com
e7e02728
reordering things when mapping windows a little to work with iconified windows with iconified toolbars on restart. (e.g. ooffice)
Dana Jansens danakj@orodu.net
3b48aa4e
fix a rare assert condition (window maps in iconic state but is not allowed to be iconic)
Dana Jansens danakj@orodu.net
d7837051
Change <placeOn> to <monitor>.
Mikael Magnusson mikachu@comhem.se
dd740b55
replace the <active> placement option with <placeOn>active/mouse/any</placeOn>
Dana Jansens danakj@orodu.net
d409936f
get rid of copying the rrappearances for each menu frame, except for the one that is actually useful
Dana Jansens danakj@orodu.net
de2d970c
ignore the built tests and some extra po/ generated junk
Dana Jansens danakj@orodu.net
a4d13100
use setenv/unsetenv instead of putenv, cuz they are not ugly and confusing wrt memory leaks
Dana Jansens danakj@orodu.net
9a93350a
make horizontal gradients faster by not jumping around in memory as much
Dana Jansens danakj@orodu.net
3a03a554
window a window stops responding to pings, don't use the xsync protocol while resizing it - its not going to be responding to it anyways
Dana Jansens danakj@orodu.net
ee0477d1
only store icons for windows that are 64px or smaller, as we don't have need for any bigger icons at this time.  unless they only provide icons bigger than that, then just store one of them (the smallest)
Dana Jansens danakj@orodu.net
6be65a7d
we alloc theme elements for every window frame, but really it is unneccesary
Dana Jansens danakj@orodu.net
dd8cb753
add a missing #include
Dana Jansens danakj@orodu.net
8af80aa8
when ignoring enter events, only ignore up to the current serial (NextRequest()-1).  Don't ignore enters that come after this with the next serial.
Dana Jansens danakj@orodu.net
4307366b
create fake enter events for button press bindings.  only swallow enter events when focus.undermouse is not on (for non-mouse actions)
Dana Jansens danakj@orodu.net
8c265b5e
Remove a fuzzy translation.
Mikael Magnusson mikachu@comhem.se
2c05d1fb
Add a few missing includes and remove a stray debug printf.
Mikael Magnusson mikachu@comhem.se
be71b344
only add borders and stuff to the dock's size if it is holding anything.  otherwise it gets a non-zero size which messes with resistence/placement/etc
Dana Jansens danakj@orodu.net
1c2ec09e
fix a memleak in client_update_icon_geometry
Dana Jansens danakj@orodu.net
01a60706
fix a mem leak
Dana Jansens danakj@orodu.net
7b181fe2
fix a mem leak
Dana Jansens danakj@orodu.net
41aeb42a
Create fake enter events in fewer situations - avoiding times that you don't actually want them.  Ignore event serials without using XSync, so that we aren't doing an XSync 100 times per minute - slow!
Dana Jansens danakj@orodu.net
1d9991a0
Fix some memleaks.

missing RrFontClose for osd_font in two places.
missing a g_free(area);
Mikael Magnusson mikachu@comhem.se
3febcbb9
skip enter events caused by temporarily raising windows during alt-tab.  also caused by the focus cycle indicator moving
Dana Jansens danakj@orodu.net
aa5f7e7d
add SessionManaged to the gnome wm-props.desktop thinger like metacity has in its
Dana Jansens danakj@orodu.net
be8fee40
add the new Clearlooks theme by mulberry, and rename the current one to Clearlooks-3.4
Dana Jansens danakj@orodu.net
bed3cb7a
strip non-modifier masks from the keyboard state for keyreleases when xkb is present too
Dana Jansens danakj@orodu.net
ea07bf71
Update portuguese translation.
Mikael Magnusson mikachu@comhem.se
236c80fe
Update brasilian portuguese translation.
Og Maciel ogmaciel@gnome.org
0cc2216b
Update russian translation, by Snelius.
Mikael Magnusson mikachu@comhem.se
f4764425
print a warning when the session has a different number of desktops than the openbox config
Dana Jansens danakj@orodu.net
1b33ab6c
use the <wmclass> for startup notfication in the execute action. when present don't use the check against the binary.
Dana Jansens danakj@orodu.net
beb2895f
Fix two typos in comments in rc.xml
Mikael Magnusson mikachu@comhem.se
b77a03a1
only unset the startup_desktop_id once, and dont free the string we pass to putenv
Dana Jansens danakj@orodu.net
6a8a8531
check them startupnotify-provided wmclass against both parts of a window's wm_class hint, as the spec doth say so.
Dana Jansens danakj@orodu.net
2c6240fd
putenv wants a char*, not a const
Dana Jansens danakj@orodu.net
4b41ac83
Update Basque translation.
Inko Illarramendi Arancibia inkoia@gmail.com
9366b6db
Update simplified chinese translation.
Shaodong Di gnuyhlfh@gmail.com
eb8f730a
Update finnish translation.
Lauri Hakko aperculum@gmail.com
42db0715
Update vietnamese translation.
Quan Tran qeed.quan@gmail.com
bf6387e4
Update french translation.
Cyrille Bagard nocbos@gmail.com
47bc5f82
Update german translation.
Finn Zirngibl finn@s23.org
dffa9518
Some .c files that had translatable strings were not in POTFILES.in.

Swedish translation is updated with all new strings.
Mikael Magnusson mikachu@comhem.se
b78dd388
Fixes to finnish translation.
Lauri Hakko aperculum@gmail.com
d3c1117f
Remove leftover config_four_corners from config.c.
Mikael Magnusson mikachu@comhem.se
cccc57fd
make the ping hash tables work correctly.  don't need to stop pinging, it will automatically.  and not all windows get pings, even tho we get notified that they are being destroyed
Dana Jansens danakj@orodu.net
7630f660
only 1 hash table is needed in ping.c
Dana Jansens danakj@orodu.net
29968711
use hash tables in ping.[ch] instead of a list. we're pinging every window, not just windows youre trying to close, so don't use datastructures that suck with lots of windows..
Dana Jansens danakj@orodu.net
2ee42510
use unique IDs for pings rather than a timestamp.  avoids duplicates.
Dana Jansens danakj@orodu.net
9e18dbe0
friendly check for the timer's delay being > 0
Dana Jansens danakj@orodu.net
0be98fee
Various fixes for sparse warnings.

Define void functions with (void), not ().
Add missing includes.
Some functions were declared static but defined non-static.
Some variables that should be file static were file global but not used in any other file.
prop.h defined a new prop_atoms in each file that included it instead of declaring it extern.
Mikael Magnusson mikachu@comhem.se
cafba3ac
active = FALSE when not active !
Dana Jansens danakj@orodu.net
ff78d28f
fix timers so that they work when theres lots of repeating timers in the queue..
Dana Jansens danakj@orodu.net
ba6dcc15
add the new pid and ping atoms to the NET_SUPPORTED list
Dana Jansens danakj@orodu.net
cfc81013
don't let repeating timers, with a very fast timer in the queue, cause the main loop to run the timers forever
Dana Jansens danakj@orodu.net
7bd8e97f
rework and comment out some debugging prints
Dana Jansens danakj@orodu.net
053558dc
add a comment
Dana Jansens danakj@orodu.net
f9f32d9f
cant consistently tell if we should use WM_DESTROY after the first time they try close a window.. so just kill when "not responding" is showing
Dana Jansens danakj@orodu.net
d5c824cf
only ping windows that we need to
Dana Jansens danakj@orodu.net
810afd85
ping all the windows every 3 seconds, and show "not responding" if they stop replying for 3 times (9-12 seconds).  show [Killing...] in the titlebar when trying to kill an app off
Dana Jansens danakj@orodu.net
dbce9ee2
its possible we did kill -TERM and it stayed alive and started responding again, so handle that case
Dana Jansens danakj@orodu.net
e6d33fac
when you close an app and it stops responding..  if you hit close again, it will try kill -TERM.  if that fails and you close again, it will kill -9 !  (assuming the app is running on the local host and provided its PID)
Dana Jansens danakj@orodu.net
07994cb2
when you close a window that you already tried to close and its not responding to pings, then do a kill the next time
Dana Jansens danakj@orodu.net
d3e9fc89
show [Not Responding] in the titlebar when closing an app and it stops responding to pings
Dana Jansens danakj@orodu.net
fb7a71da
can tell when a window that was "closed" has stopped responding now
Dana Jansens danakj@orodu.net
d790dc16
check if a client will respond to pings
Dana Jansens danakj@orodu.net
2b5d4b69
the inner border's corners weren't having events handled on them correctly, which was messing with resizing.  yay akk for finding this.
Dana Jansens danakj@orodu.net
d122c973
fix the context given off by the borders in the br corner
Dana Jansens danakj@orodu.net
26f34d3b
resizing was defaulting to the topleft corner instead of to the auto-ness or something..
Dana Jansens danakj@orodu.net
ed51baa9
remove the visible window title hints when unmanaging a window.  not all WMs set those and it messes them up, and we'll set them again appropriately, they don't need to be saved.
Dana Jansens danakj@orodu.net
28971b82
Add --exit translation to de.po.
Mikael Magnusson mikachu@comhem.se
6dfc3c72
don't skip windows that are skip_taskbar unless they are normal typed.. i.e. if a dialog sets this don't skip it (gnome shutdown/logout dialogs don't get focused otherwise in arch linux)
Dana Jansens danakj@orodu.net
5148b839
sync when killing all keyboard grabs, so that we can be sure they are gone before proceeding (fixes a race condition when running things that want to grab the keyboard very quickly.  yes, arch is that fast somehow..)
Dana Jansens danakj@orodu.net
1e6e2041
update the icon to the pretty one by david barr
Dana Jansens danakj@orodu.net
64905704
Update --version output copyright year to 2008.
Mikael Magnusson mikachu@comhem.se
df73dfa0
make the dock's hiding always have at least 1px on screen
Dana Jansens danakj@orodu.net
32c3a97f
fix a copy/paste bug in placing the move&resize popup
Dana Jansens danakj@orodu.net
669c7655
since the internal windows are in window_map now, it's possible we'll get them back when we check what window an event happened on.  so don't abort if that happens anymore.
Dana Jansens danakj@orodu.net
fe119376
Merge commit 'mika/backport' into backport
Dana Jansens danakj@orodu.net
5d533d9f
fix a small bug introduced that broke per-app placement
Dana Jansens danakj@orodu.net
405d9a3e
dont reparse the config file when the keyboard map changes. just rebind everything. yay for mika as inspiration
Dana Jansens danakj@orodu.net
c2e495c7
make a GravityPoint and GravityCoord data structures for those --x, ++y type values
Dana Jansens danakj@orodu.net
17bc51aa
let you specify the resize popup to be in a fixed place
Dana Jansens danakj@orodu.net
b7e23f28
make the focus cycle indicator be in the window_map so button presses on it are handled right
Dana Jansens danakj@orodu.net
22333336
add an <active> option for window placement, to try force new windows on the active monitor (for xinerama)
Dana Jansens danakj@orodu.net
602a73c1
make fake xinerama happen even when xinerama is enabled
Dana Jansens danakj@orodu.net
d7b25da1
make the window_startup happen before the focus_cycle_popup startup, so that the popups can be added to the window map properly
Dana Jansens danakj@orodu.net
040d344a
don't take KeyRelease events for menus until they receive a KeyPress event first.  avoid using the key binding used to show the menu to execute something inside it.
Dana Jansens danakj@orodu.net
78cd9bba
continue commit 2b80e4e8ef56bb4fba614139601e750344418e5b - remove debug code, and some unneeded stuff
Dana Jansens danakj@orodu.net
bf259be6
fixes from commit 0ce14a727968736e57fb3fabba3794b46903875f
the xsync was needed to get the right serial for the end of the ignore range
Dana Jansens danakj@orodu.net
2b80e4e8
ignore mouse clicks on override-redirect windows that aren't owned by openbox
Dana Jansens danakj@orodu.net
6133bbd5
try to comment the code for when to save the "last desktop"
Dana Jansens danakj@orodu.net
8a2adbb0
make the time to remember last desktop a #define, and make it 750ms
Dana Jansens danakj@orodu.net
b3764dd4
Don't record desktops for lastdesktop when switching away quickly again.

When switching desktops, only record the previous desktop as the last
desktop if the user stayed there for a while. This way you can scroll
over a couple desktops quickly, then go back to the previous desktop
you _used_, not the last you scrolled past.
Mikael Magnusson mikachu@comhem.se
e61f5846
freeze onscreen stacking order changes while a temp raise for focus cycling is occuring
Dana Jansens danakj@orodu.net
22c10257
fix a crash when reconfiguring during focus cycling
Dana Jansens danakj@orodu.net
ea371936
let you raise the focus target temporarily during focus cycling, with the <raise> option.  also a new <bar> option lets you turn off the indicator bar
Dana Jansens danakj@orodu.net
746015e8
make backport closer to 3.4-working for merging purposes
Dana Jansens danakj@orodu.net
abc67cbd
make it possible to temporarily raise a window to the top, and restore it.  also fix the return val for window_layer.
Dana Jansens danakj@orodu.net
1789d456
fix a warning from crappy libc apis
Dana Jansens danakj@orodu.net
1cb287e1
focus the desktop window when you right click it, same as you focus other windows
Dana Jansens danakj@orodu.net
fb1d6d9e
Bug 3359 - redundant pango flags
Dana Jansens danakj@orodu.net
0ce14a72
fix a focus race condition in two ways:

1. when focusing a window, ignore any enter events up until the serial of the X event causing the focus, not up until the last thing sent to the server.  if we get 2 enters very quickly, then we don't want to ignore the second one just because we are focusing the first window.
2. there is a race if you check (focus_client != d->client) in the delay_focus_func, because the current focused window might change by the time this focus_client would take effect, so don't check that.
Dana Jansens danakj@orodu.net
b447f16f
code clean up
Dana Jansens danakj@orodu.net
162a97e1
XKB modifiers are strange things, and i don't know how to read them properly in modkeys.c and convert it all to the x core stuff.  so we use this to get the state of the modifiers, otherwise we end up missing them sometimes (like on PPC)
Dana Jansens danakj@orodu.net
5a468756
reconfigure openbox when the input mapping changes, eg. keyboard layout or modifier map
Dana Jansens danakj@orodu.net
8a51893e
Revert "fix for xkb weirdness, to fix a bug introduced in 3.4.3, where releasing the super mod key would not end interactive actions."

This reverts commit 47e7aa82dc9f390c809151f87c81f33b5b408221.

This is an XKB problem, and it needs to be properly resolved with XKB functions
Dana Jansens danakj@orodu.net
103567be
updated clearlooks theme from John McKnight
Dana Jansens danakj@orodu.net
44ee90c9
Bug#:   	 3328 - remove top border for maxed undecorated windows
Dana Jansens danakj@orodu.net
9e9a7e12
allow dialog windows to be fullscreened, kpdf does this
Dana Jansens danakj@orodu.net
40ed213d
Add new Basque translation.
Inko Illarramendi Arancibia inkoia@gmail.com
b155a173
Correct .po version headers.
Mikael Magnusson mikachu@comhem.se
9ad2ec97
Add --exit translation to vietnamese translation.
Quan Tran qeed.quan@gmail.com
585098c3
Update french translation with --exit help and use french punctuation rules.
Eric Lassauge lassauge@users.sf.net
d27cef98
Add Hungarian translation.
Robert Kuszinger hiding@freemail.hu
46f90bca
Update slovak translation with desktop strings.
Mikael Magnusson mikachu@comhem.se
5f045992
Add --exit.
Mikael Magnusson mikachu@comhem.se
dc656461
Try to fix the popup only showing up on monitor 0.

screen_find_monitor() should perhaps contain that big hunk of logic, I don't know if
anything will break now that it returns screen_num_monitors sometimes. We'll see!
Mikael Magnusson mikachu@comhem.se
70689e10
Update finnish translation.
Elias Julkunen elias.julkunen@gmail.com
8cdf412a
Change setenv and unsetenv to putenv for portability.

Solaris apparently does not have setenv and unsetenv.
Mikael Magnusson mikachu@comhem.se
556eb7b7
ANSI function declarations, ie () -> (void)
Mikael Magnusson mikachu@comhem.se
9b803f47
Fix using None when it should be NULL
Mikael Magnusson mikachu@comhem.se
1492bd0e
Fix shadowed variables
Mikael Magnusson mikachu@comhem.se
c12d09bd
Fix calling functions with wrong number of arguments
Mikael Magnusson mikachu@comhem.se
93c43114
Update french translation.
Mikael Magnusson mikachu@comhem.se
78add170
hide the desktop popup when showing the directional focus popup too
Dana Jansens danakj@orodu.net
57b50c3e
German translation update
Mikael Magnusson mikachu@comhem.se
e4f24d84
Hide the desktop cycle popup when the focus cycle popup is shown.
Mikael Magnusson mikachu@comhem.se
f4aeb103
Russian translation update with manage desktop menu strings.
Mikael Magnusson mikachu@comhem.se
c8707867
Only copy execute_func to the more_menu.
Also don't bother copying NULL around in menu_new.
Mikael Magnusson mikachu@comhem.se
f2b94f18
Another leaked Rect *a
Mikael Magnusson mikachu@comhem.se
e5c7c95f
Squash one more leak
Mikael Magnusson mikachu@comhem.se
c6b22725
proper constness
Dana Jansens danakj@orodu.net
d3ff019f
more clear code?
Dana Jansens danakj@orodu.net
d658612c
Fix another memleak
Mikael Magnusson mikachu@comhem.se
c2ab1eaa
Updated finnish translation
Mikael Magnusson mikachu@comhem.se
fe08a606
add a comment
Dana Jansens danakj@orodu.net
7f534789
Fix some memleaks
Mikael Magnusson mikachu@comhem.se
d5dc910d
When halting focus-follows-mouse, ignore any enter events that were generated before the halting process too.
Dana Jansens danakj@orodu.net
fa085b73
fix edge detection, it was skipping edges sometimes
Dana Jansens danakj@orodu.net
fdc42cea
update changelog for 3.4.4
Dana Jansens danakj@orodu.net
2c50fae3
let you select an omnipresent window on another desktop
Dana Jansens danakj@orodu.net
fba55d8d
make growtoedge shrink if it cyan grow any more
Dana Jansens danakj@orodu.net
758ef2ca
move the submenus to the top of the client menu by popular demand.
Dana Jansens danakj@orodu.net
0cfd92ab
don't make omnipresent windows lose focus when changing desktops.  this is done by allowing focus_fallback to specify if focus has been lost or not.  usually if you're call it, focus is lost, but not always.
Dana Jansens danakj@orodu.net
ac59dd4f
don't focus new windows if they appear on another desktop and a relative is not focused
Dana Jansens danakj@orodu.net
a5c6eb81
let you specify the padding y and x independently
Dana Jansens danakj@orodu.net
29e94a9e
make the default time for the desktop notificatin 875ms
Dana Jansens danakj@orodu.net
82438c21
add resize corners to the bottom corners of the inner client border
Dana Jansens danakj@orodu.net
f94fe1b8
Remove edge switching timer before adding it again.
Mikael Magnusson mikachu@comhem.se
b6b9124a
only use user_time updates if they are on the focused window
Dana Jansens danakj@orodu.net
c7e0368a
fallback focus when removing a desktop without doing a fake desktop switch
Dana Jansens danakj@orodu.net
9c9095ff
place windows in the largest area not the widest one, reverts to 3.4.2 behavior so the dock doesn't screw up placement
Dana Jansens danakj@orodu.net
3b4b5292
show a popup notification when switching desktops  (also make all the config options export time in milliseconds not half milli half micro)
Dana Jansens danakj@orodu.net
1ed99881
don't make delayed focus-follows-mouse interupt menus and move/resizes
Dana Jansens danakj@orodu.net
fa05df8b
make warping on screen edge keep firing if you don't move the mouse away from the edge (but it slows down after the first time)
Dana Jansens danakj@orodu.net
6593261f
new least-intrusive focus stealing prevention
Dana Jansens danakj@orodu.net
074bd966
Change resizing terminals to work for top and left edges too, the code is a little ugly.
Mikael Magnusson mikachu@comhem.se
dacc9dac
remove focus-stealing-prevention stuff, don't use user_time crap at all. it is broken in every application that has ever used it. ever. ever. \^_^/;;;
Dana Jansens danakj@orodu.net
bfb0c916
symmetry..tho it's not used right now
Dana Jansens danakj@orodu.net
80120d04
don't force oldschool fullscreen windows to move inside struts (fixes acroread some more, along with previous commit)
Dana Jansens danakj@orodu.net
44802ea3
fix for acroread - don't shrink windows when they specifically fit an entire monitor
Dana Jansens danakj@orodu.net
7c7bfd77
Accept <command> in addition to <execute> for the restart action.
Mikael Magnusson mikachu@comhem.se
648e2b62
Updates for Norwegian translation
Dana Jansens danakj@orodu.net
9005a02c
don't propagate mouse button events on dock windows thru to the root window
Dana Jansens danakj@orodu.net
2543dbbf
Update traditional chinese messages
Dana Jansens danakj@orodu.net
47e7aa82
fix for xkb weirdness, to fix a bug introduced in 3.4.3, where releasing the super mod key would not end interactive actions.

Somehow Super_L is being bound to Mod4Mask without being in the modifier table.  So we're doing some workarounds to find _all_ the keycodes for Super_L and use any of them to count as Mod4Mask.
Dana Jansens danakj@orodu.net
92f80b25
use the moveresize client to find the active monitor too
Dana Jansens danakj@orodu.net
9aed9195
fix directional edge finding for xinerama, so that it can skip across to the next monitor
Dana Jansens danakj@orodu.net
9ee03ecd
make move and resize resist care about the dock
Mikael Magnusson mikachu@comhem.se
bca44f9d
raise new windows when they aren't getting activated in a couple cases

1. when we're not activating it because the user has a menu open or is moving/resizing a window
2. when we're not activating it because it's opening on another desktop
Dana Jansens danakj@orodu.net
2dcdad6a
remove unused variable
Dana Jansens danakj@orodu.net
662a6356
bump the library version
Dana Jansens danakj@orodu.net
71e5b868
Update the new strings in the french translation
Dana Jansens danakj@orodu.net
5d59f70e
add the per-app position stuff to the changelog
Dana Jansens danakj@orodu.net
098ae047
change the <execute> to <command> in the mouse focus example
Dana Jansens danakj@orodu.net
c2557387
add the "command" option to the xsd
Dana Jansens danakj@orodu.net
c4188628
use <command> for the execute actions in menu.xml
Dana Jansens danakj@orodu.net
172e93b3
add an 'all' option for the monitor in MoveResizeTo
Dana Jansens danakj@orodu.net
64c59b74
for MoveResizeTo make <width>current</width> and <height>current</height> and <monitor>current</monitor> work like <x> and <y>
Dana Jansens danakj@orodu.net
6066a338
update line numbers for the po files
Dana Jansens danakj@orodu.net
dd41ae98
for MoveResizeTo, make <x>current</x> the same as not specifying <x/> at all
Dana Jansens danakj@orodu.net
7d26873a
update changelog for last few commits
Dana Jansens danakj@orodu.net
040b451e
fix a crash with the focused client closing during the delay of a submenu being shown (and add an assert for this too)
Dana Jansens danakj@orodu.net
84cdb2be
don't focus new windows when the user is in a menu or move/resizing a window
Dana Jansens danakj@orodu.net
1c98d2e3
kill moveresize cleanly if focus is moving (it uses a keyboard grab)
Dana Jansens danakj@orodu.net
2ce109f2
Merge branch 'master' of git://orodu.net/openbox
Mikael Magnusson mikachu@comhem.se
802122d2
Update spanish translation, and make translations a single changelog entry
Mikael Magnusson mikachu@comhem.se
83d6c14f
Update portuguese translation
Mikael Magnusson mikachu@comhem.se
20393474
remove mysterious xkb code...
Dana Jansens danakj@orodu.net
0545563b
be explicit about the event
Dana Jansens danakj@orodu.net
9713a629
cleanup
Dana Jansens danakj@orodu.net
b3e333d6
more updates for the git instruction
Dana Jansens danakj@orodu.net
58c6a8e8
Merge branch 'master' of git://mikachu.ath.cx/openbox
Dana Jansens danakj@orodu.net
768d0a02
update changelog for translation updates
Dana Jansens danakj@orodu.net
4e87654d
Updated Arabic translation
Dana Jansens danakj@orodu.net
f3860de5
Updated Czech translation
Dana Jansens danakj@orodu.net
f8eae5e2
update for the new autopoint
Dana Jansens danakj@orodu.net
4fa86a70
don't resist in orthoganal directions when key resizing windows with aspect ratios
Dana Jansens danakj@orodu.net
00bc0e61
update changelog with recent changes
Dana Jansens danakj@orodu.net
9091da40
don't move parents and children over when inserting desktops - cuz then they all get moved a bunch of times, just move the top direct parent
Dana Jansens danakj@orodu.net
eb0e4834
remove a debug print
Dana Jansens danakj@orodu.net
f0e82075
let you resize aspect ratio windows in north and south directions, and make them resist properly when resizing
Dana Jansens danakj@orodu.net
019e8035
the resistance resizing has been changed from "lock corner" to "the direction being resized" which makes so much more sense and doesn't need all this conversion back and forth
Dana Jansens danakj@orodu.net
c06971c1
don't crash from very short windows
Dana Jansens danakj@orodu.net
1307fb6c
Merge commit 'mika/master'
Dana Jansens danakj@orodu.net
32dd1c48
add new bindings to the changelog
Dana Jansens danakj@orodu.net
d7ca010d
xml values for per app settings should be case insensitive
change strcasecmp to g_ascii_strcasecmp
Mikael Magnusson mikachu@comhem.se
4279b585
update italian translation
Mikael Magnusson mikachu@comhem.se
38fe5bf8
changelog for 3.4.3
Dana Jansens danakj@orodu.net
7f741ba9
don't resist when resizing terminals with the keyboard
Dana Jansens danakj@orodu.net
730062ca
fix growtoedge so it doesn't move terminal windows around
Dana Jansens danakj@orodu.net
52480d87
missing header
Dana Jansens danakj@orodu.net
e85b4306
decorate actions were backwards
Dana Jansens danakj@orodu.net
8756d41f
make the master branch's version very unique and fun
Dana Jansens danakj@orodu.net
43ffc6fc
use keypress for navigating the menu but use keyrelease for running things
Dana Jansens danakj@orodu.net
e4f055b0
use keyrelease to fire menu actions not key press

when keypress is used, the keyrelease gets sent to whatever window is focused.  if it's a stupid program - like most any program - it will update its user_time, preventing the new window from being focused
Dana Jansens danakj@orodu.net
ee8d27a6
ignore .libs and .deps dirs
Dana Jansens danakj@orodu.net
2dbd1fb6
bump version
Dana Jansens danakj@orodu.net
a9065160
don't restack windows when they request it with an invalid sibling
Dana Jansens danakj@orodu.net
551528c5
take care when sibling is specified as an unmanaged window
Dana Jansens danakj@orodu.net
73b3838d
Grab the server when mapping a client and frame, to avoid race conditions
Dana Jansens danakj@orodu.net
1215fbee
add TAGS to .gitignore
Dana Jansens danakj@orodu.net
77baf26a
remove trailing whitespace
Mikael Magnusson mikachu@comhem.se
e5a797f1
don't make moving terminals jump at the start
Dana Jansens danakj@orodu.net
3ba02608
Require libstartup-notification 0.8
Mikael Magnusson mikachu@comhem.se
49b14e7b
Don't cancel interactive action when another one is run which shares the same run function.  This is how actions can cooperate!
Dana Jansens danakj@orodu.net
6ea96a8a
update the default rc.xml with the new actions syntax and the rc.xsd
Dana Jansens danakj@orodu.net
96951500
Merge branch 'mika'
Dana Jansens danakj@orodu.net
a9f2b2c6
a number for placing windows, to keep them on screen, but let you place them off-screen

1. when a window is not on any monitor, don't just ignore it, stick it on the first monitor arbitrarily (rather than the closest monitor - room for improvement?)
2. when placing a window with per-app settings, don't rudely force it back on screen fully.
Dana Jansens danakj@orodu.net
2ff02fc5
don't use freed memory as the coordinates to place windows
Dana Jansens danakj@orodu.net
fd8af998
was incorrectly using the width for calculations instead of the height in client_find_onscreen
Dana Jansens danakj@orodu.net
9ac1099e
Update italian translation from Davide Truffa
Dana Jansens danakj@orodu.net
4b095c1c
previous should not mean the same as last
Mikael Magnusson mikachu@comhem.se
9d593db0
no splitting _() strings
Mikael Magnusson mikachu@comhem.se
e2da61b2
Merge branch 'master' of git://orodu.net/openbox
Mikael Magnusson mikachu@comhem.se
8ad51aef
80 cols everywhere
Mikael Magnusson mikachu@comhem.se
95c58160
80 cols in dock.c
Mikael Magnusson mikachu@comhem.se
bc2c2bc3
make .gitignore more sane
Mikael Magnusson mikachu@comhem.se
c7144a03
update polish translation by Piotr Drąg <raven@pmail.pl>
Mikael Magnusson mikachu@comhem.se
b580cf99
ok i take that back
Dana Jansens danakj@orodu.net
d857f9fa
i know c...honest.
Dana Jansens danakj@orodu.net
5302cf10
add hardcoded key binds back
Dana Jansens danakj@orodu.net
4dbce5e5
fix directionalcycle/target
Dana Jansens danakj@orodu.net
f5b6ee74
the menu.c was renamed
Dana Jansens danakj@orodu.net
ecd6820a
move dockautohide back to ToggleDockAutoHide
Dana Jansens danakj@orodu.net
0401e73f
moev showdesktop back to ToggleShowDesktop
Dana Jansens danakj@orodu.net
6689ad23
move menu action back to ShowMenu
Dana Jansens danakj@orodu.net
c6f2875d
move directionalcycling actions into the same .c file. make interactive actions all kill delayed mouse focus which would kill the action.
Dana Jansens danakj@orodu.net
70a80ba7
make cyclewindows action into nextwindow and previouswindow again
Dana Jansens danakj@orodu.net
2464e593
rename switchtodesktop to gotodesktop.  make stuff compile as well.
Dana Jansens danakj@orodu.net
cfa96390
move desktop and directionaldesktop actions to SwitchToDesktop and SendToDesktop, which take a <to> parameter saying where to go. (last, left, right, next, 5, etc)
Dana Jansens danakj@orodu.net
a3e77fb0
update hardcoded bindings to previous changes
Dana Jansens danakj@orodu.net
2c9d6c8c
fix up the sendtolayer actions
Dana Jansens danakj@orodu.net
23c8f0bc
split layer action back into togglealwaysontop, togglealwaysonbottom, and sendtolayer (which takes <layer> as an argument)
Dana Jansens danakj@orodu.net
3e94f9e6
redo the maximize actions into maximize/unmaximize/togglemaximize with a <direction> argument
Dana Jansens danakj@orodu.net
27aec195
let you specify up/down as well as top/bottom for resizerelative action - backwards compat
Dana Jansens danakj@orodu.net
6ed8bd92
let you specify <command> or <execute> for execute actions - backwards compat
Dana Jansens danakj@orodu.net
ddea4dce
split decorations into decorate/undecorate/toggledecorations
Dana Jansens danakj@orodu.net
6c538915
rename fullscreen back to togglefullscreen
Dana Jansens danakj@orodu.net
07df1909
don't move focus if the window appears or disappears
Dana Jansens danakj@orodu.net
bea270ca
make omnipresent back into toggleomnipresent
Dana Jansens danakj@orodu.net
1af52f6b
adding comments
Dana Jansens danakj@orodu.net
9a0aab8d
split shade back into shade/unshade/toggleshade
Dana Jansens danakj@orodu.net
355981bf
use dock_get_area instead of accessing dock struct directly
Mikael Magnusson mikachu@comhem.se
fc32204f
split out edge detecting code a bit so it is easy to add the dock area and do that too
Mikael Magnusson mikachu@comhem.se
3234a750
change dock to use a Rect area instead of four ints
Mikael Magnusson mikachu@comhem.se
e60eb1be
removing composite.h
Dana Jansens danakj@orodu.net
6377d2ee
fix building without startup notification

Signed-off-by: Dana Jansens <danakj@orodu.net>
Dana Jansens danakj@orodu.net
065d963f
renaming the readme for git-ish

Signed-off-by: Dana Jansens <danakj@orodu.net>
Dana Jansens danakj@orodu.net
8adfa33f
update dutch translation and mark translations with desktop strings as 3.4.3, the rest as 3.4.2
Mikael Magnusson mikachu@comhem.se
abff95bc
only add group transients when you have a group

Signed-off-by: Dana Jansens <danakj@orodu.net>
Dana Jansens danakj@orodu.net
35b87d6d
Remove composte.c

Signed-off-by: Dana Jansens <danakj@orodu.net>
Dana Jansens danakj@orodu.net
831c27e8
add the .gitignore file and update the po files

Signed-off-by: Dana Jansens <danakj@orodu.net>
Dana Jansens danakj@orodu.net
4b735744
adding trunk
Signed-off-by: Dana Jansens <danakj@orodu.net>
Dana Jansens danakj@orodu.net
37a5b59d
clear the fuzzy strings and mark translations without the desktop strings as 3.4.2
Mikael Magnusson mikachu@comhem.se
10f627a0
update dutch translation
Mikael Magnusson mikachu@comhem.se
6f79080a
fix grow to edge stuff. also fix key-resizing terminals.
Dana Jansens danakj@orodu.net
256c82a9
fix the remaining reversed actions_client_move
Mikael Magnusson mikachu@comhem.se
1d685c0d
only end the interactive action if it's the action you just ran
Dana Jansens danakj@orodu.net
42a58fcd
*^^*
Dana Jansens danakj@orodu.net
de1679e3
cancel the interactive action only if runing another one. i think this will work?
Dana Jansens danakj@orodu.net
8eea9dcd
oops
Dana Jansens danakj@orodu.net
5dfd8387
fix if action's "focused"
Dana Jansens danakj@orodu.net
63255700
cycleinwdows defaults to forward
Dana Jansens danakj@orodu.net
b02f558c
clever code by mika-kun
Dana Jansens danakj@orodu.net
92bf35e3
finished rev 7756. renaming moveto->moveresizeto
Dana Jansens danakj@orodu.net
2a4cd4f6
renaming movetofromedge->movetoedge and moveto->moveresizeto
Dana Jansens danakj@orodu.net
2827b2ce
let moveto action resize
Dana Jansens danakj@orodu.net
9320558a
you can use -'s for opposite sides of the screen in moveto
Dana Jansens danakj@orodu.net
e5aee030
missing header
Dana Jansens danakj@orodu.net
7c1a0080
add focused check to if action
Mikael Magnusson mikachu@comhem.se
6d9bbfb4
fix focus cycle indicator positioning
Dana Jansens danakj@orodu.net
cfb33de8
create actions from string in a way that won't crash
Dana Jansens danakj@orodu.net
4f7a70f9
add default bindings for the side edges
Dana Jansens danakj@orodu.net
0bfe6c1e
no more crash in splitvertical. i think i changed the size of the middle gradient too. it's always 1px now unless the texture is very small, then it can be 0. if theres a discrepency, the bottom color gets the extra pixel.
Dana Jansens danakj@orodu.net
e4c05040
don't include debian dir in releases
Dana Jansens danakj@orodu.net
3a4236a2
backwardsness
Dana Jansens danakj@orodu.net
5ae93282
child/parents don't get included in tests for occluding/occluded windows, because they always will be above/below eachother!
Dana Jansens danakj@orodu.net
aa901a8e
comment
Dana Jansens danakj@orodu.net
489844da
fix for weird group transient crap.

  2 group transients
+ 1 direct transient of one of the above
--
the other group transient would be a child of the direct transient.

it's friggin annoying to look for this. i had to destroy my super clever but
impossible to maintain client_update_transient_tree in order to do it, and add
redundant execution, where children update their transient trees when a parent
does.
Dana Jansens danakj@orodu.net
4193404a
merge r7699 from 3.4-working, (let per-app settings override program specified position but not user specified)
Mikael Magnusson mikachu@comhem.se
f39cc88f
remove debug print
Dana Jansens danakj@orodu.net
0b97b604
user-sepcified margins
Dana Jansens danakj@orodu.net
976d4065
mssing header
Dana Jansens danakj@orodu.net
76923def
merge r7694 from 3.4-working (note you can use negative positions for starting at the opposite edge)
Mikael Magnusson mikachu@comhem.se
d519deeb
let you specify shortcuts in your menus. change & to be _ for shortcut selection
Dana Jansens danakj@orodu.net
5dba9562
checking the wrong extension! also 2 seconds maybe is better.
Dana Jansens danakj@orodu.net
9eed441c
resize fixings
Dana Jansens danakj@orodu.net
b046c107
or a full second?
Dana Jansens danakj@orodu.net
d755060a
only wait 1/2 a second for sync reply
Dana Jansens danakj@orodu.net
9577bb9a
fancy resizing
Dana Jansens danakj@orodu.net
a3b4b4aa
move keyboard moving into its own function
Dana Jansens danakj@orodu.net
ad8a7e2e
grow to edge works again, using the new edge detection code
Dana Jansens danakj@orodu.net
007a8432
hm..
Dana Jansens danakj@orodu.net
b32181ac
cancel interactive actions when anothr action runs properly
Dana Jansens danakj@orodu.net
0d0ce065
don't focus helper windows that map unless there are no other valid targets in the group (don't move focus from a group window to a new helper window).
this fixes gucharmap.
Dana Jansens danakj@orodu.net
b3d26fdb
comment
Dana Jansens danakj@orodu.net
e0e1b7a5
move to edge works and the code can be used for resize now too, yay
Dana Jansens danakj@orodu.net
da5a4da2
rename <actions> to <finalactions> for the action i didn' know existed too
Mikael Magnusson mikachu@comhem.se
30fa72a7
rename <actions> to <finalactions>
Mikael Magnusson mikachu@comhem.se
8514c1b9
rename <execute> to <command>
Mikael Magnusson mikachu@comhem.se
04b570de
desktop strings for swedish
Mikael Magnusson mikachu@comhem.se
cc42271b
add desktop editing strings to japanese
Mikael Magnusson mikachu@comhem.se
4744a42e
updated japanese translation
Mikael Magnusson mikachu@comhem.se
b41c3395
don't fallback to shaded windows
Dana Jansens danakj@orodu.net
bf0179b7
compliance over functionlity
Dana Jansens danakj@orodu.net
01a35904
rewrote the movetoedge code so it works with both types of edges (to edge and from edge)
Dana Jansens danakj@orodu.net
d9699d14
merge r7664 from 3.4
Dana Jansens danakj@orodu.net
7d275ed6
cleanup
Dana Jansens danakj@orodu.net
bd45f652
debug print
Dana Jansens danakj@orodu.net
85c7635b
remove the highlight action. its not useful without event bindings
Dana Jansens danakj@orodu.net
41010812
add a highlight action
Dana Jansens danakj@orodu.net
a6af2fc0
don't focus docks when you click on them
Dana Jansens danakj@orodu.net
151df8b3
typo
Dana Jansens danakj@orodu.net
08ff13d0
add startupnotify for obconf in the default menu
Dana Jansens danakj@orodu.net
c62cf92c
add shortcuts to add/remove desktops in the client list menus.

also make it so &-specified shortcuts are always underlined
Dana Jansens danakj@orodu.net
97792a40
warp desktops when you hit the edge of the screen while moving a window
Dana Jansens danakj@orodu.net
d933f5c1
missing header
Dana Jansens danakj@orodu.net
8bcd349e
move logic for add/remove desktop into screen.c
Dana Jansens danakj@orodu.net
b1a50aff
action.h not needed here
Dana Jansens danakj@orodu.net
8b721d7a
remove the old action files
Dana Jansens danakj@orodu.net
8228e904
put back default hardcoded mouse bindings. remove default key bindigns
Dana Jansens danakj@orodu.net
cf640af0
add the "if" action
Dana Jansens danakj@orodu.net
52b63adf
remove excessive debug print
Dana Jansens danakj@orodu.net
055cef6c
add the growtoedge action
Dana Jansens danakj@orodu.net
c15da849
add moveto/fromedge actions
Dana Jansens danakj@orodu.net
7f50e049
add the layer action
Dana Jansens danakj@orodu.net
ca28e08c
add dockautohide action
Dana Jansens danakj@orodu.net
b963ed3a
add the adddesktop and removedesktop actions
Dana Jansens danakj@orodu.net
74aa6fe7
let you send windows with the desktop and directionaldesktop actions
Dana Jansens danakj@orodu.net
c62fefb0
always reconfigure the window to its new position even if it was fullscreened/maxed, because the pre-max/fs area may not match its actual current area, and this can lead it things not being updated
Dana Jansens danakj@orodu.net
8ab1e953
add resizerelative action
Dana Jansens danakj@orodu.net
4044b942
let you use "last" in desktop action
Dana Jansens danakj@orodu.net
6973d5b8
add directionaldesktop action
Dana Jansens danakj@orodu.net
16f2b255
add the desktop action
Dana Jansens danakj@orodu.net
5d350da8
rename showmenu to menu
Dana Jansens danakj@orodu.net
d846979d
add the decorations action
Dana Jansens danakj@orodu.net
976add59
add the resize action
Dana Jansens danakj@orodu.net
7e6f7fb4
add the directionaltargetwindow action
Dana Jansens danakj@orodu.net
97bb443e
add the directionalcyclewindows action
Dana Jansens danakj@orodu.net
48facba2
add omnipresent action
Dana Jansens danakj@orodu.net
f227bd99
add the kill/close/cyclewindows actions
Dana Jansens danakj@orodu.net
091a7f77
nuthin
Dana Jansens danakj@orodu.net
d468f853
add max horz/vert actions. add toggle/on/off ability to all the maximize actions.
add shade action.
Dana Jansens danakj@orodu.net
597c9c93
add moverelative action
Dana Jansens danakj@orodu.net
1e6c375f
add the moveto action
Dana Jansens danakj@orodu.net
06ed8ab6
add horiz/vertical options to the maximize action
Dana Jansens danakj@orodu.net
ee6671c3
add maximize action
Dana Jansens danakj@orodu.net
1eb72706
add the fullscreen action
Dana Jansens danakj@orodu.net
cf478381
add the iconify action
Dana Jansens danakj@orodu.net
b0fa6297
add the unfocus action
Dana Jansens danakj@orodu.net
a5c2aadf
add lower and raiselower actions
Dana Jansens danakj@orodu.net
a07465f3
add raise action
Dana Jansens danakj@orodu.net
6c5f6ed1
remove the activate action, make the focus action "activate" but not raise or unshade
Dana Jansens danakj@orodu.net
d642be36
add the move action
Dana Jansens danakj@orodu.net
bb0fd965
add breakchroot action
Dana Jansens danakj@orodu.net
29c4cf4a
add the activate action. it will replace the focus action, as it can just focus without raising now (or without unshading)
Dana Jansens danakj@orodu.net
fbc7607f
add the cyclewindows action
Dana Jansens danakj@orodu.net
58d8b901
add restart action
Dana Jansens danakj@orodu.net
5d57a39b
add exit and reconfigure actions
Dana Jansens danakj@orodu.net
1b7e813c
add the showdesktop action
Dana Jansens danakj@orodu.net
38268dc9
add the showmenu action
Dana Jansens danakj@orodu.net
9dacac5e
added the debug action
Dana Jansens danakj@orodu.net
b76ec18d
the execute action works again.

default hardcoded bindings are temporarily offline
Dana Jansens danakj@orodu.net
780d1b09
well.. it compiles..
Dana Jansens danakj@orodu.net
ae624a14
add code for interactive actions
Dana Jansens danakj@orodu.net
8becd1f9
add interactive action functions. some other changes to stuff that wasnt going to work
Dana Jansens danakj@orodu.net
314c0566
make mouse use the new action stuff
Dana Jansens danakj@orodu.net
828d06f2
dont build the old action stuff.
config uses the new action stuff.
add actions_parse_string
Dana Jansens danakj@orodu.net
5e8ec2cb
maybe the new actions framework is kinda there now
Dana Jansens danakj@orodu.net
e5b94e60
some first structural stuff for new actions
Dana Jansens danakj@orodu.net
e5cc6c82
first draft of beginning of new action code
Dana Jansens danakj@orodu.net
31f63cb4
ok the thumbnails in alt-tab were fun and slow so remove them
Dana Jansens danakj@orodu.net
24a489e8
don't activate on raise
Dana Jansens danakj@orodu.net
eda60855
except without bugs
Dana Jansens danakj@orodu.net
19ecd4d6
look, thumbnails in alt-tab. its such crap though. oh well, just for fun.
Dana Jansens danakj@orodu.net
d158b642
clearer code paths
Dana Jansens danakj@orodu.net
7d3e3ff6
always have the offscreen buffer's shape matched to the window's
Dana Jansens danakj@orodu.net
a138a9a3
don't call framerender directly
Dana Jansens danakj@orodu.net
15cabcb1
only enable automatic composite redirection for the client windows, not the frames. maybe this will avoid screen artifacts with the crap server support
Dana Jansens danakj@orodu.net
4c5034aa
i am starting to loathe the composite extension, and xorg in general
Dana Jansens danakj@orodu.net
d13daff9
80 cols
Dana Jansens danakj@orodu.net
271761db
i forgot to add these
Dana Jansens danakj@orodu.net
fa6f70ce
get the offscreen pixmaps for all windows (including their frames)
Dana Jansens danakj@orodu.net
07cabeb9
backwards macro
Dana Jansens danakj@orodu.net
ad4def8e
check for damage and render extensions if going to use composite. require them for it. also include the cflags/libs. and only run the xcomposite stuff so far when the server supports it
Dana Jansens danakj@orodu.net
85c15cf7
redirect window contents to offscreen pixmaps with composite so they are available for use.
Dana Jansens danakj@orodu.net
31bc4657
add the composite variables
Dana Jansens danakj@orodu.net
f9e705ac
check for composite on the server
Dana Jansens danakj@orodu.net
d945813e
check for the composite library
Dana Jansens danakj@orodu.net
0e2492a5
don't resize windows when they are user size _or_ user positioned
Dana Jansens danakj@orodu.net
607de587
add ukrainian translation
Mikael Magnusson mikachu@comhem.se
24effdfc
fade out disabled buttonsx
Dana Jansens danakj@orodu.net
e3b9c8b6
don't set the default icon on child windows, their parents will have an icon
Dana Jansens danakj@orodu.net
51fdd13f
let you lower a window without lowering its children, or its siblings
Dana Jansens danakj@orodu.net
0a9a0058
fix move to center on xinerama
Dana Jansens danakj@orodu.net
4669203f
always show the client on desktop change, only use donthide to not hide it
Dana Jansens danakj@orodu.net
8923bd70
raise windows smartly when merging desktops
Dana Jansens danakj@orodu.net
e048751f
add center option to placement section
Mikael Magnusson mikachu@comhem.se
774b32f1
little thing
Dana Jansens danakj@orodu.net
c538ebf4
dont fallback to undermouse
Dana Jansens danakj@orodu.net
de2ba8f2
improve the add/remove desktop actions a bunch.
make the lastdesktop action not assert if you remove a desktop (i think it could have)
Dana Jansens danakj@orodu.net
15e6775b
only send configurenotify for user-action configures when it moves
Dana Jansens danakj@orodu.net
0813e445
add force_reply back to client_configure(). client_reconfigure is nicer this time around. eat enter events in client_configure when user is FALSE.
Dana Jansens danakj@orodu.net
84b8cf16
fix focus flicker on sendto+follow
Dana Jansens danakj@orodu.net
1e2b24cd
remove debug print
Dana Jansens danakj@orodu.net
99c6a00c
don't raise windows when moving them between desktops in some cases
Dana Jansens danakj@orodu.net
07f60c3a
fix moved comment
Dana Jansens danakj@orodu.net
15d61585
don't force reconfigure in a number of places, also eat enter events when reconfiguring. yay
Dana Jansens danakj@orodu.net
1443e173
add AddDesktopLast RemoveDesktopLast AddDesktopCurrent RemoveDesktopCurrent
Dana Jansens danakj@orodu.net
338798a4
let desklets snap to eachother
Dana Jansens danakj@orodu.net
042b6bc5
don't snap to below+skiptaskbar (desklets)
Dana Jansens danakj@orodu.net
4e0ba65d
kill the side borders on the handle and titlebar when max_horz
Dana Jansens danakj@orodu.net
b70afd10
let the theme specify all splitgradient colors
Dana Jansens danakj@orodu.net
89ade7a8
don't alloc/free colors every time splitvertical is drawn
Dana Jansens danakj@orodu.net
aaba799e
that got commited by accident somewhere
Dana Jansens danakj@orodu.net
44bc0dab
no un-needed rendering
Dana Jansens danakj@orodu.net
383f1ee8
don't show vertical resize context/arrow when the window is shaded
Dana Jansens danakj@orodu.net
6005c3c8
fix the optimize
Dana Jansens danakj@orodu.net
33ef4736
optimize
Dana Jansens danakj@orodu.net
ee2b334f
wrong vriables
Dana Jansens danakj@orodu.net
a3e7dc19
add struts to the list. reboringify --debug-xinerama
Dana Jansens danakj@orodu.net
2e47bfd0
fix some more crashing. and make the max area selection more correct to avoid dead areas
Dana Jansens danakj@orodu.net
f683e847
initalize static stuff.
make --debug-xinerama more intersting..
Dana Jansens danakj@orodu.net
b394fe8e
wrong variable
Dana Jansens danakj@orodu.net
12ce6118
backwards args
Dana Jansens danakj@orodu.net
1430d59e
fix another crash
Dana Jansens danakj@orodu.net
1890e3b0
fix 1 crash.
Dana Jansens danakj@orodu.net
eb6a2e9c
xinerama support like crazy for struts and everything else too. this probably crashes but its been way too long without a commit.
Dana Jansens danakj@orodu.net
97d4f66c
set workarea correctly
Dana Jansens danakj@orodu.net
3a08c185
dont unshade when clicking the titlebar.
lower when rolling up, raise when rolling down with mouse wheel
Dana Jansens danakj@orodu.net
1514ce75
ignore the dock in placing as a last resort
Dana Jansens danakj@orodu.net
cbaafd2f
use all possible struts when maximizing to fill the screen
Dana Jansens danakj@orodu.net
8c059708
fix how the dock is placed, its struts, and set a window type hint on it
Dana Jansens danakj@orodu.net
80961949
bugfix
Dana Jansens danakj@orodu.net
5d9e0fe2
add the dock struts to everything
Dana Jansens danakj@orodu.net
17b927ab
some typos
Dana Jansens danakj@orodu.net
9586e3bf
plug memory leaks from the new strut code
Dana Jansens danakj@orodu.net
7a6a516b
very cool struts. partial struts actually are partial struts now. possibly way broken with xinerama?
Dana Jansens danakj@orodu.net
739606e3
comment
Dana Jansens danakj@orodu.net
9b5cf4ba
ratios are floats
Dana Jansens danakj@orodu.net
8f2e3f5f
use the same decision code to focus new windows as for focus cycling or focus fallback. yay consistency.
Dana Jansens danakj@orodu.net
d57ea6ec
include padding in the menu header min width
Dana Jansens danakj@orodu.net
124303ab
only xungrabkeyboard when we actually have a passive grab on it
Dana Jansens danakj@orodu.net
8deaf1c2
respect max/min sizes when fullscreen or maximized
Dana Jansens danakj@orodu.net
c51d6ebe
add debug print
Dana Jansens danakj@orodu.net
9e44bed8
stop ignoring enters on window hide, and explain why
Dana Jansens danakj@orodu.net
4b3b71c5
like unmap, don't  let enter events move focus when a window iconifies unless underMouse is on
Dana Jansens danakj@orodu.net
ca4cfdbf
dont use enter events from new windows appearing to focus them, unless underMouse is on
Dana Jansens danakj@orodu.net
517e6357
i dont think people shade windows with the intention of having them hidden by stuff. also bug fix.
Dana Jansens danakj@orodu.net
881a8647
try place under the mouse when theres no free space? maybe thats dumb
Dana Jansens danakj@orodu.net
a883721b
basically this is smart placement but its better now..
Dana Jansens danakj@orodu.net
adfca324
new window placement, but i was a lil tipsy when i started this so maybe its not so good. smart placement was just as useless anyways though, so yeah. and this code is much cleaner. on to stealing fvwm code now.
Dana Jansens danakj@orodu.net
68a100bd
redundant if'ing
Dana Jansens danakj@orodu.net
e549a2d0
when undecorated and keepborder is on, show only the outside border not the clientborder
Dana Jansens danakj@orodu.net
4c56b2de
instead of falling back to any normal window. fallback to the same windows you can focus cycle to.
Dana Jansens danakj@orodu.net
51a4970f
update changelog
Dana Jansens danakj@orodu.net
62ac5e57
bump version. fix library versions
Dana Jansens danakj@orodu.net
fc2e419a
put new things at the bottom of the struct
Dana Jansens danakj@orodu.net
94a2a4d6
let the shadow be 0-256
Dana Jansens danakj@orodu.net
6b05306a
don't limit the highlight at all
Dana Jansens danakj@orodu.net
875ce8ed
fix a debug print
Dana Jansens danakj@orodu.net
89b7311d
make bevel strengths theme-selectable
Dana Jansens danakj@orodu.net
03d1c08d
move focus consistantly when changing desktops with different mouse-focus options - while still being not annoying with omnipresent windows
Dana Jansens danakj@orodu.net
b8e78bba
cache pipe menus without crashing!
Dana Jansens danakj@orodu.net
a1f882b2
make um.. the resizerelative action work right and also not move the window when resizing it and it cant get any smaller/bigger
Dana Jansens danakj@orodu.net
6a79805b
cache pipe menus until the menus close
Dana Jansens danakj@orodu.net
e437dff2
remove debug prints
Dana Jansens danakj@orodu.net
220e568d
allow noninteractive directional focus.

make keybinds noninteractive when the last key in the chain has no modifiers (i think this is what the code was supposed to do but failed.)

don't reset key chains during an interactive action. reset them after an interactive action finishes (honoring chroot)
so you can <C-t><C-Up>Stuff<//> and it'll do stuff as you hit C-Up, you dont have to keep hitting C-t
Dana Jansens danakj@orodu.net
897c70e8
frigging gtk frig.
Dana Jansens danakj@orodu.net
33fe8d44
i think that other emacs fix was "the right one" and this one where we don't always send configurenotifies can go away. that should fix the xemacs stall thing.
Dana Jansens danakj@orodu.net
825672c7
copy/paste :x
Dana Jansens danakj@orodu.net
71f5b460
fix resizerelative for right/bottom edges
Dana Jansens danakj@orodu.net
d89360eb
remove SCIM by default. its caused people problems
Dana Jansens danakj@orodu.net
ef8bd394
delay re-rendering the frame while it is being iconify-animated until the animation finishes (avoid it flashing to unfocused)
Dana Jansens danakj@orodu.net
d3c22b58
use the osd theme stuff for the dock instead of active titlebar
Dana Jansens danakj@orodu.net
b068bf85
update changelog
Dana Jansens danakj@orodu.net
6271c8e9
make client_under_pointer only count windows on the visible desktop. its called halfway thru showing/hiding windows on a desktop change when focusLast is off
Dana Jansens danakj@orodu.net
128209b1
let you use +-+-x in the positions for per-app settings, like x geometry
Dana Jansens danakj@orodu.net
31241125
update changelog for 3.4.1 so far
Dana Jansens danakj@orodu.net
fa2bbcfb
update onyx themes
Dana Jansens danakj@orodu.net
2aa0fcca
let you focus cycle to helper windows if there are only dialog windows around in its group (only normal type windows count as siblings for this case)
Dana Jansens danakj@orodu.net
e3193014
only configure the window after it sets WM_NORMAL_HINTS if it is outside of its new bounds
Dana Jansens danakj@orodu.net
5ac4d96d
mismerged the 3.4 xsd stuff into trunk.
Dana Jansens danakj@orodu.net
882af64f
add shadows on inactive windows
Dana Jansens danakj@orodu.net
2440549a
wrongly indented line
Mikael Magnusson mikachu@comhem.se
d2f2d82d
revert change to theme.. *^^*
Dana Jansens danakj@orodu.net
62a652f6
fix when 1or2px splitvertical
Dana Jansens danakj@orodu.net
44fa95ee
no crashing in splitvertical
Dana Jansens danakj@orodu.net
b60e4717
middle gradient in splitvertical
Dana Jansens danakj@orodu.net
45a3ad6d
small tweak for nonfocused windows? i dont think they are perfect yet.
Dana Jansens danakj@orodu.net
173f0561
better buttons for inactive windows - no hover and bright lightup pressed
Dana Jansens danakj@orodu.net
2114b6ba
add onyx themes to install. make non-active stuff grey
Dana Jansens danakj@orodu.net
4bab32a6
add Onyx themes!?!
Dana Jansens danakj@orodu.net
dc99a2a1
add a hover for pressed
Mikael Magnusson mikachu@comhem.se
6dec1c21
yay. toggled textures and colors for all states.
Dana Jansens danakj@orodu.net
69a5c9c2
revert the change to frame.c
Dana Jansens danakj@orodu.net
fdc10b75
missed a spot
Mikael Magnusson mikachu@comhem.se
96bb8920
back xml themes out of trunk
Mikael Magnusson mikachu@comhem.se
268c1386
bump version
Dana Jansens danakj@orodu.net
fe59f32c
stop processing x events or actions when loop->run becomes false
Dana Jansens danakj@orodu.net
83e7a03e
don't reconfigure twice
Dana Jansens danakj@orodu.net
100b54ff
remove {} just cuz
Dana Jansens danakj@orodu.net
aac72915
fix dirfocus when no dialog
Dana Jansens danakj@orodu.net
0dab2f8b
why is this function declared twice
Dana Jansens danakj@orodu.net
a797a18f
let you lower siblings below eachother
Dana Jansens danakj@orodu.net
4b84ef02
better.
Dana Jansens danakj@orodu.net
364a8704
c comments
Dana Jansens danakj@orodu.net
87724799
i dont think that line is valid, if it ever did run
Dana Jansens danakj@orodu.net
5f2d2b8f
put the directional focus dialog on the active monitor
Dana Jansens danakj@orodu.net
5579b284
make popup dialogs appear on the active monitor with xinerama
Dana Jansens danakj@orodu.net
2b135c53
forgot to change the version string in the header
Mikael Magnusson mikachu@comhem.se
ca342aa7
updated japanese translation, ui visible strings only
Mikael Magnusson mikachu@comhem.se
3c9913c6
update vietnamese translation and rename to just vi
Mikael Magnusson mikachu@comhem.se
7c6050b6
add debug prints
Dana Jansens danakj@orodu.net
4cf8fd5c
if Key_R is set to multiple mods, then it'll use them all now. but Key_L still takes precidence if they are different
Dana Jansens danakj@orodu.net
a97f6fab
rather than making you hit both Key_L and Key_R if they are bound to different things, make Key_L take precidence. But if only Key_R is bound then use that.  If Key_L is bound to multiple masks it'll use them all, but that won't work for Key_R right now.
Dana Jansens danakj@orodu.net
94140a4b
get rid of client->transient_for. just client->parents and client->transient_for_group now.
Dana Jansens danakj@orodu.net
a79e51c6
transient_for is now only used to check for OB_TRAN_GROUP
Dana Jansens danakj@orodu.net
428880d7
more cleanup
Dana Jansens danakj@orodu.net
7a33207a
more cleanup
Dana Jansens danakj@orodu.net
571b09f9
nice code cleanup that's been needed for a long time. add parents list to client, which you can iterate instead of going thru the group.
Dana Jansens danakj@orodu.net
9943a713
add keyboard accels
Dana Jansens danakj@orodu.net
87f11c8d
add vietnamese translation
Mikael Magnusson mikachu@comhem.se
d3095f36
fallback under the mouse when config_focus_under_mouse
Dana Jansens danakj@orodu.net
587523c0
one more..
Dana Jansens danakj@orodu.net
f6aaaedd
better group_full func
Dana Jansens danakj@orodu.net
5c78f329
check if they have a group
Dana Jansens danakj@orodu.net
1fc480c1
make active-disabled shadow offset-y be proper
Dana Jansens danakj@orodu.net
d0bde36a
better code for the last commit. let transients get focus when a group member is focused too.
Dana Jansens danakj@orodu.net
7a13f918
let transients take focus when anything in the transient tree _or the group_ is focused
Dana Jansens danakj@orodu.net
15fb1bde
remove some debug prints
Dana Jansens danakj@orodu.net
0ba396fe
fix parentrel bevels
Dana Jansens danakj@orodu.net
6e575967
add modifier changes
Dana Jansens danakj@orodu.net
ca0c9272
ignore control_l/r shift_l/r and caps_lock bindings. Control, Shift and NumLock are hardcoded to the modmasks for them.
Dana Jansens danakj@orodu.net
b1c209c1
fix for capslock bound to other modifiers. i think this is okay?
strip LockMask instead of what caps_lock is bound to.
Dana Jansens danakj@orodu.net
4548d40c
combine the parent and child textures in fun ways when a parentrelative texture with a bevel is placed right overtop of another texture with a bevel
Dana Jansens danakj@orodu.net
cea86569
typo from code i removed
Dana Jansens danakj@orodu.net
94c95663
don't force clients on screen when restarting
Dana Jansens danakj@orodu.net
04eea8e5
add some padding inside the text box
Dana Jansens danakj@orodu.net
4e9a3bec
make parentrelative raised labels look nice in popups
Dana Jansens danakj@orodu.net
acf6273f
revert that, center the popups for move/resize and keychains
Dana Jansens danakj@orodu.net
7736fcc4
center text in popups when the popu is sized to the text width
Dana Jansens danakj@orodu.net
faab2f44
add comments
Dana Jansens danakj@orodu.net
3499ea83
use the label only for popups without an icon, if the label is not parentrelative
Dana Jansens danakj@orodu.net
c52b63e9
add osd theme stuff
Dana Jansens danakj@orodu.net
ad22b4db
border, not borderwidth.
add osd.border stuff to themetoxml
Dana Jansens danakj@orodu.net
8349e4ca
add osd border stuff
Dana Jansens danakj@orodu.net
aca83272
add osd theme elements
Dana Jansens danakj@orodu.net
698e901c
and interlacing!
Mikael Magnusson mikachu@comhem.se
38feddd5
reset interface age, cuz we added something
Dana Jansens danakj@orodu.net
b265acbd
allow users of obrender to change the ellipsize mode of text textures
Mikael Magnusson mikachu@comhem.se
f5e08ae5
update changelog
Dana Jansens danakj@orodu.net
948bd00b
3.4.0
Dana Jansens danakj@orodu.net
7086c146
dont place transients based on non-normal parents
Dana Jansens danakj@orodu.net
f0455c02
dont use non-normal windows to pick a monitor for transients
Dana Jansens danakj@orodu.net
8772b46b
allow focus to fallback to omnipresent windows, except during desktop switching which is when they are vile
Dana Jansens danakj@orodu.net
9a7c4de2
don't copy the desktop from group parents when they are omnipresent
Dana Jansens danakj@orodu.net
62d9a341
don't change the focus order when a client tries to focus but is not visible. client_activate will -make- it visible anyways.

fixes focus fallback's loop totally breaking (stopping on 32bit and looping forever on 64bit) when it encountered a non-visible window
Dana Jansens danakj@orodu.net
0fb1d4d5
update changelog
Dana Jansens danakj@orodu.net
c0aa4f15
dont let windows place over menu or toolbars if they don't have a parent
Dana Jansens danakj@orodu.net
0a5ac0c8
don't place windows over docks. but let them place over menus and toolbars. i guess not utility windows though?
Dana Jansens danakj@orodu.net
51626b78
unused variables
Dana Jansens danakj@orodu.net
d8c51897
placement improvements?

when placing transients don't place them relative to iconified parents.
try place avoiding max/fullscreen windows first, then ignore them entirely if that fails.
Dana Jansens danakj@orodu.net
f869ec51
when placing transients in the stacking order, only use relatives that are on screen or share the desktop or whatever, not iconic ones
Dana Jansens danakj@orodu.net
6e2d5ccc
update my theme
Mikael Magnusson mikachu@comhem.se
83d6c3a8
fix stacking_add_nonintrusive for when only 2 windows, and one is moving below the focused window (fullscreen losing focus)
Dana Jansens danakj@orodu.net
ee36c0d3
actually allow raised, but default to flat for parentrelative
Mikael Magnusson mikachu@comhem.se
3a89939c
allow effects on parentrelative textures, ie bevels and interlaces and borders
Mikael Magnusson mikachu@comhem.se
4dec70d6
add --restart translation
Dana Jansens danakj@orodu.net
62e068ea
when a bool field is empty return false, not signal 11.. :|
Dana Jansens danakj@orodu.net
b645e372
when an integer field is empty return 0, not signal 11
Dana Jansens danakj@orodu.net
5417e569
add --restart string to czech translation
Mikael Magnusson mikachu@comhem.se
c5ad44a3
revert a committed typo
Dana Jansens danakj@orodu.net
1e5d8ce0
when undermouse is off, ignore enter events from windows lowering/raising themsvelves (or from a pager restacking them)
Dana Jansens danakj@orodu.net
350be88d
update italiano translation
Mikael Magnusson mikachu@comhem.se
a4ef4fd5
unused variables
Dana Jansens danakj@orodu.net
cd5bd7bb
update german translation
Mikael Magnusson mikachu@comhem.se
eb775fab
add 3.4 changelog stuff
Dana Jansens danakj@orodu.net
b253dff6
much simpler and works just as well! client's reference position doesnt change just because the decor sizes do
Dana Jansens danakj@orodu.net
e9fd97fc
remove fuzzy strings
Dana Jansens danakj@orodu.net
bc59c657
remove the 3 badly out-of-date translations from LINGUAS (they wont be in releases for now)
removing hr.po Croatian
removing it.po Italian
removing ja.po Japanese
Dana Jansens danakj@orodu.net
f7c7c047
utf8
Dana Jansens danakj@orodu.net
205d7ff4
restart norway
Mikael Magnusson mikachu@comhem.se
8b1b0b9f
fix a missing &
Dana Jansens danakj@orodu.net
8861b44c
don't use the title separator color for shaded windows
Dana Jansens danakj@orodu.net
3853b19f
make focuslast default to true
Dana Jansens danakj@orodu.net
03931180
add underMouse option
Dana Jansens danakj@orodu.net
0df3d6f6
support serials wrapping around
Dana Jansens danakj@orodu.net
4940d007
super amazing enter event skipping.

also mucho fixed for <underMouse>
Dana Jansens danakj@orodu.net
097d02d9
add <underMouse> focus option
Dana Jansens danakj@orodu.net
e61ad358
return if the window was restacked
Dana Jansens danakj@orodu.net
7dd5fa0a
missing theme->
Dana Jansens danakj@orodu.net
ad3336f7
free the new title separator colors
Dana Jansens danakj@orodu.net
47d63718
revert 7283 until we find out what version they are using
Dana Jansens danakj@orodu.net
c61c7e73
always ungrab the keyboard/mouse with current time because i dont know what else we can do with buggy x.org
Dana Jansens danakj@orodu.net
1fd07ad5
there add new separator colors complete
Dana Jansens danakj@orodu.net
e451993b
add new separator colors
Dana Jansens danakj@orodu.net
a25d0ed1
consistancy
Dana Jansens danakj@orodu.net
439d2c62
remove the title separator width thing.
add a separate color for the title separator
Dana Jansens danakj@orodu.net
25f21544
use the new window.title.separator.width
Dana Jansens danakj@orodu.net
285db844
add tswidth to theme.h, but its always == fbwidth
Dana Jansens danakj@orodu.net
b0aa29db
do the menu_can_hide thing properly. was such a hack before? and the variable was getting set from all kinds of events like motion notify. totally not reliable. now it works all nice.
Dana Jansens danakj@orodu.net
1091e389
rename activedisabled in xml to active-disabled
Dana Jansens danakj@orodu.net
9cc523aa
rename old xrbd activedisabled to active.disabled
Dana Jansens danakj@orodu.net
dcb76cac
better fix for focus going to the frame window when iconifying with RevertToParent. Treat the focus in like a focus out.

When focus moves to a window that doesn't exist, need to set the focus_client to NULL otherwise the client that lost focus won't know and won't update its decor
Dana Jansens danakj@orodu.net
c768a7da
catch focus out events on the frame window - this happens with revert to parent when a window is iconified. we get focusin on the frame without a focus out - which then makes us fallback. but catch the resulting focusout on the frame to make the window lose its focused decor
Dana Jansens danakj@orodu.net
a866259d
when finding edges and we're omnipresent only use windows on screen
Dana Jansens danakj@orodu.net
10f79f4d
change which windows are used for finding edges. its the same as window resistance really now. and works if the window isnt on the current desktop
Dana Jansens danakj@orodu.net
2b28aa8c
smrts.

compare windows for restacking based on their desktops and if they are iconified. dont compare to irrelavent ones. also if the sibling isn't valid then don't use it.
Dana Jansens danakj@orodu.net
22a17d3a
only do restack checks on windows that are visible
Dana Jansens danakj@orodu.net
47529e77
revert 7246 and simplify action_raiselower a bit, turns out 7246 wasn't needed for that after all
Mikael Magnusson mikachu@comhem.se
3547fe26
formatting
Dana Jansens danakj@orodu.net
0f677834
have stacking_restack_request return a bool that says if it did something with TopIf/BottomIf (other cases always return true)
Mikael Magnusson mikachu@comhem.se
062d4d43
add readme.nls with fancy tricks
Dana Jansens danakj@orodu.net
819be4fe
missing a var name
Dana Jansens danakj@orodu.net
3c4e59d5
i think this would overflow?
Mikael Magnusson mikachu@comhem.se
3da77dbf
big explanation
Dana Jansens danakj@orodu.net
668e855b
fix java
Dana Jansens danakj@orodu.net
bad635d2
add bengali (india) translation
Mikael Magnusson mikachu@comhem.se
eb237bf3
add comment
Dana Jansens danakj@orodu.net
af42ac2a
less configure events on mapping
Dana Jansens danakj@orodu.net
32b64b6c
fix comment
Dana Jansens danakj@orodu.net
9b577027
less configurenotify spam
Dana Jansens danakj@orodu.net
fba24cf0
make the default drag threshold 8px
Dana Jansens danakj@orodu.net
2d9260f8
make escape close the whole menu
Dana Jansens danakj@orodu.net
55886f27
nothing really..
Dana Jansens danakj@orodu.net
6fbeeb80
don't hover buttons while the pointer is grabbed
Dana Jansens danakj@orodu.net
50a0bf09
when reconfiguring, readjust clients positions based on the change in their decoration sizes and their gravity
Dana Jansens danakj@orodu.net
e8cd4c4d
fix ooffice (and all stupid windows that use static gravity)
Dana Jansens danakj@orodu.net
a5e6d35e
unupdate syscrash theme
Mikael Magnusson mikachu@comhem.se
87d1d953
update Syscrash theme
Mikael Magnusson mikachu@comhem.se
c356d51a
check for libxml 2.6.0
Mikael Magnusson mikachu@comhem.se
1a82c17d
set the new library versions cuz its not backward compat
Dana Jansens danakj@orodu.net
264dd883
missing a {
bump the version
Dana Jansens danakj@orodu.net
7f5f9c55
cleaner code
Dana Jansens danakj@orodu.net
e4b162d4
only show falling back msg when its true
Dana Jansens danakj@orodu.net
5588c493
add an allow_fallback option when opening a theme
Dana Jansens danakj@orodu.net
5e50b406
cosnt char*
Dana Jansens danakj@orodu.net
467b7f4d
make it possible to iconify a modal window when its parent is the only window left on the desktop.

when focus falls off of a window, don't allow focus to go back to that same target - when a window is iconified is the case.

what focus_fallback_target, to check whe allow_refocus is false, check where focus will actually be sent
Dana Jansens danakj@orodu.net
4ff0d49c
deiconify modal windows when you try to focus their parent
Dana Jansens danakj@orodu.net
487b8c55
add new test to ignore
Dana Jansens danakj@orodu.net
5074d902
add a big comment about more menus
Dana Jansens danakj@orodu.net
24df4baa
dont need to recurse
Dana Jansens danakj@orodu.net
dfb15645
add another skiptskbar test that sets it after mapping
Dana Jansens danakj@orodu.net
58acd2b2
make skiptaskbar test actually skip the taskbar
Dana Jansens danakj@orodu.net
7d93a218
let new utility windows get focus under the normal rules
Dana Jansens danakj@orodu.net
b2dfa2fc
don't hide the dock when the mouse goes into a dock app
Dana Jansens danakj@orodu.net
b27d9d21
left and right edges resized in the wrong direction
Mikael Magnusson mikachu@comhem.se
ed1dcb6b
no const weirdness
Dana Jansens danakj@orodu.net
999cf250
missing header
Dana Jansens danakj@orodu.net
65144cc5
set name to the name of the theme when falling back
Dana Jansens danakj@orodu.net
9a3464b8
that change was a bug after all. mika was right!
Dana Jansens danakj@orodu.net
5ed8f271
fix a segfault
Dana Jansens danakj@orodu.net
16e40dbd
send dcop's output to dev null
Dana Jansens danakj@orodu.net
9e0251cb
oops revert my testing changes to clearlooks! !
Dana Jansens danakj@orodu.net
a9b411ce
fix the bottom decor stuff for maximized windows. kill the border and tings at the bottom for fullmax windows.
Dana Jansens danakj@orodu.net
e473ec2b
dont center utility and stuff windows on screen
Dana Jansens danakj@orodu.net
a4150ae3
add comments
Dana Jansens danakj@orodu.net
ac72dafa
fix clients with static gravity
Dana Jansens danakj@orodu.net
292cb8b4
center splash screens like parentless transients
Dana Jansens danakj@orodu.net
a71a98b6
set a OB_ICONIFY_ALPHA define in misc.h for the 3 places to all use
Dana Jansens danakj@orodu.net
7b14d44b
g_spawn_async wants a char**, not const
Dana Jansens danakj@orodu.net
1188d9b0
don't need to &0xff
Mikael Magnusson mikachu@comhem.se
cb5cc0d7
trying to be as cool as mika /._.;\
Dana Jansens danakj@orodu.net
1d267613
dont free random stuff
Dana Jansens danakj@orodu.net
13f81217
let gcc do the math. it should be compiler optimized away
Dana Jansens danakj@orodu.net
28ad33fd
brackets ftw. opacity for rgba's works.
Dana Jansens danakj@orodu.net
5e98d8a4
set alpha based on iconicness in client list menus
Mikael Magnusson mikachu@comhem.se
9df3e07b
it doesn't work but its something
Dana Jansens danakj@orodu.net
f38be067
set the alpha based on iconicness
Dana Jansens danakj@orodu.net
66d51f26
alpha :x not width
Dana Jansens danakj@orodu.net
319fb359
add the rgba alpha to the menu entries
Dana Jansens danakj@orodu.net
c4eaa943
put an alpha channel in the rgba texture
Dana Jansens danakj@orodu.net
6e06e45f
fix hack for windows moving by their decor size
Dana Jansens danakj@orodu.net
39d94f0d
no pointless using of the comma operator
Mikael Magnusson mikachu@comhem.se
e215fc01
make next/previouswindow and dirfocus actions show the focus_cycle_indicator even if they target the focused window, remove an unused variable from focus_cycle but not from focus_directional_cycle, there we use it to fix the aforementioned indicator.
Mikael Magnusson mikachu@comhem.se
6fa15756
wasted checked, configure will do them for us
Dana Jansens danakj@orodu.net
1b59b9f6
cleaner code yay
Dana Jansens danakj@orodu.net
ba2de2d5
give the client a 0 border again.
Dana Jansens danakj@orodu.net
56b01b73
have the clientpadding color show during resize, and no flashing on unmap. we win !
Dana Jansens danakj@orodu.net
2aa0a6b0
get rid of the plate window
Dana Jansens danakj@orodu.net
a1511e46
get rid of the "inner" window
Dana Jansens danakj@orodu.net
3e8d8108
when focus goes to the root window, and it is coming from another screen, fall back to a client
Dana Jansens danakj@orodu.net
6e5d9c53
use new functions to cancel key grabs
Dana Jansens danakj@orodu.net
c7731ecb
a better ordering for mapping window configure events

configure the window to find where it will actually be, with all the startup states off. then apply the startup states to those dimensions
Dana Jansens danakj@orodu.net
78ff91ae
fix comment
Dana Jansens danakj@orodu.net
b3038070
tell the ksplash screen we've started up, through the dcop command line program, if it's around
Dana Jansens danakj@orodu.net
34bdcb25
corrections to catalan translation
Mikael Magnusson mikachu@comhem.se
98bc768a
reset interface age
Dana Jansens danakj@orodu.net
c726a1f7
set the current theme in a root property
Dana Jansens danakj@orodu.net
9d8e1da4
remove ob_config atom, its not used
Dana Jansens danakj@orodu.net
4b8767bd
add a confignotifymax test
Dana Jansens danakj@orodu.net
1444dcc3
add chinese simplified translation
Mikael Magnusson mikachu@comhem.se
12f1ef9e
ignore stuff in the root dir
Dana Jansens danakj@orodu.net
92e54e48

        
Dana Jansens danakj@orodu.net
f628b21c
remove all the ignoreing
Dana Jansens danakj@orodu.net
28205ff6
ignore built stuff
Dana Jansens danakj@orodu.net
232817b3
ignore built stuff
Dana Jansens danakj@orodu.net
fd3ade8a
ignore built stuff
Dana Jansens danakj@orodu.net
4ad2c266
ignore built stuff
Dana Jansens danakj@orodu.net
9094aa05
ignore built stuff
Dana Jansens danakj@orodu.net
8e719e03
lil change
Dana Jansens danakj@orodu.net
b84699ee
add .svnignore and ignore built stuff
Dana Jansens danakj@orodu.net
641f0b1e
thsi time for real
Dana Jansens danakj@orodu.net
be4c7636
ignore more built stuff
Dana Jansens danakj@orodu.net
b0efb310
ignore .gmo's
Dana Jansens danakj@orodu.net
70affbf6
dont svn status the binaries
Dana Jansens danakj@orodu.net
123ee25c
final touches for r6990-6992
Dana Jansens danakj@orodu.net
2a84418e
missed one
Dana Jansens danakj@orodu.net
be3b7873
better more obvious code
Dana Jansens danakj@orodu.net
2f579df4
call client_reconfigure after setup_decor_and_functions to make the changes appear
Dana Jansens danakj@orodu.net
cc2237bb
fix a comment
Dana Jansens danakj@orodu.net
0299cded
make mouse clicks higher up in the menu select the submenu
Dana Jansens danakj@orodu.net
f8aab34e
dont make motions in menus outside of the active menu, its child, and its parent, do anything
Dana Jansens danakj@orodu.net
6a201019
OPTIMZIE
Dana Jansens danakj@orodu.net
78c80b68
7/16 opacity! heh
Dana Jansens danakj@orodu.net
451fb42c
3/8 opacity for iconic windows
Dana Jansens danakj@orodu.net
db4bc708
make iconic windows have 50% opacity in the alt-tab box
Dana Jansens danakj@orodu.net
8205b658
update the strut when strut_partial changes
Dana Jansens danakj@orodu.net
2050e99a
dont count non-normal windows as parents, in the group too
Dana Jansens danakj@orodu.net
a5aa1af3
typo again!?
Dana Jansens danakj@orodu.net
5ec53919
dont count non-normal windows as parents
Dana Jansens danakj@orodu.net
9182f1a6
typo and ()s
Dana Jansens danakj@orodu.net
301016fd
don't give focus to transient when it is ambiguous, but only if they have a parent
Dana Jansens danakj@orodu.net
e9f6255b
properly search for a focused window in the transient tree
Dana Jansens danakj@orodu.net
30912d46
do try_configure to find out what width the window will actually be, before adjust the x/y based on gravity, if they didn't specify the x/y
Dana Jansens danakj@orodu.net
33406a1c
when compressing motion events use both xy and rootxy
Dana Jansens danakj@orodu.net
f690980d
add some tests which i didnt add before, and the new groupmodal test
Dana Jansens danakj@orodu.net
461ae2a8
add a comment and make it smarter about when to let you focus cycle to windows with modal children
Dana Jansens danakj@orodu.net
e48dce67
add a comment
Dana Jansens danakj@orodu.net
16fcb121
when you focus a window, bring any modal children it has to that desktop
when falling back, return the window which actually was focused by client_focus
let you focus cycle to windows when their modal window is on another desktop (it will be brought over)
Dana Jansens danakj@orodu.net
8874ec1f
put transients on the current desktop when their parent is on all desktops
Dana Jansens danakj@orodu.net
5ae7ccd8
add the focus options documentation to the mouse focus example
Dana Jansens danakj@orodu.net
078f6e5a
properly align stuff when the icon is on the right side
Dana Jansens danakj@orodu.net
6bb61c30
update catalan translation
Mikael Magnusson mikachu@comhem.se
0c8c23e8
only hilight the first entry when opening the menu with a keybind
Mikael Magnusson mikachu@comhem.se
c53db446
ignore focusout notifyungrab.

fix focus bug in firefox where you use gmarks popup and when you go to a page with it, it think focus went to a black hole
Dana Jansens danakj@orodu.net
ddfddc15
document the focus options
Dana Jansens danakj@orodu.net
b8fded74
make focuslast only apply to switching desktops, like 3.3.1
Dana Jansens danakj@orodu.net
568ca95b
unused variables
Dana Jansens danakj@orodu.net
5395d306
put xerrors in the debug output when they are being ignored
Dana Jansens danakj@orodu.net
65bf23c2
when colormap changes and it is installed, reinstall the new one
also add a debug print
Dana Jansens danakj@orodu.net
a59540f2
improve the colormap setting code
Dana Jansens danakj@orodu.net
35889c28
mssing a break; *^^;*
Dana Jansens danakj@orodu.net
a9ff8217
debug prints improved
Dana Jansens danakj@orodu.net
547da273
only 1 unmap is generated when we reparent the window at startup. not sure when this changed but weve changed our eventmasks, or maybe it was always wrong. but yeh.
Dana Jansens danakj@orodu.net
c189771c
when an app doesn't specify PPosition or USPosition, then assume its PPosition
Dana Jansens danakj@orodu.net
20cb425f
fix a string
Mikael Magnusson mikachu@comhem.se
47744e03
don't crash when you press enter with nothing selected in the menu
Mikael Magnusson mikachu@comhem.se
7f9080c6
hilight the first normal entry also if there is a menuheader/separator before it
Mikael Magnusson mikachu@comhem.se
914d18f3
fix formatting
Dana Jansens danakj@orodu.net
01a7a9ed
fix window gravity when there is a border width
Dana Jansens danakj@orodu.net
8e19e99a
debug print modified and the confignotify test
Dana Jansens danakj@orodu.net
2521fd24
don't set the above member in synthetic configurenotify events

add more output in confignotify test
Dana Jansens danakj@orodu.net
9d503617
update slovak translation, and fix some errors i made in the portuguese translations wrt encoding
Mikael Magnusson mikachu@comhem.se
cace930f
only need to call xconfigurewindow once
Dana Jansens danakj@orodu.net
10002eaa
don't queue focusing actions. so they don't hide the menu right away
Dana Jansens danakj@orodu.net
fe99440c
don't set the global moving state unless the move/resize is accepted
Dana Jansens danakj@orodu.net
47986dcd
always set all the coords, as the x/y only change when resizing the border too
Dana Jansens danakj@orodu.net
c11d83e5
this fits in 80 cols on one line and oh my god I wrote where instead of we're :(((((((((((((((((( sad face
Mikael Magnusson mikachu@comhem.se
fb952d86
don't fake an enter event if where still in the same window
Mikael Magnusson mikachu@comhem.se
a38012f2
only readjust the frame size when the client needs to be resized
Dana Jansens danakj@orodu.net
5883164b
fix for not changing clients' border widths on them
Dana Jansens danakj@orodu.net
2e529e3f
don't change clients' borders
Dana Jansens danakj@orodu.net
306ea131
we set borderwidth to 0 so always give that to the client consistently
Dana Jansens danakj@orodu.net
a4f868a1
send the client's border width in configurenotify messages, so it can get the right offset
Dana Jansens danakj@orodu.net
ca8924a5
let you unfocus/lower stuff in press actions. it'll be okay
Dana Jansens danakj@orodu.net
5e9e2667
change in how things are ungrabbed to avoid grabwhilenotify. don't ungrab every key press. just ungrab the passive grab when there is no active grab and we are going to move focus.

this should be less intrusive and seems to work
Dana Jansens danakj@orodu.net
4a45cabd
revert r6802.

it seems that focusin/out notifygrab business is only affected by *keyboard* grabs, not pointer grabs, at least not passive pointer grabs
Dana Jansens danakj@orodu.net
4e8e48fe
don't unfocus in press actions
Dana Jansens danakj@orodu.net
aa7c36d1
only kill focus cycling when the window being destroyed was in the list of targets
Dana Jansens danakj@orodu.net
11c4ce49
don't need the client destructor now
Dana Jansens danakj@orodu.net
5d9b0596
oops was saving tthe options in the wrong place.

save the panels/dockwindows/desktopwindows/alldesktops options when focus cycling starts
Dana Jansens danakj@orodu.net
c090f630
save the panels/dockwindows/desktopwindows/alldesktops options when the focus cycling popup is shown
Dana Jansens danakj@orodu.net
12bbc0cc
use focus_cycle_stop to cancel focus cycling
Dana Jansens danakj@orodu.net
508ce538
when canceling focus cycling, cancel both normal and directional
Dana Jansens danakj@orodu.net
a76ac820
don't crash when a window adds itself to the focus order while cycling
Dana Jansens danakj@orodu.net
df50b6bb
bump the version
Dana Jansens danakj@orodu.net
959fff5e
drop the startup notify timeout from 30 to 20 seconds
Dana Jansens danakj@orodu.net
8929993b
add confignotify.c test
Dana Jansens danakj@orodu.net
23f9ae27
add a comment about the last revision
Dana Jansens danakj@orodu.net
47a4c332
don't map the client window when grabbing the frame. we need to set up the client and send configurenotifies and stuff *before* sending the map notify
Dana Jansens danakj@orodu.net
16ae5868
remove a debug print
Dana Jansens danakj@orodu.net
211cc444
center argb textures (icons for eg.) within the area given if they are not the same shape
Dana Jansens danakj@orodu.net
09f4483c
fix titleleft and titleright for fullmax windows without decorations
Dana Jansens danakj@orodu.net
a8fe821f
use the PSize and USSize hints to decide to resize windows on map or not
Dana Jansens danakj@orodu.net
1821191d
i don't speak portuguese
Mikael Magnusson mikachu@comhem.se
e9ccc6a8
fix a debug print
Dana Jansens danakj@orodu.net
fd2fe675
+1 in the wrong place meant bad decorations
Dana Jansens danakj@orodu.net
7d164842
give focus to new windows when *any* relative already has focus..

don't give it when it will not go to the window anyway tho, like if there is already a modal child for it
Dana Jansens danakj@orodu.net
ac175e47
don't lower from press actions, because that can't move focus!
Dana Jansens danakj@orodu.net
fd2f01bf
add C-A-Up/Down to the mouse focus example, and don't raise on clicks on the client
Dana Jansens danakj@orodu.net
5a1fa921
add a debug print
Dana Jansens danakj@orodu.net
b60cf739
only auto-activate normal windows when they raise themselves (not splash screens or panels or desktops - what desktop would raise itself heh)
Dana Jansens danakj@orodu.net
71af5156
mention openbox version in ar.po
Mikael Magnusson mikachu@comhem.se
7b2d3418
add arabic translation
Dana Jansens danakj@orodu.net
de76611e
only preserve focus for normal omnipresent windows
Dana Jansens danakj@orodu.net
40f20e93
move some code aaround for focusing. proper layer calculation for fullscreen windows based on focus. hopeuflly not break sometihng else.
Dana Jansens danakj@orodu.net
c371c6d4
bump the version
Dana Jansens danakj@orodu.net
9d0dfca7
i broke desktop switching
Dana Jansens danakj@orodu.net
31f63fb6
remove activate from the mouse focus example rc.xml
Dana Jansens danakj@orodu.net
1fcbb41d
remove activate action from the config file, so things are more explicit. dont unshade on click for things that can move the window. don't unshade on right clicks on the titlebar
Dana Jansens danakj@orodu.net
1eedc817
bump the version for 993
Dana Jansens danakj@orodu.net
6c8b7c1e
add C-A-Up/Down mouse bindings, for consistency with the C-A-arrow key bindings!
Dana Jansens danakj@orodu.net
e10c5413
let you use control button to run keyboard accels in menus
Dana Jansens danakj@orodu.net
5d5156dc
dont use empty desktop names from the rc file
Dana Jansens danakj@orodu.net
1f71a0db
small optimization heh for screen_set_desktop - set the root proerty less
initialize screen_last_desktop properly
Dana Jansens danakj@orodu.net
ad8e8d49
less negatives means less confusing.. but yeah. get rid of omnipresent check in focus_fallback
Dana Jansens danakj@orodu.net
cca8a903
haha typo etc
Mikael Magnusson mikachu@comhem.se
91dbbeb6
missed a spot
Mikael Magnusson mikachu@comhem.se
ddd2a4da
check desktop switching stuff in screen_set_desktop
Mikael Magnusson mikachu@comhem.se
336011ef
prevent flicker in the follow actiosn again instead of in focus fallback. focus fallback needs to be very reliable.
Dana Jansens danakj@orodu.net
7cf4c970
debug print in focus.c
when focus goes to something that isn't a client (window already unmapped) then set focus_client to NULL so we know nothing has focus right now
Dana Jansens danakj@orodu.net
6a9d502f
put the actions back so they don't have to be smart.

make focus_fallback not send focus anywhere if the new target is the same as what is already focused
Dana Jansens danakj@orodu.net
c8383288
make omnipresent windows not flicker when changing desktops
Mikael Magnusson mikachu@comhem.se
9cb80fc9
save the focus_client when falling back
Dana Jansens danakj@orodu.net
9f7554a4
backwards logic
Dana Jansens danakj@orodu.net
ae65a6b2
cleanup, and don't send windows to desktop if they are already there
Dana Jansens danakj@orodu.net
912f8eed
don't fallback focus if the focused client is being moved there and follow is on
Dana Jansens danakj@orodu.net
d1570968
put the hostname in icon titles too
Dana Jansens danakj@orodu.net
38d1f2cb
send iconic windows to the bottom of the focus list so you can a-s-tab tog get back what you just iconified
Dana Jansens danakj@orodu.net
1ca83752
titleNumber disappeared a while ago
Mikael Magnusson mikachu@comhem.se
c9850a81
prevent very small windows from having elements with negative or zero sizes
Dana Jansens danakj@orodu.net
f638c5b8
some focus changes...
1) listen for inferiornotify. that way when iconify animating reverts to parent, we see it.
2) set client to null when falling back and update the root window property
3) get rid of the "focus didnt move anywhere" business, and just process the envents in the right order.
Dana Jansens danakj@orodu.net
70fc99f9
stop unmapping the plate window. that was just a coincidence that it fixed the libwnck stuff
Dana Jansens danakj@orodu.net
37aaf4c1
merge r6815 from 3.4-working (!) 'fix positioning of tlt, top and trt resize elements. thanks mulberry'
Mikael Magnusson mikachu@comhem.se
f9cf8fce
dont give focus to transients when the situation is ambiguous
Dana Jansens danakj@orodu.net
33d48c52
add a debug print
Dana Jansens danakj@orodu.net
2fabd7bd
add the big.c test
Dana Jansens danakj@orodu.net
081c7c0c
experimental change. when apps map, make them fit inside the struts and the screen and stuff, unless they are user-positioned
Dana Jansens danakj@orodu.net
689157e8
only put a transient for the group onto some other desktop if its whole group is over there
Dana Jansens danakj@orodu.net
e2da966b
choose the closest icon size, not always the first icon. :X
Dana Jansens danakj@orodu.net
0f48ef7d
Added dutch translation
Mikael Magnusson mikachu@comhem.se
9b95bf5c
updated russian translation
Mikael Magnusson mikachu@comhem.se
aa81b46f
bump the version to 992
Dana Jansens danakj@orodu.net
10e08f6c
use maximized state to try find fullscreen sized windows that shouldnt be considered fullscreen, instead of using the undecorated flag
Dana Jansens danakj@orodu.net
b5267148
kill the top and bottom resize contexts for max-vert windows
Dana Jansens danakj@orodu.net
3052eaaa
mention that they dont take command line arguments
Dana Jansens danakj@orodu.net
c3e0a6d7
don't let the session scripts take arguments
Dana Jansens danakj@orodu.net
48314dc2
i remembered why i remvoed the fake enter events from press type actions moving windows around. it makes for focus events with notifywhilegrab. remove it and make a comment explaining why.
Dana Jansens danakj@orodu.net
192cc6b4
don't let you maximize menu and toolbars
Dana Jansens danakj@orodu.net
630d9504
let you iconify utility windows
Dana Jansens danakj@orodu.net
93d9201c
first step of changing the types and their restrictions
Dana Jansens danakj@orodu.net
2fb7a6e4
yay! gravity finally works right!
Dana Jansens danakj@orodu.net
459449c7
työtila %i
Mikael Magnusson mikachu@comhem.se
03f578f8
töölaud %i
Mikael Magnusson mikachu@comhem.se
9f7a19da
update zh_TW translation and add the desktop %i string to most translations, not sure about et though
Mikael Magnusson mikachu@comhem.se
52a28bb5
little comment about unmapping the plate window for libwnck
Dana Jansens danakj@orodu.net
a055fd9e
validate the desktop layout loaded from session
Dana Jansens danakj@orodu.net
cec4b9df
mention that the desktop stuff are default values only
Dana Jansens danakj@orodu.net
be08578d

        
Dana Jansens danakj@orodu.net
0e98685d
add the "desktop %i" string to the translations
Dana Jansens danakj@orodu.net
a4b4e61a
better idea, don't set the desktop names in the default rc. and lets translate the string in openbox. ha ha. this way everyone gets translated names by default.
Dana Jansens danakj@orodu.net
b04186cf
make the default desktop names match the auto generated ones, and numbers are the universal language anyways
Dana Jansens danakj@orodu.net
e9fb9516
restore the desktop names and number from the session. don't clobber them if they are already set when we start up.
Dana Jansens danakj@orodu.net
0b7b5e3b
update the desktops comment to tell you to use obconf to set the desktop number/names without having to log out/in
Dana Jansens danakj@orodu.net
1b82cc48
little sanity check. dont let you create more than 1000 desktops
Dana Jansens danakj@orodu.net
e9115802
make the client list menu update properly and not crash
Dana Jansens danakj@orodu.net
1cafe0ba
set the desktop names when there are too few from the config file when possible. otherwise use "desktop %d".

if we change the desktop names at all, set the root hint so other apps know about it too and we can all agree
Dana Jansens danakj@orodu.net
6f6ab8c4
save and restore the desktop number/layout/names in the session.
also fix a segfault in some debug prints, printing ints as strings!
Dana Jansens danakj@orodu.net
3b8bcd3e
get the pixel extents the "right way" in 1.16 and use our own rounding otherwise because the pango function lies.
Dana Jansens danakj@orodu.net
3f3d5990
pango lies. do the pixel conversion ourselves
Dana Jansens danakj@orodu.net
e8dbe09c
draw the keychain popup only when necessary
Dana Jansens danakj@orodu.net
6fb3e62a
when a window is being kept on screen (espcially from mapping more or less) and the position didnt come from the user (USPosition) then force the top left corner of the app on screen so it doesnt hide behind panels or whatever and you cant get at the titlebar
Dana Jansens danakj@orodu.net
89c7b236
fix libwnck by unmapping the plate window as well as the client during iconify animation
Dana Jansens danakj@orodu.net
b95fe18c
revert r6775, it didnt help, and then more event storm
Dana Jansens danakj@orodu.net
e043faec
dont compress motion events. it breaks things, moveresize is missing events
Dana Jansens danakj@orodu.net
206ad12b
fix window gravity..
also less setting the wm_state hint redundantly
Dana Jansens danakj@orodu.net
dc752df2
update portuguese translation
Mikael Magnusson mikachu@comhem.se
a6903d90
settings is never null anymore, so dont bother to check. also use else's because we don't need to set match=false 3 times
Dana Jansens danakj@orodu.net
2867aba1
dont have xml comments inside comments for the per-app example
Dana Jansens danakj@orodu.net
0a2cf076
back out 6769 on files that werent supposed to commit yet
Dana Jansens danakj@orodu.net
a16f1374
comment out the applications example
Dana Jansens danakj@orodu.net
63a6a1f0
don't use the timestamp and such fields when the _NET_ACTIVE_WINDOW is using the old spec
Dana Jansens danakj@orodu.net
6af116c8
change render to obrender in a message
Mikael Magnusson mikachu@comhem.se
78840bd8
update spanish translation
Mikael Magnusson mikachu@comhem.se
bf9cbd07
make modal windows cyclable all the time if they are visible and stuff
Dana Jansens danakj@orodu.net
dd937208
reuse variables, less braces
Dana Jansens danakj@orodu.net
15e5a891
update italian translation and add czech translation
Mikael Magnusson mikachu@comhem.se
d15d4d8b
don't show the resize popup unless you're actually resizing, for both sync mode and drawcontents off
Dana Jansens danakj@orodu.net
49c7c030
along with r6753, when window is maximized make the borders count as titlebar context not the top/tl/tr contexts
Dana Jansens danakj@orodu.net
8262e1ba
fix frame rendering to match layout fixes
Dana Jansens danakj@orodu.net
d0c1a24b
fix frame positionings more
Dana Jansens danakj@orodu.net
0ec56cdb
update pt_BR translation
Mikael Magnusson mikachu@comhem.se
c7e81358
fix some math for frame elements
Dana Jansens danakj@orodu.net
0fe1e8f4
eat enter events when the new alttab popup hides
Dana Jansens danakj@orodu.net
41177771
link to wrong version for obparser-3.0
Dana Jansens danakj@orodu.net
d608649e
fix what manpage files are included in the distribution and make clean delete the generated ones
Dana Jansens danakj@orodu.net
9f74c1f7
bump the versions up
Dana Jansens danakj@orodu.net
53309da2
put back the check for the window type when restoring the session. if you only have 1 firefox window in the saved session, the check for duplicates won't help
Dana Jansens danakj@orodu.net
3cf852d5
make the doc and data/xsession directories in configure.ac
Dana Jansens danakj@orodu.net
f5971646
remove the commented out stuff for mkdir's because configure.ac does it now
Dana Jansens danakj@orodu.net
275206bc
create the directories we need in the configure process
Dana Jansens danakj@orodu.net
9a0af18e
make the generated files with paths depend on the Makefile, and clean them when you run make clean
Dana Jansens danakj@orodu.net
7dde22a1
update the docs from the sgml.. timestamps are weird
Dana Jansens danakj@orodu.net
8679fbba
when restoring the session, dont restore windows which appear more than once in the session with the same identifiers, because we can;t tell them apart
Dana Jansens danakj@orodu.net
b9056e96
use the session called "openbox-session: for gnome session because it will still run metacity if you use the default one
Dana Jansens danakj@orodu.net
e97a4435
don't compare variables to themselves
Dana Jansens danakj@orodu.net
8f87a8af
only send configure notify when they requested a move, or if we are actually changing anything.
that is: if they only request a resize and nothing changes, don't do anything and dont send a configurenotify. this fixes the emacs event storm

also some new macros for rects
Dana Jansens danakj@orodu.net
4c253423
dont use the client's area rect when figuring out where to place it because then when you want to move ti there, it thinks that it is already there!  i actually fixed another bug recently that would have affectd this before but now it should work perfect..
Dana Jansens danakj@orodu.net
e8bac610
adjust the frame's size before placing the window so we know how much decor it has
Dana Jansens danakj@orodu.net
a0941554
fix showing the resize cursors at the right times.
fix losing the pre-size/position for windows mapped maximized or fullscreen states (and on restart)
Dana Jansens danakj@orodu.net
c5508ec1
we put desktop windows on all desktops so dont let them move.
make sure the window can move/resize when shutting down and restoring its geometry
Dana Jansens danakj@orodu.net
f0940aba
missing another break; ! wow
Dana Jansens danakj@orodu.net
798ed11b
missing a break; heh
Dana Jansens danakj@orodu.net
62c311ba
better ordering so you can unmaximize maximized windows.. but you cant resize them
Dana Jansens danakj@orodu.net
119c48fc
you can't resize fully maxed windows
Dana Jansens danakj@orodu.net
44be6784
don't reload the session on restart
Dana Jansens danakj@orodu.net
b8f20789
some repositioning of frame elements for maximized windows.
fix clicking on borders not counting as the button in that corner for full max windows
disable the resize cursors for full max windows
Dana Jansens danakj@orodu.net
cce3fed7
some changes to swedish translation
Mikael Magnusson mikachu@comhem.se
bca4fe6c
maybe the user time stuff should be more like other wm implementtions and less in the way
Dana Jansens danakj@orodu.net
1d93dc96
update estonian and polish translations
Mikael Magnusson mikachu@comhem.se
e697daac
add estonian translation and rename italian 'it'
Mikael Magnusson mikachu@comhem.se
590e6177
add a rough italian translation
Dana Jansens danakj@orodu.net
32b10e33
some more corrections
Mikael Magnusson mikachu@comhem.se
7be9d846
typo
Mikael Magnusson mikachu@comhem.se
ad6eeb4b
add portuguese brazil translation
Mikael Magnusson mikachu@comhem.se
063f837f
merge the po's from 3.4 branch that are going out with 3.3.990
Dana Jansens danakj@orodu.net
ded9252e
missing %s's in the translation. i hope these are ok
Dana Jansens danakj@orodu.net
fd8ce941
use simple pattern matching for per-app settings. all rules that match are applied to a window rather than just the first
Dana Jansens danakj@orodu.net
add9c3c1
oops. dont default all stuff to bold
Dana Jansens danakj@orodu.net
2982d307
updated french translation
Mikael Magnusson mikachu@comhem.se
280c70b0
make the default fonts bold cuz bold looks better everywhere except in the menus i think
Dana Jansens danakj@orodu.net
209d8df0
leave things how we found them !
Dana Jansens danakj@orodu.net
3c3fc81b
fix iconify animation to deal with the new frame layouting
Dana Jansens danakj@orodu.net
5fe275d0
updated finnish translation, thanks Aperculum
Mikael Magnusson mikachu@comhem.se
599b63e4
fix rendering argb textures on solid backgrounds
Dana Jansens danakj@orodu.net
4c7119f9
hide more decor whwn its not being used
Dana Jansens danakj@orodu.net
a78b22d0
fix some mistakes
Mikael Magnusson mikachu@comhem.se
4163f655
replace incorrect fuzzy strings with empty placeholders
Mikael Magnusson mikachu@comhem.se
fb830696
update norwegian translation
Mikael Magnusson mikachu@comhem.se
9fbe54b9
add the root context to the sloppy focus example config
Dana Jansens danakj@orodu.net
df07fdc9
add the template file
Dana Jansens danakj@orodu.net
2c9bb4be
forgot a \n
Mikael Magnusson mikachu@comhem.se
af278171
new strings to translate, and update swedish translation
Mikael Magnusson mikachu@comhem.se
cb7752cd
if the theme supplied a max button or desk button then use that for toggled fallback
Dana Jansens danakj@orodu.net
559ab9c9
add --restart
Mikael Magnusson mikachu@comhem.se
64d812c6
fix windows moving to monitors other than their own. client_find_onscreen uses their desired coordiantes instead of their old ones
Dana Jansens danakj@orodu.net
928305d0
remove unused config_menu_warppointer
Mikael Magnusson mikachu@comhem.se
59819942
make frame elements unmap when they arent in use
Dana Jansens danakj@orodu.net
2cce02b1
fix for shaped windows
Dana Jansens danakj@orodu.net
ef953231
fix for variable sized border between titlebar and client
Dana Jansens danakj@orodu.net
7472ed35
fix new dimensions for maximized windows
Dana Jansens danakj@orodu.net
1612a16e
frame can handle having no border between the titlebar and the client now
Dana Jansens danakj@orodu.net
1b7c2dac
draw the handle without borders
Dana Jansens danakj@orodu.net
0353b979
construct the titlebar without borders
Dana Jansens danakj@orodu.net
96fbc0c6
set the resize cursors only when the window can be resized
Dana Jansens danakj@orodu.net
ff681544
the left and right resize handles are the border, not grips
Dana Jansens danakj@orodu.net
cf5c7542
stop using a border for the outer frame window. step 1 of borderless-ness. now transparent windows dont look so terrible, yay
Dana Jansens danakj@orodu.net
2dada607
don't assume screen 0
Dana Jansens danakj@orodu.net
8159ac5f
i think this is good? can you run X at 32 bits?
Dana Jansens danakj@orodu.net
883bad43
set the functions recursively, so if you change it after the menu has been opened it takes effect all the way down
Dana Jansens danakj@orodu.net
3a280fa9
fix segfault by ordering shutdown properly
Dana Jansens danakj@orodu.net
d3f67abe
set the functions in the more menu the same as the parent menu
Dana Jansens danakj@orodu.net
a112ffa1
old unused variable
Dana Jansens danakj@orodu.net
ce1de0f3
maybe smaller icons look nicer?
Dana Jansens danakj@orodu.net
6b038948
put text back to the left and add a bit more spacing
Dana Jansens danakj@orodu.net
b596a52f
does the popup look better with centered text?
Dana Jansens danakj@orodu.net
05d93485
show and hide the new left/right resize bars at the right time
Dana Jansens danakj@orodu.net
1efc5111
revert r6638
Dana Jansens danakj@orodu.net
927bc781
add the Root context
Dana Jansens danakj@orodu.net
813d5c2e
add a root context that only applies to the root window. it fallsback to the desktop context, so desktop stuff applies to it too.
Dana Jansens danakj@orodu.net
198aab2b
make binding fallback for mouse clicks less restrictive. if you dont have a binding for the same button AND STATE then fallback.
Dana Jansens danakj@orodu.net
ed4d0ca3
for startup notification, use the left ptr+watch if it is available, and fall back to the pointer instead of the unusable watch if its not
Dana Jansens danakj@orodu.net
9014cf7c
missing new left and right contexts
Dana Jansens danakj@orodu.net
b26635fe
add Left and Right contexts for resizing
Dana Jansens danakj@orodu.net
2f541b6e
make either key work for people who have super_l and super_r (or whatever ones) bound to different mod masks
Dana Jansens danakj@orodu.net
ecdb7d58
let you resize on the bottom of the frame when handle height is 0 in the theme
Dana Jansens danakj@orodu.net
83da4ec9
fix escape's behavior in menus. make static stuff that shouldnt be used by others
Dana Jansens danakj@orodu.net
ea272a93
show the old single-window popup for directional focus.
fix multirow icons for the new popup.
Dana Jansens danakj@orodu.net
2ed4552f
round up rather than down for figuring out the width of the popup, so it will fit the text when possible
Dana Jansens danakj@orodu.net
0de1fd49
center the icons when there is only 1 row
Dana Jansens danakj@orodu.net
2253b5e3
fix the popup for directional focusing, only show what is going to be a valid target. change directional focus to use the same criteria as normal cycling.
Dana Jansens danakj@orodu.net
34ad5b92
save some malloc when possible
Dana Jansens danakj@orodu.net
50ba7e2d
fix positioning of stuff in the cycling popup. oh my god. the image texture is drawn inside the margins of the outer appearance
Dana Jansens danakj@orodu.net
2c4fef29
fix flashy menus
Dana Jansens danakj@orodu.net
4305448a
better positioning and some spacing
Dana Jansens danakj@orodu.net
7dd7c997
better coloring for the cycling hilite
Dana Jansens danakj@orodu.net
53066b18
new focus cycle popup of doom
Dana Jansens danakj@orodu.net
83eb9220
move focus_cycle_popup into its own file
Dana Jansens danakj@orodu.net
eb09b187
move focus_cycle_indicator into its own file
Dana Jansens danakj@orodu.net
40f789e6

        
Dana Jansens danakj@orodu.net
d307a368
add missing include for new header
Dana Jansens danakj@orodu.net
718adbae
move focus cycling into its own file
Dana Jansens danakj@orodu.net
3d7c2f45
80 cols
Dana Jansens danakj@orodu.net
df948db3
i know we broke backwards compatibility but noone uses it except obconf and it still works, so just leave the pkgconfigs as -3.0, and obconf2 and require version >= 3.3.990 instead.
Dana Jansens danakj@orodu.net
4f1bb686
typo
Dana Jansens danakj@orodu.net
97526709
remove a function that is no longer used. and backwards boolean algebra was causing us to not ignore the right enter events
Dana Jansens danakj@orodu.net
7ee54ff1
get rid of the serials for ignoring enters..
Dana Jansens danakj@orodu.net
6142eb3a
when done iconify animating, send a configure notify (this fixes kde's pager showing the window in the wrong place)
Dana Jansens danakj@orodu.net
e77888ef
change obrender-3.0 and obparser-3.0 to 3.4 because we broke backward compatibility
Dana Jansens danakj@orodu.net
b76926f6
add pango to the pkg-config file
Dana Jansens danakj@orodu.net
88348223
set the ubuntu deb version right
Dana Jansens danakj@orodu.net
6d265026
super correct enter event ignoring that will only ignore what it has to, yay?
Dana Jansens danakj@orodu.net
9451205c
but don't count the same enter events more than once still
Dana Jansens danakj@orodu.net
ae269d77
fix a comment
Dana Jansens danakj@orodu.net
bba37f0c
ignore enter events without disrupting the event queue
Dana Jansens danakj@orodu.net
18ef3dce
re-staticify this function
Dana Jansens danakj@orodu.net
e47499a0
don't ignore the same enter events more than once
Dana Jansens danakj@orodu.net
1aa4c53a
obconf 1 will still work for 3.4
Dana Jansens danakj@orodu.net
a71c91ab
old comment
Dana Jansens danakj@orodu.net
c8b47107
static makes more sense than inline i think
Mikael Magnusson mikachu@comhem.se
9d004f51
name of the action_undecorate atom was wrong
Dana Jansens danakj@orodu.net
382d3755
add an atom ob_wm_action_undecorate to match with ob_wm_state_undecorated, so stuff could know if the window can be undecorated
Dana Jansens danakj@orodu.net
f9a79e60
a little check that catches firefox and other buggy apps, which set the same wmcommand across sessions on different window types. type is a pretty obvious check its hard for it to be a false alarm
Dana Jansens danakj@orodu.net
c6dac853
don't let the user toggle decorations on widnows that don't have any decorations to toggle
Dana Jansens danakj@orodu.net
3c590a58
kill enter events without using pointer grabs
Dana Jansens danakj@orodu.net
281c1edb
kill enter events without using pointer grabs
Dana Jansens danakj@orodu.net
b1076c93
rename client_configure_full to client_configure
Dana Jansens danakj@orodu.net
cfce6b8f
simpler code yay
Dana Jansens danakj@orodu.net
2ca83f67
grab the pointer when windows move them selves so no enter events happen. i wonder if this will cause but reports. it still does for restacking though..

little cleanup in client.c, and remove client_configure macro which was now
redundant
Dana Jansens danakj@orodu.net
619eeaa9
grab the pointer accross actions run by the applications, the same as for
actions run by the user
Dana Jansens danakj@orodu.net
4fdf8a43
"fullscreen" windows that are undecorated by the user do not count as legacy fullscreen windows
Dana Jansens danakj@orodu.net
48c3bc7c
remove old unused strings
Dana Jansens danakj@orodu.net
f83135a4
remove the #! thing and add a nice comment
Dana Jansens danakj@orodu.net
b11d260d
add SCIM support to the default autostart. make the autostart run before openbox.
Dana Jansens danakj@orodu.net
40c0bc42
wrong data type for the window border element
Dana Jansens danakj@orodu.net
4d4e657c
proper english
Dana Jansens danakj@orodu.net
6af0c046
regenerated manpage
Dana Jansens danakj@orodu.net
b69bf809
fullscreen only if no decorations
Dana Jansens danakj@orodu.net
fbae0143
updates to build debian and ubuntu debs. make man page say what webpage will probably say.
Dana Jansens danakj@orodu.net
b43b612e
update website in man pages. also update the see-also's
Dana Jansens danakj@orodu.net
5a1a3c2b
comment what i did
Dana Jansens danakj@orodu.net
3addcd8b
don't queue showmenu events, and set button to 0 when a grab is in place after the buttonpress event is run
Dana Jansens danakj@orodu.net
6f936115
fix desktop bindings. thank you prim.
Dana Jansens danakj@orodu.net
9da838ad
dont hardcode the paths in the man pages. add the docbook-to-man parsed stuff to svn. nice makefile rules for them.
Dana Jansens danakj@orodu.net
07a34428
add the manpages..
Dana Jansens danakj@orodu.net
d30809e5
always ignore errors for client_focus like we used to.
Dana Jansens danakj@orodu.net
d3e52442
revert r6485, for backwards compatibility
Dana Jansens danakj@orodu.net
e154e894
heh. hacking file..
Dana Jansens danakj@orodu.net
9047ab30
add the openbox-session manpage
Dana Jansens danakj@orodu.net
3ddc053c
that broke flashing
Dana Jansens danakj@orodu.net
2a203eb5
fix a comment
Dana Jansens danakj@orodu.net
361bf6af
simplify focus handling a bit. no need to listen to focus going to the frame because if it ever does that, the window is unmapping and the frame will just unmap and send it to root.

make focus fallback a lil more robust, it checks for errors when it sets focus on the window, and if an error occured it will focus the next option.
Dana Jansens danakj@orodu.net
f5597c06
try draw the decorations sooner
Dana Jansens danakj@orodu.net
9c5e8706
don't do this stuff when it's already done. save bandwidth.
Dana Jansens danakj@orodu.net
6194c979
save some rendering
Dana Jansens danakj@orodu.net
9aa5ca29
updates for the build system. always set Openbox on the support window
Dana Jansens danakj@orodu.net
b74cff03
changes to the manual pages.

adding openbox-session.

add paths to the xsession .desktop files
Dana Jansens danakj@orodu.net
5d85502e
also if you hide the focused window, then kill the interactive action so focus isnt all confused for the app
Dana Jansens danakj@orodu.net
47c8d407
don't assert, users can bind stuff however they like. but if they do something that moves focus during an interactive action, kill the grab
Dana Jansens danakj@orodu.net
b7827484
ungrab the keyboard for passive grabs. kill interactive actions for exec actions. don't ungrab the keyboard during interactive actions though.
Dana Jansens danakj@orodu.net
8f2291a7
excep the assert was backwards. heh
Dana Jansens danakj@orodu.net
f5d7952a
big scary g_assert(). interactive actions should never move focus until they're done.
Dana Jansens danakj@orodu.net
f9fe78d9
get rid of the fullscreen below layer. its the same as maximized windows..
Dana Jansens danakj@orodu.net
66db9aef
use the right cursor for moveresize
Dana Jansens danakj@orodu.net
ec21f8c9
yay for simplifying code. if we check for errors we dont need the "focus_tried" stuff
Dana Jansens danakj@orodu.net
1b2c6f60
always ungrab keyboard before doing a noninteractive action (which will ungrab before doing its real action business).
too bad we cant ungrab the mouse too.
Dana Jansens danakj@orodu.net
73f4b16d
themerc.xsd is not executable
Mikael Magnusson mikachu@comhem.se
415ce6e5
watch for errors while setting focus on windows, return false if there was an error, so fallback and keep looking
Dana Jansens danakj@orodu.net
2e7359a2
fix fullscreen windows being stuck in the wrong layer when they come out of
fullscreen.
add a new layer where fullscreen windows go when are aren't focused, below
all normal windows, so you can alt-tab to a below layer window and it will
show itself.
Dana Jansens danakj@orodu.net
12c9b56d
add openbox-session for gdm, which will run ~/.config/openbox/autostart
Dana Jansens danakj@orodu.net
cbd2206f
more removing config namespaces
Dana Jansens danakj@orodu.net
f58ece60
remove config namespaces
Dana Jansens danakj@orodu.net
b906db3e
remove the dialog option for Desktop action for now. can't change desktop during a grab. the dialog for desktop changing will need to change, and then we can add it back
Dana Jansens danakj@orodu.net
ff7eb1ea
some debug prints
Dana Jansens danakj@orodu.net
9011eb27
remove this check, it didnt guarantee anything anyways
Dana Jansens danakj@orodu.net
a019ee10
add a debug action.. change focus debug output a lil, no grab events
Dana Jansens danakj@orodu.net
d0a579ed
add a test for focus falling back to a window thats gone
Dana Jansens danakj@orodu.net
26ff0cba
the configurenotify needs to come after adjusting the frame's size. otherwise it gets messed up somehow.
Dana Jansens danakj@orodu.net
1a5139f2
send a configurenotify on mapping after the window is shown
Dana Jansens danakj@orodu.net
4ff71735
don't listen to focus events in the dock, unless you're going to do it properly
Dana Jansens danakj@orodu.net
db750e5c
typos
Mikael Magnusson mikachu@comhem.se
7af7ee05
fix a comment
Dana Jansens danakj@orodu.net
9d760878
another little focus cleanup/rearrangement, for focus going to windows that
are no longer there.
Dana Jansens danakj@orodu.net
53e75c5b
we don't need to save the config type in the session because if they dont run their DE with the openbox-*-session command, openbox won't be loaded anyhow. and if they do, they the var will be set and doesn't need to come from the session.
Dana Jansens danakj@orodu.net
7dcbc433
generated manpage
Dana Jansens danakj@orodu.net
a9af402c
mention that obconf older than 2.0 is no good.
Dana Jansens danakj@orodu.net
5a3154df
add --debug-xinerama
Dana Jansens danakj@orodu.net
1eff22b1
remove some old checking because we're not using window properties to store the premax/fullscreen areas. they are always set when the state is turned on.

fullscreen to the correct monitor.
Dana Jansens danakj@orodu.net
83bd9e1d
change now the keyboard is ungrabbed before executing actions. instead, ungrab it just before calling exec. other actions don't need it ungrabbed, and this way the release doesn't get sent through to programs for our keybindings. except for exec i suppose.
Dana Jansens danakj@orodu.net
9fcb2aa1
add grab/ungrab macros so dont need to pass in 10 arguments to ungrab stuff.
add a confine option to grab_pointer to confine the pointer to the screen, and use that for moveresize
Dana Jansens danakj@orodu.net
627125a6
set the cursor before using it
Dana Jansens danakj@orodu.net
03136a08
only do moveresize when grab is successful
Dana Jansens danakj@orodu.net
66af88b2
only set focus_client to null if the window losing focus was the focus_client
Dana Jansens danakj@orodu.net
0c173e15
set focus_client when focus leaves a window
Dana Jansens danakj@orodu.net
df595f9a
more manpage changes for the 3 configuration namespaces
Dana Jansens danakj@orodu.net
ef205519
manpage fixups
Dana Jansens danakj@orodu.net
334f9df7
don't unset the config namespace so that if you rerun it, it uses the same one. this is for dev work, really.
also, recompiled man pages
Dana Jansens danakj@orodu.net
d8d4f5ba
mention which config file it will use
Dana Jansens danakj@orodu.net
5c96972b
save the config type in the session command line arguments
Dana Jansens danakj@orodu.net
6171dbf9
when using openbox-gnome/kde-session, use a separate config file (rc-gnome/kde.xml)
Dana Jansens danakj@orodu.net
f16d3207
add gnome and kde config files which are the same, but without the root window menus
Dana Jansens danakj@orodu.net
4ac77b8a
which is in doc,not data/
Dana Jansens danakj@orodu.net
1415bd86
add an rc.xml example for mouse focus
Dana Jansens danakj@orodu.net
0ef82a1b
but rename ob_pid back to openbox_pid for backwards compatibility. this will go away entirely soon.
Dana Jansens danakj@orodu.net
99e23015
rename the openbox_* atoms back to ob_*
Dana Jansens danakj@orodu.net
2676b61b
missing a header
Dana Jansens danakj@orodu.net
d5a25d78
small change to the default rc
Dana Jansens danakj@orodu.net
49b6e6ac
let unfocus action go back to the same window. you should be doing some other action above it that will change where focus can end up
Dana Jansens danakj@orodu.net
3e5ac075
yay for mika-chan
Dana Jansens danakj@orodu.net
95c22798
you dont' need  docbook-to-man to build svn now, unless you change the manpage
Dana Jansens danakj@orodu.net
6968c592
add the generated from docbook man pages, for people who don't have docbook-to-man
Dana Jansens danakj@orodu.net
9e7663c5
dont rebuild them every time. simpler dependencies
Dana Jansens danakj@orodu.net
65a17633
dont set focus_client to NULL when sending focus to nothing, let that happen from the FocusOut events
Dana Jansens danakj@orodu.net
82432ae4
typo in the default config
Dana Jansens danakj@orodu.net
8fd052ff
a new default config file.. it's very click to focusy. will make an example for mouse focus people.
Dana Jansens danakj@orodu.net
3acd5ff0
fix for wrapping in desktop cycling
Dana Jansens danakj@orodu.net
73e7b292
fix error in client_directional_edge_search that ignored all windows in the same layer
Mikael Magnusson mikachu@comhem.se
eb7a3a06
im just leaving the dock alone..
Dana Jansens danakj@orodu.net
7a39cb3e
no strut for docks that autohide
Dana Jansens danakj@orodu.net
ef83d821
extraneous dependendancies?
Dana Jansens danakj@orodu.net
71f4dad2
@
Dana Jansens danakj@orodu.net
0b646b4e
why did they change again?
Dana Jansens danakj@orodu.net
306c6d95
include the man pages in dist.. :P
Dana Jansens danakj@orodu.net
e10dd09e
properly tell where the config files are
Dana Jansens danakj@orodu.net
3adadb95
resist all layers
Dana Jansens danakj@orodu.net
7fddf2ab
some focus fixes. always set the new focus when we fallback or else weird states appear. better handling of focusin's on clients that don't exist?
Dana Jansens danakj@orodu.net
1e5fb0d4
add the showhide test for showing a window then hiding it really fast
Dana Jansens danakj@orodu.net
0951fbee
add man pages for openbox-gnome-session and openbox-kde-session
Dana Jansens danakj@orodu.net
2b224585
restore code that keeps popups on screen
Mikael Magnusson mikachu@comhem.se
02f6e450
remove stuff that isnt used
Dana Jansens danakj@orodu.net
10f56369
yeh
Dana Jansens danakj@orodu.net
e83febbd
dont know why po files changed. oh, i moved some code around
Dana Jansens danakj@orodu.net
16dd95c0
add docbook-to-man, which you need to make the man page
Dana Jansens danakj@orodu.net
469609b9
Add a manage
Dana Jansens danakj@orodu.net
ecde8e8f
reorganize --help. dont error if they use a --sm stuff and sm isn't enabled
Dana Jansens danakj@orodu.net
e28cbd61
kill grabs before xsetinputfocus
Dana Jansens danakj@orodu.net
3fab6225
add more contributors
Dana Jansens danakj@orodu.net
d756dae0
add David to the credits
Dana Jansens danakj@orodu.net
b67e9884
reset the pager popup's size after reconfigure
Dana Jansens danakj@orodu.net
0ec49ac7
comment
Dana Jansens danakj@orodu.net
84754426
add the actions to compliance, including the 2 new ones
Dana Jansens danakj@orodu.net
94d9d069
add a debug line
Dana Jansens danakj@orodu.net
11df262d
add support for _NET_WM_ACTION_ABOVE and _NET_WM_ACTION_BELOW which aren't in the NETWM spec yet, but will be shortly.
Dana Jansens danakj@orodu.net
0ee15818
fix drawcontents=no
Dana Jansens danakj@orodu.net
2fdad9a0
no more losing focus from wm_torture -t map_response
when a focusin comes for an invalid target, set that focus has wandered off, so
that when the focusout comes in afterwards we can react accordingly
Dana Jansens danakj@orodu.net
fd9b6a43
always send configure notify when windows map
Dana Jansens danakj@orodu.net
c2374129
fix directional focus
Dana Jansens danakj@orodu.net
56d7bc50
don't allow focus to move during an interactive grab. if users set up actions
such that this would happen, then kill the interactive grab before moving
focus.
this is to avoid NotifyWhileGrabbed FocusOut's
Dana Jansens danakj@orodu.net
acfa2af3
use the right list in client_add_hide_notify, rename destructor to destroy_notify which is really what it is, and is more consistant now that there are 2 notifies
Dana Jansens danakj@orodu.net
9f22554b
when i said it handled both cases, i was mistaken, so use a callback for each case.
Dana Jansens danakj@orodu.net
685dca1c
likewise if a window is unmanaged and we were trying to give it focus, we want to know about it - also if the window gets hidden for some other reason, we also want to know about it.

add a notifier for windows being hidden, and use that instead - it handles both cases.
Dana Jansens danakj@orodu.net
1e957a16
some changes to focus handling.

most interesting is the change in focus_fallback, which means that it won't
call xsetinput focus in some cases, potentially reducing flicker and stuff.
also potentially producing bugs? heh.

the screen.c focus fallback code doesn't seem to need special cases anymore,
which is really good, if that is really the case.

move the focus_tried stuff out of event.c into focus.c, where it seems to
belong.
Dana Jansens danakj@orodu.net
f694c650
dont count focusin on the support window to be a focusin on a client
Dana Jansens danakj@orodu.net
41da12cc
maybe better logic for looking for focus in's on clients
Dana Jansens danakj@orodu.net
bfe974db
revert part of r6074. i don't think it needs to be removed anymore and then everything will "just work" better
Dana Jansens danakj@orodu.net
84f02284
install the xsd's to docdir
Dana Jansens danakj@orodu.net
59183ac2
dont make mouse bindings focus windows that dont take focus from clicks
Dana Jansens danakj@orodu.net
18c2737a
add a comment
Dana Jansens danakj@orodu.net
d59f0d67
interactive actions cancel other interactive actions
Dana Jansens danakj@orodu.net
d00096de
dont skip desktop windows that set skip_taskbar
Dana Jansens danakj@orodu.net
ca88a21a
where did those come from ?
Dana Jansens danakj@orodu.net
74810303
suggests only
Dana Jansens danakj@orodu.net
30316f8b
add conffiles
Dana Jansens danakj@orodu.net
c5ccf41f
add conffiles
Dana Jansens danakj@orodu.net
d676c118
changes to build..
Dana Jansens danakj@orodu.net
1801e11a
some fixes for the debian package
Dana Jansens danakj@orodu.net
9eaf7086
the edit part :(
Dana Jansens danakj@orodu.net
6cc5e44f
blah
Dana Jansens danakj@orodu.net
a8db8a0a
update deps
Dana Jansens danakj@orodu.net
b7341b13
make debian paackage with a makedeb script instead. install stuff to the right directories
Dana Jansens danakj@orodu.net
cb30ea2f
missing \s
Dana Jansens danakj@orodu.net
9e398b63
more fixups for debian package
Dana Jansens danakj@orodu.net
7ef83558
change version
Dana Jansens danakj@orodu.net
587b0f00
debian package works now
Dana Jansens danakj@orodu.net
cda87c60
dont keep this in svn
Dana Jansens danakj@orodu.net
9c6f2311
some changes to the build stuff for debian
Dana Jansens danakj@orodu.net
ea5d04bc
add stuff for making a .deb package
Dana Jansens danakj@orodu.net
6017c061
build fixes
Dana Jansens danakj@orodu.net
2de1f757
small fix to zh_TW again?
Dana Jansens danakj@orodu.net
7b8faf54
small fix to zh_TW
Dana Jansens danakj@orodu.net
b4f9328b
debug print
Dana Jansens danakj@orodu.net
c2e4d42e
ignore enter events on top menu and submenu popup
Dana Jansens danakj@orodu.net
ab75dd86
missing a break statement
Dana Jansens danakj@orodu.net
e40624b5
don't use it actually. it's confusing.
Dana Jansens danakj@orodu.net
cea602d7
put the shade icon in the right place
Dana Jansens danakj@orodu.net
fce33883
fix for running actions that end up wanting to grab the keyboard. make a nicer comment about what is going on.
Dana Jansens danakj@orodu.net
1a23a1bb
point to the right schema
Dana Jansens danakj@orodu.net
bd82becb
text cleanup
Dana Jansens danakj@orodu.net
811fa219
remove the edges_hit_layers_below option. don't use windows in other layers for resistance
Dana Jansens danakj@orodu.net
5812a81c
use the combined client list by default
Dana Jansens danakj@orodu.net
fdd18551
this is so old..
Dana Jansens danakj@orodu.net
3f446e91
the changelog for the xsd's is in svn now, also they are out of date
Dana Jansens danakj@orodu.net
2ff10b42
relocate the xsd's so they don't clash, and point to the right places
Dana Jansens danakj@orodu.net
5eba6007
change the "handle" context to "bottom". add a "top" context. make the top
and bottom contexts resize vertically in the default config file.
Dana Jansens danakj@orodu.net
06181f9c
make the handle resize by default, and give the handle the resize south cursor
Dana Jansens danakj@orodu.net
18c0714c
split the move and resize functions.
let you specify the edge to resize in the action binding
Dana Jansens danakj@orodu.net
1d1aef75
add <desktop>yes</desktop> option for Next/Previous window and directional focus actions
Dana Jansens danakj@orodu.net
d3ecb7c1
change how masks are loaded, let you override just one. simpler code too.
Dana Jansens danakj@orodu.net
eab6ff75
micromicrooptimization
Mikael Magnusson mikachu@comhem.se
4320bf5f
fix for fullscreen things getting lowered when switching desktops
Dana Jansens danakj@orodu.net
ecfd93b1
change client menu back to "Roll up/down". update strings, also some fixes.
Dana Jansens danakj@orodu.net
c5865c51
do it better, prevent creating new races
Dana Jansens danakj@orodu.net
1d6c07c2
try catch weird racey corner case where we try fallback to a window but it unmaps as we do so, so focus ends up going to nowhere
Dana Jansens danakj@orodu.net
3bee91aa
remove buttons from themes when they are using the defaults already for clarity
some small changes to themes..
  buttons can hide themselves now, so removed the empty disabled masks for
    Bear2 and Natura
install the default xbms for reference to the doc dir
install some basic documentation to the doc dir
Dana Jansens danakj@orodu.net
41f0ff03
look for themes where they were installed by make install first
Dana Jansens danakj@orodu.net
410bf6dc
make default masks even sized. these are from the clearlooks theme, probably from somewhere else before that.
Dana Jansens danakj@orodu.net
db9190fb
this is nothing but to add a commit message..

added support for

menu.border.width

!
Dana Jansens danakj@orodu.net
4845f271
add support for these...

menu.border.color
window.active.border.color
window.inactive.border.color

Bear2 has a menu color now, the old themerc had that specified
Dana Jansens danakj@orodu.net
77036027
add the metadata
Dana Jansens danakj@orodu.net
b63ad92c
give different border colors to active and inactive windows. adjust the xml theme format a little to make it BETTER. rawr. add some metadata standards too.
Dana Jansens danakj@orodu.net
b2006b8b
don't show handles on windows that cannot resize
Dana Jansens danakj@orodu.net
b23476ed
fix for circular transiency
Dana Jansens danakj@orodu.net
154eda3f
add test for grouptran->transient->transient
Dana Jansens danakj@orodu.net
2baad3ab
oops, debug prints
Dana Jansens danakj@orodu.net
8432416d
pick the closest icon instead of always a smaller one
Dana Jansens danakj@orodu.net
d8919a9b
guarantee an even height for the label, and thus the titlebar, and thus the buttons. that way an even sized mask in the button will always be centred
Dana Jansens danakj@orodu.net
0fedacf7
separate roll up and roll down.
new strings in the po's, which are actually old strings.
fix a couple menus shortcuts besides.
Dana Jansens danakj@orodu.net
ba6754ac
fix focus cycling. checking the wrong client.
Dana Jansens danakj@orodu.net
c0ddd76a
change fallbacks
Dana Jansens danakj@orodu.net
7956103a
make fallbacks match 3.4
Dana Jansens danakj@orodu.net
7d6caee4
memory leak on the server
Dana Jansens danakj@orodu.net
4e5c6af5
unused
Dana Jansens danakj@orodu.net
06b918cc
remove the last param from configure_full, it's not needed.
Dana Jansens danakj@orodu.net
75372cd4
set the default window gravity to NorthWest.
only put the bare minimum inside the server grab.
adjust the frame decorations in client_manage instead of frame_grab_client
remove the last parameter from client_configure_full and just determine it from the other state available.
send configurenotifies at all the right times.
make windows get restored to their position properly when they have a border
Dana Jansens danakj@orodu.net
caba57b6
don't adjust the decorations while the server is grabbed, move it to client.c
Dana Jansens danakj@orodu.net
58788b9c
change when configurerequests create configurenotifies.
make _NET_RESTACK_WINDOW create a configurenotify, because it is supposed to be like configurerequest. so why not?
Dana Jansens danakj@orodu.net
b30478ed
just generating some extra configurenotifies
Dana Jansens danakj@orodu.net
775d5da7
this fixes pypanel.. heh.
don't activate iconic windows when they raise themselves just raise them. firefox still works so i am happy.
Dana Jansens danakj@orodu.net
65d50861
when un-showing the desktop if a window is getting shown, iconify the others so just the one is shown
Dana Jansens danakj@orodu.net
3537e501
why didn't that commit
Dana Jansens danakj@orodu.net
f1f946ea
stacking fixes for layers
Dana Jansens danakj@orodu.net
4a34c7dd
don't get the layer from the group like that. let new windows go in their default layer. they are already kept above their parents.
Dana Jansens danakj@orodu.net
f3424ddd
add comments explaining why we don't switch desktops immediately
Dana Jansens danakj@orodu.net
6ff520d0
always set the multipliers just dont allow 0
Dana Jansens danakj@orodu.net
9c32f34b
center the text and icon vertically
Dana Jansens danakj@orodu.net
2864a761
make sure math is done in the right order
Dana Jansens danakj@orodu.net
5a96dee7
let the pager popup grow vertically
Dana Jansens danakj@orodu.net
f9694154
fix assert happening by combining interactive and non-interactive actions
Dana Jansens danakj@orodu.net
1ec4c3df
make the squares a little smaller. it looks nicer?
Dana Jansens danakj@orodu.net
9a3f05a7
don't make interactive desktop cycling switch until you release the mods. this is needed because otherwise focus moves around during the grab and applications get confused. :|
change the pager popup to resize based on the layout so the squares can be bigger
Dana Jansens danakj@orodu.net
df45b1e1
add the focusout test
Dana Jansens danakj@orodu.net
1c70f6b6
make stuff know it is not focused but changing desktops it still doesn't know
Dana Jansens danakj@orodu.net
5667acac
PANGO_VERSION_CHECK is new
Dana Jansens danakj@orodu.net
176e6cea
going down the order so look for a lower layer
Dana Jansens danakj@orodu.net
9d7215af
new strings
Dana Jansens danakj@orodu.net
f5502fa0
translate a few more strings and use g_message not g_critical whch is for debugging
Dana Jansens danakj@orodu.net
6194acb2
checking string length with the wrong texture
Dana Jansens danakj@orodu.net
11dd7db8
make the frame before you use the frame..
Dana Jansens danakj@orodu.net
083a7565
set the session stuff before trying to apply per-app settings.
set the decor/functions after restoring all the stuff from session/per-app too
Dana Jansens danakj@orodu.net
933a689b
fix typo in a comment, at least i do'nt think config5Aure is a word
Mikael Magnusson mikachu@comhem.se
6c7ba97f
make the xsession dir
Dana Jansens danakj@orodu.net
3dc9e13d
add the restack test for _NET_RESTACK_WINDOWS
Dana Jansens danakj@orodu.net
220015e5
make configurerequest activate but net_restack_windows just restack.
fix bottomif, topif, opposite.
fix debug output in event printing when there was no problem
Dana Jansens danakj@orodu.net
aa40be22
add _NET_RESTACK_WINDOW
Dana Jansens danakj@orodu.net
c2c84c3f
add support for _NET_RESTACK_WINDOW
Dana Jansens danakj@orodu.net
ae4bb6bc
not using this anymore
Dana Jansens danakj@orodu.net
cf466cde
dont clean the rc and menu. and include them in make dist
Dana Jansens danakj@orodu.net
f237e72a
dont count button releases to change the context until the first button pressed is released
Dana Jansens danakj@orodu.net
902555c9
the coordiantes are from the client, not the frame
Dana Jansens danakj@orodu.net
7d27d9d3
kill the .in's for xml. we're not installing the xsd to the filesystem anymore anyways.
kill the openbox-kde and openbox-gnome, we're going to have to do it different.
put the full path to the openbox binary in the openbox-*-session files by using .in's
Dana Jansens danakj@orodu.net
f1ad68d0
add some debug prints
make it C compliant.
some random cleanups
Dana Jansens danakj@orodu.net
af7280b4
fix cmd line argument parsing, it would drop some.
drop the --restart-binary argument. we're going to have to do it differently because gnome-session is stupid !
Dana Jansens danakj@orodu.net
98304406
make restacking much better, yay

no more cludge using actions to raise windows. when a window changes layer it
uses add_nonintrusive now so it won't cover the focused window. this way
fullscreen windows when they drop down, don't cover up the new focus target.

fix add_nonintrusive so that if the window is focused it gets added to the top

add back support for ConfigureRequest restacking, this time properly though,
using all the detail and sibling modes. but when windows use this to raise they
are using some old business and we're going to assume they actually want to
activate instead. this means firefox works nicely. yay.

ubuntu's firefox has been made to just stop raising entirely though. !
Dana Jansens danakj@orodu.net
6412fba7
fix positioning of the icon
Dana Jansens danakj@orodu.net
e44ec050
less redrawing
Dana Jansens danakj@orodu.net
da229587
fix hovering for corner buttons during full-max
Dana Jansens danakj@orodu.net
66afa1dc
when a window is fully maxed, make clicking on the titlebar past the edge buttons count as clicking on the buttons
Dana Jansens danakj@orodu.net
6042ba5e
update compliance
Dana Jansens danakj@orodu.net
1066f012
mem leak
Dana Jansens danakj@orodu.net
c4385c09
use pango 1.16 stuff if its there. and use the old stuff if not. also! save it in static variable so we dont have to update it over and over.
Dana Jansens danakj@orodu.net
fa67faf8
require pango 1.16
Mikael Magnusson mikachu@comhem.se
f03eef27
mem leak
Dana Jansens danakj@orodu.net
ef4bec07
mem leaks
Dana Jansens danakj@orodu.net
a97b2f75
mem leak
Dana Jansens danakj@orodu.net
36ddd0c4
dont use XKeysymToKeycode because valgrind says it is doing bad things, and we have all the data we need anyways
Dana Jansens danakj@orodu.net
b8309807
use the keysyms instead of translating. waste.
Dana Jansens danakj@orodu.net
c6eabf18
fix using uninit'd values
Dana Jansens danakj@orodu.net
a7637df1
remove debug print
Dana Jansens danakj@orodu.net
4b912ed2
possible buffer overflow?
Dana Jansens danakj@orodu.net
481e6811
fix using uninit'd memory. don't use 0 keycode
Dana Jansens danakj@orodu.net
7f262bc2
add support for _NET_REQUEST_FRAME_EXTENTS
Dana Jansens danakj@orodu.net
20eaccab
add the _NET_WM_REQUEST_FRAME_EXTENTS test
fix the copyright date
Dana Jansens danakj@orodu.net
824de237
backwards compatibility..
Dana Jansens danakj@orodu.net
03699417
only allow west/move/east for shaded windows
Mikael Magnusson mikachu@comhem.se
2d2af531
add the user time window test
Dana Jansens danakj@orodu.net
c675d946
missed a couple atoms, fix them for consistency
Dana Jansens danakj@orodu.net
eeba44c0
make the debug print compile.. :|
Dana Jansens danakj@orodu.net
f54bd60a
debug print
Dana Jansens danakj@orodu.net
85155534
support for _NET_WM_USER_TIME_WINDOW round 2 ! yay abstraction
Dana Jansens danakj@orodu.net
cdb108c7
add support for _NET_WM_USER_TIME_WINDOW. round 1 ! ding.
Dana Jansens danakj@orodu.net
f6fd0140
moveresize_start already checks if the window can move or resize
Dana Jansens danakj@orodu.net
8ae58946
resist for one key press at edges when keyboard move/resizing
Dana Jansens danakj@orodu.net
44404518
optimization
Dana Jansens danakj@orodu.net
e384e8a4
make cycling desktops not move when cancelling
Dana Jansens danakj@orodu.net
a3f8c5c4
button presses which run actions during interactive actions will cancel the action.
when you cancel switching desktops, don't go back, just stop.
Dana Jansens danakj@orodu.net
4546925b
get the mouse pointer position if it is on another screen too.
let you move/resize from the client menu if the mouse is on another screen
Dana Jansens danakj@orodu.net
65eb46bd
unused variable
Dana Jansens danakj@orodu.net
a76e91eb
update to previous changes
Dana Jansens danakj@orodu.net
24f258e6
size the frame properly on mapping
Dana Jansens danakj@orodu.net
23d4eb5f
kill the hideDisabled option
Dana Jansens danakj@orodu.net
193ca219
further work to r6205. make the disabled titlebar buttons hide if they won't move other buttons around by doing so.
Dana Jansens danakj@orodu.net
5aea44ad
punctuation
Dana Jansens danakj@orodu.net
a430d7d3
hide titlebar buttons if that won't move other buttons
Dana Jansens danakj@orodu.net
f806e7f2
typo
Dana Jansens danakj@orodu.net
c254f760
fix move and resize up
Dana Jansens danakj@orodu.net
b190fb6b
compile fix
Dana Jansens danakj@orodu.net
7869b81d
more crash fix
Dana Jansens danakj@orodu.net
f0fdba8a
fix no more crashing in the client menu.
Dana Jansens danakj@orodu.net
1361a87b
hide after iconifying
Dana Jansens danakj@orodu.net
48d70452
update the client menu when you do stuff without closing it.
but this means we can't use actions in it. oh well?
can kill the desktop notifiers now too. yay for more obvious code paths.
Dana Jansens danakj@orodu.net
c54cb4a8
typo...
Dana Jansens danakj@orodu.net
636a676c
dont ungrab/regrab when the position in the chain didnt move
Dana Jansens danakj@orodu.net
0064695d
xhtml..
Dana Jansens danakj@orodu.net
e0409cd7
make maximize work when its not-fullmax
Dana Jansens danakj@orodu.net
f017556f
maximize in the client menu is enabled when it's not full-maxed
Dana Jansens danakj@orodu.net
709ebbb6
let you move splash screens if you are so inclined
Dana Jansens danakj@orodu.net
d074b11b
let windows that cant iconify still iconify with their parents, but not non-normal windows.
let you focus windows that wouldnt normally by clicking on their decor (if they have any)
Dana Jansens danakj@orodu.net
f0e5332b
but deiconify
Dana Jansens danakj@orodu.net
370b5ba2
dont iconify if you can't
Dana Jansens danakj@orodu.net
b82ccb2c
only place dialogs above other windows
Dana Jansens danakj@orodu.net
b0f43a11
don't focus splash screens and toolbars and menus when you click on them. or enter them.
Dana Jansens danakj@orodu.net
97821223
try again. merge r6177-6182 from 3.4-working
Dana Jansens danakj@orodu.net
1e4215c5
merge r6176-6182 from 3.4-working
Dana Jansens danakj@orodu.net
aae4f66f
recalc the layer when above/below changes
Dana Jansens danakj@orodu.net
cc9ef6f2
dont check if relatives have focus. gtk apps all set application even when its from a user event
Dana Jansens danakj@orodu.net
f2e88d24
only show the debug message when relevent
Dana Jansens danakj@orodu.net
cc2ad0a8
double space in debug output
Mikael Magnusson mikachu@comhem.se
e4cffb64
redo how a window checks if it can activate.

added the bahavior that.. if an application is the source of the request, it will only move focus if something related to it has focus already (and user time checks out)
Dana Jansens danakj@orodu.net
de82c4a5
i dont like this "application window" concept. swap it with "helper" windows instead which are the inverse. helper windows are utility/menu/toolbar windows.
Dana Jansens danakj@orodu.net
ebabf394
make helper windows share desktops with all their application top level windows
Dana Jansens danakj@orodu.net
5945d2e9
ok, so, back out the last commit. owner events are passed thru so we get enter/leave notify events.
dont change frame decor from button presses during an interactive grab or
while a menu is open
Dana Jansens danakj@orodu.net
26fc54c9
why did we pass thru owner events ?? its working without that.. hum..
and now the frame buttons dont get press hilights while the menu is open
Dana Jansens danakj@orodu.net
38b12c6c
!
Dana Jansens danakj@orodu.net
def8f7e4
po updates?
Dana Jansens danakj@orodu.net
1fa08abd
um... hide the client menu when the window changes desktops. its not visible anymore (probably..) and no send to menu wont be wrong too.
Dana Jansens danakj@orodu.net
fa332cc3
try reselect the same line. its not perfect though..
Dana Jansens danakj@orodu.net
28052922
add a notifier for clients changing desktops. use it to update the send-to menu if it changes. it does this by closing/opening the menu.. thats about the best we can do tho with this menu code without huge changes
Dana Jansens danakj@orodu.net
31d76802
update some strings and the swedish translation
Mikael Magnusson mikachu@comhem.se
3237fdd9
add all files using _() and remove some that do not
Mikael Magnusson mikachu@comhem.se
e180bb03
translate "More..."
Dana Jansens danakj@orodu.net
d9154803
oops hehe. a render call in the loop for debugging was what made it slow. anyhow make it even faster by only calling render once too. yay snappiness.
Dana Jansens danakj@orodu.net
39058729
merge in r6153-6154 from the 3.4 branch
Dana Jansens danakj@orodu.net
edf29cfe
when a window becomes transient for its group, it needs to have group transients removed from itself
Dana Jansens danakj@orodu.net
e1081644
show the right icon
Dana Jansens danakj@orodu.net
37e2be2a
fix a crash after reconfigure, the desktop names were not being re-set. so now they aren't deleted since we don't want to change them over a reconfigure anyways.
Dana Jansens danakj@orodu.net
73348c28
misparsing of rgb:4/5/6 colors
Dana Jansens danakj@orodu.net
82b2f0aa
popups fixes. if the text for the popup is empty now, there wont be extra padding for it. desktop name fixes.
Dana Jansens danakj@orodu.net
15007a62
remove a debugging print
Dana Jansens danakj@orodu.net
5e8dfcfe
we werent dropping it in screen, we were dropping it in prop
Dana Jansens danakj@orodu.net
8d81088e
we were always overwriting the last desktop name
Dana Jansens danakj@orodu.net
5e0fa1b5
a variable sized alt-tab box. is this nice or slower to read? we'll see.
Dana Jansens danakj@orodu.net
0f018ece
fix a comment
Dana Jansens danakj@orodu.net
13df16a6
windows on other desktops are iconic state too
Dana Jansens danakj@orodu.net
f138bd80
this had changed for the animation stuff but it is no longer needed i think. also in show desktop mode, windows aren't iconic state they are just "behind" the desktop.
Dana Jansens danakj@orodu.net
2e6b3870
make reference to there is no session manager
Dana Jansens danakj@orodu.net
1357dacb
it looks better GNOME/Openbox etc rather than vice versa.
also update the stand-alone session file
Dana Jansens danakj@orodu.net
51338fb5
dont install the xsd's
Dana Jansens danakj@orodu.net
24c0d618
add the 'engine="box"' to the theme format, and require it to be there so we can change that in the future
Dana Jansens danakj@orodu.net
974391d3
switch to using a command line variable instead, for the restart binary, just remove it so its not given to the session manager and confuses things.
drop the reconfigure notify pid for now
Dana Jansens danakj@orodu.net
740c8af4
add .desktops for running Openbox, KDE/Openbox and GNOME/Openbox
add more .desktops for gnome and update it
add scripts to run an KDE/Openbox and GNOME/Openbox session
also add scripts for openbox-gnome and openbox-kde which are placeholders and will be replaced by real programs.
also set the name on the wm_support_win to be how we were called (which is passed in the environment) rather than just "Openbox"
add an envionment variable for wanting to be notified (SIGUSR2) when openbox reconfigures. this would be used by openbox-shell to update the root window.. if i make such a thing.. i dunno.
Dana Jansens danakj@orodu.net
f506cbce
the session properties are not set on the group leader, they are set on the "client leader" which is in the WM_CLIENT_LEADER property. also they are all set when the window maps, and not to be changed thereafter.
Dana Jansens danakj@orodu.net
b02947c0
client machine and wm_command can be set on the group leader
Dana Jansens danakj@orodu.net
9e0dc2aa
missed a newline thingie
Mikael Magnusson mikachu@comhem.se
de988813
memory leak
Dana Jansens danakj@orodu.net
f289adf6
a focus fix? konquerer would end up losign focus on close sometimes. this is the only thing i can think of tht would cause it. we will see..
Dana Jansens danakj@orodu.net
2c507a72
missed some stuff?
Dana Jansens danakj@orodu.net
7ffa091d
change the perapp settings "head" option to "monitor" i think its easier to understand.
some cleanup for perapp settings.
make monitor and desktop be specified starting at 1, like elsewhere in the config file.
Dana Jansens danakj@orodu.net
6cd5f7ea
document the per app settings in rc.xml.in. some xsd fixes. add the "default" option to all the per-app settings which is the same as not putting it in there at all.
Dana Jansens danakj@orodu.net
c51373c2
fix some comments
Dana Jansens danakj@orodu.net
531798e6
update swedish translation (bork bork bork)
Mikael Magnusson mikachu@comhem.se
58b79ed3
don't translate message saying we can't translate messages
Mikael Magnusson mikachu@comhem.se
442c1680
require gettext 0.15 for bootstrapping
Mikael Magnusson mikachu@comhem.se
8286b441
fix the popup text width, cuz the way its calculated changed
Dana Jansens danakj@orodu.net
a25c5b85
lower the screen support win at startup. this way we don't map everything over top of the kde splash screen. and other windows wont get burried under the desktop window this way too, like amarok's osd.
Dana Jansens danakj@orodu.net
3c4d73c4
save session state for old clients that dont use XSMP. more session improvements. with ksmserver we can save a few things before the clients go messing with stuff during the interactive phase.
Dana Jansens danakj@orodu.net
0fc06816
don't make the desktop fullscreen
Dana Jansens danakj@orodu.net
277db282
a bunch of thigns got squashed into this commit.. sorry..
1. soem bug fixes for window stacking
2. clarify some functions behavior with their names
3. add (untested) support for legacy fullscreen apps. i have no idea what they do on a multihead xinerama setup though and if this would help there or need some changes.
Dana Jansens danakj@orodu.net
007e62fa
fix popup sizes
Dana Jansens danakj@orodu.net
2ad26c7e
resize the desktop switch popup to as big as it needs to be for all the desktop names.
don't overrite desktop names on startup, only set them if they aren't already set. that property isn't even for us.
Dana Jansens danakj@orodu.net
d4fec1d3
fixes for resizing to strings.
Dana Jansens danakj@orodu.net
3d54ac17
some friendlier? desktop names
Dana Jansens danakj@orodu.net
2b658f3d
show the desktop in the focus popup if its not on the current desktop
Dana Jansens danakj@orodu.net
a7f65a81
add an allDesktops option to Next/PreviousWindow to alt-tab across all desktops.
Dana Jansens danakj@orodu.net
85724596
give the focus indicator a fixed width
Dana Jansens danakj@orodu.net
affc84cc
more animation frames for iconifying, if your computer can do it
Dana Jansens danakj@orodu.net
eac3a649
more restrictive to keep clients on screen in more cases
Dana Jansens danakj@orodu.net
1bf9de38
refactor all the session stuff. yay, it works properly now.
make sessions save the desktop being displayed. can we get rid of config_firstdesk now?
refactor startup a bit. focus the window that was focused when we were restarted.
have clients properly restore their session state.
add undecorated to the saved session state for clients.
Dana Jansens danakj@orodu.net
a6aaabe6
change the --config-file to --config, which works differently..
change the _OPENBOX_RC root property to _OPENBOX_CONFIG which is also different.
Dana Jansens danakj@orodu.net
37875f09
extranous )
Dana Jansens danakj@orodu.net
c1a5ad45
fix stupid apps focusing. yah.
Dana Jansens danakj@orodu.net
2f5727ff
add support for the menu.items.activedisabled.text.color theme element
Dana Jansens danakj@orodu.net
526560b8
changes to the client menu, which entries are there, and reorganizing, and renaming.
let you highlight disabled menu entries, they just aren't runable of course, and add the activedisabled theme element for these entries.
add the all desktops button picture to "All desktops" in the client menu
update the themes for the new element, and some changes to make things more readable-better contrast.

CLEARLOOKS-OLIVE is now DIFFERENT FROM THE 3.4 BRANCH SO DON'T RE-RUN THEMETOXML ON IT :( :(
yeah.. i think that is everything?
Dana Jansens danakj@orodu.net
8a99fede
prepend is faster
Dana Jansens danakj@orodu.net
68a9a4c4
some changes to ConfigureRequest, based on what I found in FVWM.
fix those stupid applications from moving accross the screen by the size of their decorations.
Dana Jansens danakj@orodu.net
97ffe20f
make focus fallback when it is given to the frame (this happens if you unmap the client but not the frame for eg in iconify animation)
Dana Jansens danakj@orodu.net
34091480
fixes to the properties and net_supported. a bunch weren't supported. better checking at runtime to make sure everything is in the atom.
Dana Jansens danakj@orodu.net
b114ec71
dont let you do mouse events on any animating window. also fix root window mouse events..
Dana Jansens danakj@orodu.net
378adaa9
yay. way way cleaner code for iconify animations. let people show/hide the frame logically and it will do everything except during animations the frame will show what it needs to for visual display.
Dana Jansens danakj@orodu.net
ac56fe16
make animation default on again. :/
Dana Jansens danakj@orodu.net
3e90c85d
oops, i left in the really long animate time heh
Dana Jansens danakj@orodu.net
b5e597f1
lots of fixes for the iconify animation. i think it should all work perfectly now ?
one change in action.c may affect bindings... THIS COULD BREAK CURRENT CONFIG FILES. ya.
so, if you used a press binding and it moved the window, no enter event will be generated for that anymore because you are holding down the button when the window moves. if you don't like that then use a click binding instead.

1
Dana Jansens danakj@orodu.net
99daa7f5
add a test for shaped windows
Dana Jansens danakj@orodu.net
3db93a6a
watch for currenttime
Dana Jansens danakj@orodu.net
48a4eafb
better iconify animation code. now it is time limited even under heavy load or whatever. yay
Dana Jansens danakj@orodu.net
cf67851d
dont retrurn a context while incoify animating
Dana Jansens danakj@orodu.net
9ee9b707
dont make two animations conflict
Dana Jansens danakj@orodu.net
492b66ea
don't animate iconify/restore by default
Mikael Magnusson mikachu@comhem.se
90fefcb7
maybe 1/5 of a second is better?
Dana Jansens danakj@orodu.net
08e42aca
animate iconify/reestore. yeah.
Dana Jansens danakj@orodu.net
fde5ca09
when restoring from show-desktop mode because a window is going to be focused, then don't restore focus how it was before showing the desktop.
Dana Jansens danakj@orodu.net
9389c7e6
more hacks to avoid races
Dana Jansens danakj@orodu.net
6d3b1748
this is so bogus.. im going to break people's config files just now.
Dana Jansens danakj@orodu.net
a56d3a12
missing parentheses
Dana Jansens danakj@orodu.net
03f861b0
let you alt-tab to utility windows when focus is already in the group
Dana Jansens danakj@orodu.net
fce7d9b2
and some more transient fixes
Dana Jansens danakj@orodu.net
1046c19f
more fixes for the transient tree
Dana Jansens danakj@orodu.net
288e37b0
lied about using some events it wasnt using
Dana Jansens danakj@orodu.net
9a9e3f6b
woa.. let you do mouse actions while in an interactive keyboard action, and let you do keyboard actions while move/resizing. yay. also you can click in windows at the same time..
Dana Jansens danakj@orodu.net
0c15af50
unused variable
Dana Jansens danakj@orodu.net
071b5ee3
fix 2 actions.
make activate on the root window work like focus.
dont allow growtoedge in vertical directions for shaded windows. mika can you please test this? :)
Dana Jansens danakj@orodu.net
27138313
missing paranthesis
Dana Jansens danakj@orodu.net
431035df
continuation of r6039 in all respects
Dana Jansens danakj@orodu.net
dbafb9ac
add test grouptran2 for testing the transient of group transient window situation
Dana Jansens danakj@orodu.net
7ff21ad7
add the maginificent client_update_transient_tree.
add a whole lot of comments ! i think like half of this commit is comments
speed up mapping windows a little! less re-updating of the transient info by far.
and... yeah fix the crash created from r6035.
Dana Jansens danakj@orodu.net
32630da2
make clicks end inetractive actions but not cancel them ! so annoying !
Dana Jansens danakj@orodu.net
15ec3581
group transients werent getting added to their parents
Dana Jansens danakj@orodu.net
d0bbfb66
ignore maximized windows in smart placement
Mikael Magnusson mikachu@comhem.se
b5161f80
revert r6029, as it didnt fix anything.
however this patch does fix the aforementioned problem.
actions need some reworking... yeah... later...
Dana Jansens danakj@orodu.net
a823e478
dont move windows away from omnpresentness when deiconifying them
Dana Jansens danakj@orodu.net
e84fb1b0
drop the DoNotPropogate thing. metacity doesn't set it at all, and i cant tell any difference in the events generated without it.
grab mouse buttons on the client window itself for client bindings. this fixes the weird "click and drag doesnt work when the window is focused" behavior ive been seeing with kdesktop. hooray !
Dana Jansens danakj@orodu.net
31e6e12c
add a grouptrancircular test for two windows both being group transients
Dana Jansens danakj@orodu.net
07af4a61
some improvements on how group transients get their transient pointers, needed after r6022.
Dana Jansens danakj@orodu.net
5fefac87
add a stacking test
Dana Jansens danakj@orodu.net
147f83fe
this is gross... i think it can go away from other changes... if openbox goes into infinite loops.. then it needs to come back !
Dana Jansens danakj@orodu.net
cdcba19c
better stacking_add_nonintrusive.
Dana Jansens danakj@orodu.net
02dda1ef
set the usertime on windows if they dont provide one, to something reasonable.
Dana Jansens danakj@orodu.net
b71f1cd6
from r6017, we no longer need to fallback in client_unmanage. yay
Dana Jansens danakj@orodu.net
00bf97ae
not much.. some debugs and a nicer if statement
Dana Jansens danakj@orodu.net
7c17296a
handle more focus events. keep track when focus goes to another screen and don't handle focus fallbacks in that case until we know focus came back to our screen.
Dana Jansens danakj@orodu.net
88d00a01
fix the new modifier key code..
Dana Jansens danakj@orodu.net
7e946f68
make the modifier key code a lot better...
1) it can handle more user cases.
2) it can handle binding more modifier keys with their keysym names like Hyper and Super. W is a shortcut for Super, cuz the windows key is generally bound to it.
3) if you change your keymap bindings and reconfigure openbox it will learn your changes.
and i dunno.. its just nice and stuff now.. you can actually read it I think..
Dana Jansens danakj@orodu.net
5784f111
add the notion of "application windows" meaning normal or dialog type windows.
let you alt-tab to non-application windows when they dont have an application window in their group
Dana Jansens danakj@orodu.net
e0e1d4ba
don't show the client menu when its for an invalid window
Dana Jansens danakj@orodu.net
53975abf
merge r6004 from trunk
Dana Jansens danakj@orodu.net
75c63eec
end interactive grabs durign reconfigure instead of leaving everything in a hung state. yay!
Dana Jansens danakj@orodu.net
d389e67d
yeah.. so much for lucky 6000
Dana Jansens danakj@orodu.net
34b89d8f
don't run 100 actions when doing interactive actions. keep only one interactive action at a time, no need to queue them up. when an action with a different function comes along, end the previous one. if its the same function though, you know it will clean up after itself so no need to save them both and call it twice identically.
Dana Jansens danakj@orodu.net
9c19d7f6
find_on_screen takes client width/height, not frame
Dana Jansens danakj@orodu.net
88ac9ee7
debug messages
Dana Jansens danakj@orodu.net
020cbeff
unsigned..
Dana Jansens danakj@orodu.net
d7108df0
when deiconifying, deiconify all transients, not just direct ones
Dana Jansens danakj@orodu.net
f2890f35
remove delay for focus/desktop popups. its fast anyway any not showing it is annoying
Dana Jansens danakj@orodu.net
ec850570
typos
Dana Jansens danakj@orodu.net
80117db6
turn on demands_attention when urgent gets set, and turn it off when urgent is removed, for those apps that think it is 1917 or something
Dana Jansens danakj@orodu.net
1d9c0e8b
skip windows which skip the taskbar.
don't skip them for cycling dock windows.
Dana Jansens danakj@orodu.net
1019e340
only ignore vertical scrolls
Mikael Magnusson mikachu@comhem.se
0fee4e91
only ignore horizontal and vertical scroll events when outside a menu frame, not all buttons above 3
Mikael Magnusson mikachu@comhem.se
ee3d1b7d
tabs
Dana Jansens danakj@orodu.net
37019bc8
capitalize the theme names
Dana Jansens danakj@orodu.net
ee527707
add the author of the clearlooks themes
Dana Jansens danakj@orodu.net
064e9971
add new Clearlooks themes. Make Clearlooks the default theme.
Dana Jansens danakj@orodu.net
a6f52b90
better menu keyboard handling.
also, when you hit a keybinding while menus are open, it will close the menus and run the binding.
Dana Jansens danakj@orodu.net
cb030c6f
make submenus open in the same direction as the top level menu
Dana Jansens danakj@orodu.net
10df03b9
only show the coords popup when both directions have a size increment
Dana Jansens danakj@orodu.net
97cbacd9
make keeping windows on screen much more clever
Dana Jansens danakj@orodu.net
0da9aa26
add a slight delay to the focus/desktop switch dialogs. so if you hit the key really fast there is no flicker. of course if you hit it fast but not fast enough there is still flicker. is this cool or does this make it feel bad? i dunno. we'll see..

make the keychain popup use the new delay popup facilities
Dana Jansens danakj@orodu.net
66d6e112
small change to the render API. RrMinsize became RrMinSize. added RrMinWidth and RrMinHeight.
make focus/desktop popups wider based on the screen size with the old size as a minimum.
left-align the desktop dialog.. i think better dialogs would be nice. and to make them hide or something when you switch desktops while switching windows etc.
Dana Jansens danakj@orodu.net
a223fa20
don't accept non-letter keys for shortcuts, they can't be shortcuts anyways and it was mis-matching
Dana Jansens danakj@orodu.net
e9d81517
big oops
Dana Jansens danakj@orodu.net
564b7279
fix drawcontent=no resizing
Dana Jansens danakj@orodu.net
cad10d8b
some old changes to grav.c test, it wasn't a valid test before.

when a window gets reconfigured, try keep it on the monitor if it was before.
Dana Jansens danakj@orodu.net
20e5555e
add mention of the optional libraries. update the debian packages you want to get.
Dana Jansens danakj@orodu.net
55d2916c
a whole lot of changes to the moving/resizing code. it was broken for non-northwest gravities. now it is not. at least, that is the idea.
Dana Jansens danakj@orodu.net
c9914821
fix this client message.
Dana Jansens danakj@orodu.net
492675fd
this test wasnt valid
Dana Jansens danakj@orodu.net
71cbd4d8
there is 5 longs, not 4
Dana Jansens danakj@orodu.net
1dfc391f
Update README.CVS and change name to README.SVN, missing debian package names for some things
Mikael Magnusson mikachu@comhem.se
e5d6a552
also add the go there entry to client list menus if the only windows on a desktop are iconified. hopefully this separator will be okay?
Mikael Magnusson mikachu@comhem.se
fc55347e
14.4 is new enought to fix that po/Makefile.in.in bug i think. at least with makefile 1.8. and its more widely available.
Dana Jansens danakj@orodu.net
4e590eba
add a separate font config for onscreendisplays
change menutitle in the rc to menuheader
fix up the xsd for fonts
Dana Jansens danakj@orodu.net
1c4c2b92
focus_client is already nulled from the fallback, and use client_focused for niceness in the future
Dana Jansens danakj@orodu.net
b673823d
have to fallback in client_unmanage, until we figure out a way to hear those focusin events without conflicting screens
Dana Jansens danakj@orodu.net
bdf28757
fix placement of top menus
Dana Jansens danakj@orodu.net
004c0d3c
almost everyone prefers the brackets. so make both menus use them now. maybe [] would be better than ()? i dont know
Dana Jansens danakj@orodu.net
26879183
place the client menu at the top left of the window when opening it with a key binding.
change how the first menus are placed. place them like other people place menus. maybe this is good, maybe it is bad, we will see..
Dana Jansens danakj@orodu.net
853a5b6b
i think xsd files are supposed to say xsd, not xs
Mikael Magnusson mikachu@comhem.se
c259b2e1
this is just wrong
Mikael Magnusson mikachu@comhem.se
53c08bab
remove xs:sequence and one more update for chroot stuffs
Mikael Magnusson mikachu@comhem.se
74ce377e
update for chroot stuffs
Mikael Magnusson mikachu@comhem.se
c4ba6e60
assume a valid utf8 char is at the shortcut position. the menu parser makes sure of this
Dana Jansens danakj@orodu.net
baa9ad14
dont parse both keybindings and actions in the same block
Dana Jansens danakj@orodu.net
1a300ab3
add the delay for killing keychains back (but it won't kill chroots)
Dana Jansens danakj@orodu.net
d9b25d48
add group transients to other transients who arent group transients. is that english? YEP
Dana Jansens danakj@orodu.net
e896709c
when windows disappear dont move focus from enter event, ever.
Dana Jansens danakj@orodu.net
a65b1d20
allow actions and chains at the same level
Dana Jansens danakj@orodu.net
8c68c9ab
fixes for new keybindings stuff/chroot/parsing
Dana Jansens danakj@orodu.net
b6d2529a
add chrooting. use chroot="true" on the chroot location
Dana Jansens danakj@orodu.net
1ee98f4a
give the chain popup a 1 second delay before it shows
Dana Jansens danakj@orodu.net
df9b2294
add a popup dialog that shows where you are in a keychain
Dana Jansens danakj@orodu.net
b5dbe857
dont go to disabled menu entries with keyboard shortcuts
fix some rendering of shortcuts
Dana Jansens danakj@orodu.net
0c41ab3c
make rendering the shortcuts much faster
Dana Jansens danakj@orodu.net
a744deee
consistency for dock layer naming
Mikael Magnusson mikachu@comhem.se
c8983c42
playing a bit with grabs
make mouse clicks cancel alt-tab and stuff if you arent dragging during the alt-tab
Dana Jansens danakj@orodu.net
05560c92
fix layer type to use above/below as in the code, not Top/Bottom
Mikael Magnusson mikachu@comhem.se
d9204860
some more border fixups
Dana Jansens danakj@orodu.net
fe4f691a
new "de" translation from SimonAW ! yay
also the code linenumbers changed
Dana Jansens danakj@orodu.net
89658cf6
the inner stuff was being placed wrong all this time.
also give the inner window a border. clicking to the left/right of the client now will be the client context rather than the frame. frame is just for grabbed buttons after all.
Dana Jansens danakj@orodu.net
9fe12048
oops, bad idea
Dana Jansens danakj@orodu.net
1bb1bb10
focus and raise when you click on the frame itself, i.e. the border to the sides of the client window
Dana Jansens danakj@orodu.net
5d545457
add the mapiconic test
Dana Jansens danakj@orodu.net
9aa42c2a
cleanups for keyboard menu shotcuts. dont let & set a shortcut from stuff like menu titles and what not, they are only for strigns oenbox provides.
Dana Jansens danakj@orodu.net
569b5aeb
update to the new strings. and add menu shortcuts for the client menu to them all
Dana Jansens danakj@orodu.net
09278045
"text" was no longer needed
Dana Jansens danakj@orodu.net
4717b987
change resize binding
Dana Jansens danakj@orodu.net
5d5be2ba
add keyboard shortcuts to the menus. you can specify the shortcut key with & even in root menu and stuff
Dana Jansens danakj@orodu.net
138d3e38
add shortcuts for text rendering. it underlines the first character in the string that matches the shortcut
Dana Jansens danakj@orodu.net
d91c67bf
g_locale_to_utf8 seems to work here and its a simpler function all, and i dont have to specify iso-8891whatever in it, so maybe its actually more portable. or maybe it breaks things. we'll see, won't we.
Dana Jansens danakj@orodu.net
f6b049cd
pointer type changed a long time ago
Dana Jansens danakj@orodu.net
fb249311
only grab keybinds on the root window, not every client window
Mikael Magnusson mikachu@comhem.se
23a43c5a
update the po files for new text strings
Dana Jansens danakj@orodu.net
7b6f90af
consistency
Dana Jansens danakj@orodu.net
04010ff0
don't split strings inside _() across lines. change some of the text messages
Dana Jansens danakj@orodu.net
1582b361
proper handling of the plate though, too
Dana Jansens danakj@orodu.net
d3ca984e
make the inner window work like the plate used to for actions
Dana Jansens danakj@orodu.net
79cd7b4b
dont cause focus change with enter events when youre already in the window
Dana Jansens danakj@orodu.net
d19c184b
set the client's user_time when it gets activated
Dana Jansens danakj@orodu.net
0116d824
don't activate and change desktops if the client's not on the current desktop and its user_time is older than the last time you changed desktops
Dana Jansens danakj@orodu.net
ca8665e3
fix a comment
Dana Jansens danakj@orodu.net
8446e50b
use client_activate to activate newly mapping windows. this means that if a window maps on another desktop and is going to be activated, you will end up on that desktop
Dana Jansens danakj@orodu.net
0f43a684
remove fourCorners from data/ as well
Mikael Magnusson mikachu@comhem.se
9e6aa531
remove the four corners option
document what these serious macros are with art!
Dana Jansens danakj@orodu.net
59a33c03
working tapered corners resize
Mikael Magnusson mikachu@comhem.se
5606209b
print the corner out that was chosen
Dana Jansens danakj@orodu.net
045ba2e0
what I have so far
Mikael Magnusson mikachu@comhem.se
f2018280
this doesn't work yet but i don't want to screw it up accidentally
Mikael Magnusson mikachu@comhem.se
ac241a82
set the default icon onto windows which don't provide one
Dana Jansens danakj@orodu.net
d2f7ad9a
place randomly inside the area available. if its too big, put the top left corner inside still
Dana Jansens danakj@orodu.net
0771964c
set the max settings properly, was setting max_vert for both.
make sure the desktop property is set when per-app settings change it
Dana Jansens danakj@orodu.net
c1a124fc
preliminary change to the 9 corners thing, to add a recursive 9 corners inside the middle one
Dana Jansens danakj@orodu.net
ff59630f
only moved half a sentence
Mikael Magnusson mikachu@comhem.se
8740c305
the check for if the window is being resized is only needed for syncing
Dana Jansens danakj@orodu.net
e86900bd
fix resizing when drawContents is off, and I think an ifdef was a bit too high up
Mikael Magnusson mikachu@comhem.se
7854818a
add debug messages saying if an extension is missing on the server
Dana Jansens danakj@orodu.net
fefbf387
remove the stick atom, since openbox does not use stickiness
Dana Jansens danakj@orodu.net
bfdd4fd1
update the compliance file
Dana Jansens danakj@orodu.net
4996b85f

        
Dana Jansens danakj@orodu.net
8cf55537
check for the sync extension
Dana Jansens danakj@orodu.net
3d71bfd2
add check for the Sync extension
Dana Jansens danakj@orodu.net
6e83a82e
the focus_client = NULL got moved by mistake.
Dana Jansens danakj@orodu.net
c6fe4f8d
focus_order_remove is called in a few places. move the check for unsetting focus_client into client_unmanage.
Dana Jansens danakj@orodu.net
ad852b6b
add support for _NET_WM_SYNC_REQUEST
Dana Jansens danakj@orodu.net
cf3427b2
add these cflags even though they are empty right now all the time
Dana Jansens danakj@orodu.net
7ae95e46
save windows' colormaps rather than querying them from the server every time you focus it
Dana Jansens danakj@orodu.net
3595da62
never mind on the hint idea, it was fun while it lasted. at least i know it is there now.
Dana Jansens danakj@orodu.net
3a91527f
hm, that was a silly error. the propogate mask shouldnt get the Hint thing in it.
Dana Jansens danakj@orodu.net
a806f052
missing a thinger
Dana Jansens danakj@orodu.net
a488360f
add the PointerMotionHintMask everywhere, we dont need every mouse event
Dana Jansens danakj@orodu.net
3993847d
set the eventmask on frame windows again..
Dana Jansens danakj@orodu.net
268c87ed
in shrinking resize the frame before the client
Dana Jansens danakj@orodu.net
5316bc6c
1. remove some old event handling that was not used at all. yay less bandwidth.
2. make the client padding color show during resizes with drawContents off
Dana Jansens danakj@orodu.net
1a005d72
place transients without a parent in the middle of the screen
dont use non-normal windows as parents
Dana Jansens danakj@orodu.net
d0013c08
add a window between the frame and the plate for drawing the client border. this way when the client window disappears, nothing gets rendered underneath it.
Dana Jansens danakj@orodu.net
b4eecc51
focus_client was becoming invalid if the focused client was unmanaged.
Dana Jansens danakj@orodu.net
c97c6342
add a default action for cycling panels
Dana Jansens danakj@orodu.net
fa72e99f
add the panels option, which is for NextWindow/PreviousWindow and the directional focus actions
Dana Jansens danakj@orodu.net
9f11e2af
cycling between dock windows now possible with the <panels>yes</panels> option
Dana Jansens danakj@orodu.net
33e01783
set the default config tool for gnome to be obconf2
Dana Jansens danakj@orodu.net
f999797f
leavenotify events messing up delayed focus
Dana Jansens danakj@orodu.net
f507432c
error in the new error message code
Dana Jansens danakj@orodu.net
865ef738
fix warning
Dana Jansens danakj@orodu.net
5a68cdad
extra comma
Dana Jansens danakj@orodu.net
b22cdc9f
line up the top coords box nicer
Dana Jansens danakj@orodu.net
2f74990c
use automake 1.9
Dana Jansens danakj@orodu.net
9e7a240d
include the header that has gethostname
Mikael Magnusson mikachu@comhem.se
141c249b
show the hostname of forwarded clients in the titlebar
Mikael Magnusson mikachu@comhem.se
fdec9c5a
exit if any of the commands fail
Dana Jansens danakj@orodu.net
7ac8c550
upgrade gettext
Dana Jansens danakj@orodu.net
aa0e04a4
add positioned test
Dana Jansens danakj@orodu.net
ec4f685b
add the tests to the dist tarball
Dana Jansens danakj@orodu.net
08290335
new translation strings
Dana Jansens danakj@orodu.net
2442cdfd
1) translate all of openbox's output
2) update copyrights.
3) make release. ok that part not quite yet.
Dana Jansens danakj@orodu.net
ea088eb8
remove an unused variable
Dana Jansens danakj@orodu.net
a8535d49
only show debug messages if you enable it on command line and remove extra newline
Dana Jansens danakj@orodu.net
eb18f502
fallback to desktops properly
Dana Jansens danakj@orodu.net
a8a93d7d
put the separator back in the spit up client list menu
Dana Jansens danakj@orodu.net
06943a10
back out r5812. you do want that there
Dana Jansens danakj@orodu.net
a82c1efe
wasteful syncing
Dana Jansens danakj@orodu.net
58dc8697
remove windows from the hash on hide, dont readd them again!
Dana Jansens danakj@orodu.net
66c35076
unused variable "icons"
Mikael Magnusson mikachu@comhem.se
7e0d660b
stop listening to events on clients that are being unmanaged before generating new events
Dana Jansens danakj@orodu.net
806655e7
you cant grab substructureredirect on the plate. why was this even here?
Dana Jansens danakj@orodu.net
546ced81
add a test for show-hide-show of a window really quickly
Dana Jansens danakj@orodu.net
86b7f4e5
use event_ignore_queued_enters
Dana Jansens danakj@orodu.net
4543c176
when windows reverttoparent, we will get a notifynonlinear when the frame closes
Dana Jansens danakj@orodu.net
56d42ce6
use focusouts from unmanaged windows (windows which have just closed)
Dana Jansens danakj@orodu.net
6d666b0a
add a debug message
Dana Jansens danakj@orodu.net
f37382b6
focus properly on desktop change
Dana Jansens danakj@orodu.net
5f428bde
missing a header
Dana Jansens danakj@orodu.net
3265ea9a
when focusing nothing, make sure focus_client knows that nothing is focused
Dana Jansens danakj@orodu.net
afd88015
focusin to the root window happens on both monitors when a focused window unmaps... boo...
Dana Jansens danakj@orodu.net
eb1cd9cc
ignore some focus events that shouldnt be reacted to
Dana Jansens danakj@orodu.net
dc43b74a

        
Dana Jansens danakj@orodu.net
911ad763
a) set the focus client before calculating its layer
b) cleanup in focus.c
Dana Jansens danakj@orodu.net
55b5b828
FocusOut events come after UnmapNotify, so we don't need to worry about focusing an invalid window
Dana Jansens danakj@orodu.net
bfb800c0
a) remove focus_hilite, it is not needed and complicated things
b) set focus_client to null when nothing is actually focused, but still allow
   focus to go to black holes
c) allow the focus action to be performed without a client, this will focus
   the openbox instance (i.e. the screen in multihead setups)

big thanks to syscrash for the ideas on how to go about this
Dana Jansens danakj@orodu.net
7d1226c5
xflush after changing the focus decorations so it gets shown faster
Dana Jansens danakj@orodu.net
a95b5244
better debugging symbols
Dana Jansens danakj@orodu.net
7c1fb96b
don't compare client pointers with random numbers
Mikael Magnusson mikachu@comhem.se
1685e652
remove debug message
Dana Jansens danakj@orodu.net
65f29b24
hilite the focus target before xsyncing in the ignore enter stuff, so less flicker
Dana Jansens danakj@orodu.net
037654f3
use ignore enters instead of removing them from the queue
Dana Jansens danakj@orodu.net
d6e49acf
dont need to ignore mouse events during a keyboard grab, they go to the grab-window anyways
use our built in grab_keyboard
Dana Jansens danakj@orodu.net
27773e1c
don't grab the pointer during interactive events. this allows you to alt-tab during a dnd.
Dana Jansens danakj@orodu.net
4c672be2
remove grab_pointer_window, nothing used it
Dana Jansens danakj@orodu.net
48f23720
start on the current desktop when a wm was already running
Dana Jansens danakj@orodu.net
ff43372d
only pass thru events when the menu is open, don't for other stuff
Dana Jansens danakj@orodu.net
a70633d4
eat enter events after unmanaging a window
change how focus falls back for windows being unmanaged, don't fall back immediately, instead wait for the focus out event and use it (break stuff maybe! yay)
Dana Jansens danakj@orodu.net
63f1b123
don't fallback to the desktop again when leaving show-desktop-mode
Dana Jansens danakj@orodu.net
6e7abeb8
engrish
Dana Jansens danakj@orodu.net
939fbcfd
add a comparitor to timers. use this in event.c to let you remove timers from the queue selectively for delayed focus
Dana Jansens danakj@orodu.net
8612fcfb
better matching of the menu titles/separators to the theme
Dana Jansens danakj@orodu.net
5a3a7668
highlight for motion events in the menu too, this is useful when the enter gets ignored cuz the mouse was already inside it
Dana Jansens danakj@orodu.net
51c3c8c3
give labeled separators borders
Dana Jansens danakj@orodu.net
73b490f6
stop delayed focusing when falling back
Dana Jansens danakj@orodu.net
57ffea11
fix segfaults
Dana Jansens danakj@orodu.net
98b021ff
properly handle clients disappearing during delayed focus on them
Dana Jansens danakj@orodu.net
5009498d
use the timestamp from the original enter when delay-focusing a window
Dana Jansens danakj@orodu.net
a5caab95
ignore crossing events while an interactive grab is going on.
when a menu is open, use the crossing events for the menu only.
Dana Jansens danakj@orodu.net
05d1a86e
fix a segfault
Dana Jansens danakj@orodu.net
b6897feb
better event handling for menus
Dana Jansens danakj@orodu.net
957963e2
1) get rid of menu titles
2) let separators have labels, when they have a label, then they will appear like a menu title used to

so if you want a menu title, you use a separator in the menu itself at the top

more style work may be needed
Dana Jansens danakj@orodu.net
854b2ae6
grab enter/leave events during mouse grabs and pass events along still during the grab. this is needed to catch enter/leave events in the menus. it seems to not be weird with apps.
Dana Jansens danakj@orodu.net
8644a47c
handle enter/leave events in the menu
Dana Jansens danakj@orodu.net
21342619
look in sysconfdir before looking in /etc/xdg. this kinda violates the spec, i think, but i don't see any other proper alternative really.
Dana Jansens danakj@orodu.net
da04050c
dont do the same thing 100 times
Dana Jansens danakj@orodu.net
78d72500
add --debug-focus

add --config-file: to specify a config file to use.

set OPENBOX_RC property on the root window containing the path of the RC file being the full path to the RC file being used by openbox
Dana Jansens danakj@orodu.net
8a972b38
ignore BadMatch errors that can't be avoided
Dana Jansens danakj@orodu.net
0e9bd66b
fixes for transients

1) don't count non-normal windows as parents when placing/stacking transients
2) in stacking.c, when a window is transient for the group but has no parents, then don't loop forever looking for its parents
Dana Jansens danakj@orodu.net
3f2d342d
hide focus debugging messages
Dana Jansens danakj@orodu.net
d713bdf4
remove the client_time_heap thing. actually its better to just use the user_time on the currently focused window I think. that will handle panels and things too.
Dana Jansens danakj@orodu.net
90cd9c62
get rid of global client_last_user_time variable.

add ObClientTimeHeap. This is a max-heap of the clients based on their user times. this only includes the clients whose user time is not CurrentTime. the maximum from this heap replaces the client_last_user_time variable, so that you always have the latest time, not the last time that was changed.

hoefully it works, so far it seems to.
Dana Jansens danakj@orodu.net
f18d9a95
don't allow comparison with timestamps to CurrentTime. it just doesn't make any sense.

(also client interface changed, that is in the next commit)
Dana Jansens danakj@orodu.net
34196a1e
make stacking_add_nonintrusive work when there is only 1 other window
Dana Jansens danakj@orodu.net
7f11e15b
fix undermouse placement
Dana Jansens danakj@orodu.net
64dda237
saved session information overrides per-app settings, because that's how you set it up in the session
Dana Jansens danakj@orodu.net
33c469f4
set the desktop from per-app-settings properly, i think.
also fix a compiler warning.
Dana Jansens danakj@orodu.net
7a1a6da8
better synthetic configurenotify handling. in particular..

http://bugzilla.gnome.org/show_bug.cgi?id=399552
on unmap, when we move the client window, we need to send a synthetic configurenotify.
Dana Jansens danakj@orodu.net
ceaf23b6
set event_curtime if we're going to use it only
Dana Jansens danakj@orodu.net
fda5ddfe
excessive debug printing.. :)
Dana Jansens danakj@orodu.net
c03c0841
don't fallback when a window is hidden right away, it's redundant, we'll get a focusout for the window after the unmapnotify anyways.

show new windows when switching desktops before hiding the old windows.
Dana Jansens danakj@orodu.net
7059cde1
http://mail.gnome.org/archives/wm-spec-list/2006-May/msg00000.html

Send ConfigureNotify events when a window is mapped at the position it has specified. When we add decorations, the window gets moved in reference to the root window, so it needs to be told.
Dana Jansens danakj@orodu.net
8d7cc259
the centered menus thing got annoying :|
Dana Jansens danakj@orodu.net
e785e18a
you didn't say no
Mikael Magnusson mikachu@comhem.se
e6e9ab92
unset DESKTOP_STARTUP_ID at startup so we don't pass it on unknowingly.
Dana Jansens danakj@orodu.net
41c6b048
delete the SN env var after launching a program
Mikael Magnusson mikachu@comhem.se
0eaf2d15
fully maximize windows all the time. size increments are preferred sizes not required ones.

-- http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.2.3
Dana Jansens danakj@orodu.net
00ddaf06
can't use (unsigned)-1 for a max time, because timestamps wraparound and stuff. user the last_user_time as a default for new windows instead.
Dana Jansens danakj@orodu.net
6372bd7c
use CurrentTime constant
Dana Jansens danakj@orodu.net
2876f220
use CurrentTime when time gets moved backwards
Dana Jansens danakj@orodu.net
58be283e
copy paste error, spotted by tilman ftw
Mikael Magnusson mikachu@comhem.se
fc5b9a56
fix compile without startup notification after r5711
Mikael Magnusson mikachu@comhem.se
f746a497
use setenv to set up the DESKTOP_STARTUP_ID when launching programs.

before, if DESKTOP_STARTUP_ID was set in openbox, it would mess up adding it to the child's environment because it would appear twice. so now it will only appear once for the child always.
Dana Jansens danakj@orodu.net
3ad050f7
proper logic for event_time_after, and wraparounds and such
Dana Jansens danakj@orodu.net
bd272698
more updates for toggled states. also updating the theme files.
Dana Jansens danakj@orodu.net
5fb30e44
add toggled-pressed and toggled-hover button states to themes. also rename toggled to be toggled-unpressed
Dana Jansens danakj@orodu.net
33cc5724
drop some wasted client_validates.
Dana Jansens danakj@orodu.net
d20f84f5
more handling time wraparounds
Dana Jansens danakj@orodu.net
339d7670
handle time wrapping around.
Dana Jansens danakj@orodu.net
0ec2282e
make sure the ungrab happens after the grab. fracking X server doesn't have a monatomic clock..
Dana Jansens danakj@orodu.net
35c8d482
move xml themes to 3.5
Mikael Magnusson mikachu@comhem.se
3278fdae
open the menu with the mouse cursor just outside the top item
Dana Jansens danakj@orodu.net
cbbda7a3
proper logic for using the menu overlap with middle centered submenus.

always center top level menus horizontally under the cursor. why is this not normal behavior..?
Dana Jansens danakj@orodu.net
ee58f96a
better placement for top level menus under the mouse cursor. middle placement is not used for this now. it was behaving differently than submenus so i'd like to have some consistency
Dana Jansens danakj@orodu.net
afc01515
better vertical centering for when "middle" placement is enabled for menus
Dana Jansens danakj@orodu.net
ede50bed
return the old cursor. oops
Dana Jansens danakj@orodu.net
03be1f8d
add --disable-xcursor, if you don't want to use it.

fix help text for --disable-startup-notification
Dana Jansens danakj@orodu.net
c567f593
add support for the X Cursor library. this means a nicer cursor for startup notification.
Dana Jansens danakj@orodu.net
59c5d1cc
set up the menu's parent and children stuff before rendering it
Dana Jansens danakj@orodu.net
e6c82786
don't menu menus jump around at all anymore. open them on screen in the first place
Dana Jansens danakj@orodu.net
2db6cf51
xml tags are case sensitive
Dana Jansens danakj@orodu.net
d6c45db8
bad idea.. more thought is needed..
Dana Jansens danakj@orodu.net
20f4d7fd
when opening the client menu with a key, open it at the window's top left corner. is this clever or dumb?
Dana Jansens danakj@orodu.net
eb2a0feb
watch for reverttoparent reverting to the root window, which will create a DetailInferior focusin event on root.

adding some debug messages also which I am using..
Dana Jansens danakj@orodu.net
4aa8d64f
set the event_curtime when running an action to the time in the event used to run the action
Dana Jansens danakj@orodu.net
d17fe2d2
there is no themetoxml.h
Dana Jansens danakj@orodu.net
c4732aee

        
Dana Jansens danakj@orodu.net
e77353f0
clean up the title getting function
Dana Jansens danakj@orodu.net
4c2b16e7
kill window title numbering...

probably it was a dumb idea all along. you're not picking the numbers yourself and you're probably not remembering which window they apply to and the focus indicator thinger is much more clever than numbers
Dana Jansens danakj@orodu.net
af47a406
check for minimum required versions of glib and pango
Mikael Magnusson mikachu@comhem.se
4ad3961e
accidentally didn't include client_list_menu.h in dist
Mikael Magnusson mikachu@comhem.se
ba161e96
launch things on the desktop where you ran it.

also: kde apps move themselves to the current desktop when they open. what the heck?
Dana Jansens danakj@orodu.net
c4446beb
ignore focus events on root that we don't care about
Dana Jansens danakj@orodu.net
fd382fcc
allow focus to disappear to black holes. (that is, windows not managed by openbox). the black hole may just be a window on another monitor. keyboard events aren't going to work in this scenario, though.
Dana Jansens danakj@orodu.net
e227ac84
we're only getting one unmap notify now, with the new event mask on the root window. we're not getting one for the frame window anymore.
Dana Jansens danakj@orodu.net
fb3d2033
not passing timestamps sometimes and not others. set event_curtime when client messages provide a timestamp.
Dana Jansens danakj@orodu.net
7db7d62c
free unused path strings.
always pass in malloc'd memory, cuz it is going to be freed later.
Dana Jansens danakj@orodu.net
0ed1b678
memory leak in xinerama setup code
Dana Jansens danakj@orodu.net
841a83fa
add -Wwrite-strings in debug mode
Dana Jansens danakj@orodu.net
3678f8df
use const char*'s when we should be
Dana Jansens danakj@orodu.net
5fa443ef
oops, logic error
Dana Jansens danakj@orodu.net
50f631b9
mention when the logicalx/y is actually returned
Dana Jansens danakj@orodu.net
73dac2b9
fix for bug introduced in revision 5643. logical size is supposed to be updated only when the window is resized.
Dana Jansens danakj@orodu.net
f658ec96
animate presses on toggled titlebar buttons
Dana Jansens danakj@orodu.net
a326d98a

        
Dana Jansens danakj@orodu.net
28182590
update COMPLIANCE
Dana Jansens danakj@orodu.net
6772ec19
only refocus the omnipresent window if its allowed
Dana Jansens danakj@orodu.net
34f5bbe4
clearer engrish
Dana Jansens danakj@orodu.net
091e296a
when an omnipresent window has focus and you switch desktops, keep it focused
Dana Jansens danakj@orodu.net
83d987d9
don't fall back focus to omnipresent windows
Dana Jansens danakj@orodu.net
c80b496b
make focus_order into one long list instead of having one per desktop. this actually fixes bugs with omnipresent windows and adding desktops. it is just overall a little nicer i think.

also this is not tested. sorry if it breaks everything.
Dana Jansens danakj@orodu.net
496c769f
syscrash changed his theme up
Dana Jansens danakj@orodu.net
a9175a8a
save the focus_client when falling back, so we don't actually refocus it when we don't want to.
Dana Jansens danakj@orodu.net
adc56758
oh, 2 things in this commit..

1) THIS ONE IS IMPORTANT: don't set client->iconfied if the window is not actually going to be allowed to iconify. heh!

2) changes to focus fallback to avoid crashing and to avoid losing focus all at the same time.
Dana Jansens danakj@orodu.net
768ce7b4
move stuff around in client_unmanage to maybe make closing windows a bit nicer
Mikael Magnusson mikachu@comhem.se
5f7ffb00
refix for managing iconic windows, without having the frame map which caused flashing.

instead, keep track of if the frame has been mapped yet. if it hasn't and it is getting hidden, then make sure to unmap the child.
Dana Jansens danakj@orodu.net
e2521f5c
a) fix resizerelative moving windows when they reach their minimum size do this by...
b) adding a function to let you see what size/position a window will be given when you actually try move/resize it to some given values. (client_try_configure)
Dana Jansens danakj@orodu.net
4e19d841
add support for 8bit TrueColor visuals. Who knew these existed. Fixes vnc's 8bit mode. (bug 2878)
Dana Jansens danakj@orodu.net
2feefc2c
update german translation
Mikael Magnusson mikachu@comhem.se
2d03d095
make frame and client window in a consistant mapped state when the window is grabbed
Dana Jansens danakj@orodu.net
59464872
less wasted updates of wm_state
Dana Jansens danakj@orodu.net
ebbcacae
focus fallback
Mikael Magnusson mikachu@comhem.se
53109b75
comparing strings to random locations in memory is probably not what we wanted to do
Mikael Magnusson mikachu@comhem.se
a9910e52
always unfocus the window when it disappears, no special cases.. (except unmanage)
Dana Jansens danakj@orodu.net
270a5b25
set IconicState on windows that are not visible always. this means windows on other desktops too.

as well, this turned out to be a nice cleanup of the wmstate code.

regards to the random dude in #openbox complaining about the ICCCM to make me think to look this up and see if openbox was compliant.
Dana Jansens danakj@orodu.net
7f58bd9e
save and restore pre-maximized/fullscreen sizes properly

much cleanup on how per-app settings are applied to new mapping windows. maybe i broke it? but it'll be much quicker now, and it's consistant with the rest of the code, so hooray for that. pls let me know if i broke any of it :( hee..
Dana Jansens danakj@orodu.net
b2e08c0a
remove event_lastttime. use CurrentTime when handling events without a timestamp in them
Dana Jansens danakj@orodu.net
d34741f5
?
Dana Jansens danakj@orodu.net
d47c6a09
fallback is still getting x errors. instead, fallback when the client iconifies, and don't fallback when nothing has focus, send it to where we can control things though.
Dana Jansens danakj@orodu.net
dc41c78a
focusins can occur on windows that aren't clients when there's latency involved. wm_torture proved this point. fallback in that situation. also fallback when nothing is focused.
Dana Jansens danakj@orodu.net
85a1a0cf
don't validate inside client_focus. instead, validate before you call it!
Dana Jansens danakj@orodu.net
6b7cc88c
validate clients before trying to focus them in fallback

also validate before trying to set the focus on a window

this should fix those crashes, and should just be better over all
Dana Jansens danakj@orodu.net
3a33642b
update focus_hilite appropriately for when changing desktops
Dana Jansens danakj@orodu.net
c018e212
i rewrote handling of focus events. this is pretty much based on blackbox's current form, as well as reading the xlib programming manual at:
http://tronche.com/gui/x/xlib/events/input-focus/normal-and-grabbed.html

this may break for people. that'd be nice to hear about, so it can be fixed. but hopefully this is more robust. it sure is a lot more simple.
Dana Jansens danakj@orodu.net
310ea89e
another silly bug. i rule the school.
Dana Jansens danakj@orodu.net
9ca05545
that was a silly mistake. fullscreen windows amongst others will not crash now :D
Dana Jansens danakj@orodu.net
52176d14
roll back focus fallback change, so it behaves well with new stacking
Dana Jansens danakj@orodu.net
d113b9f3
ok this is from prevous changes but has a bunch of debug stuff in it
Dana Jansens danakj@orodu.net
2244bc03
remove the group option for the restacking commands in rc.xml, cuz groups are clever now
Dana Jansens danakj@orodu.net
d33f44cd
Rewrite the stacking code. It's a lot faster now, I should think. It's def a more clever algorithm. It deals with group transients much better.

On that note, utility and menu and toolbar window types are now treated as group transients in terms of stacking and focus and such.
Dana Jansens danakj@orodu.net
bf247215
no separator at the start of the menu
Mikael Magnusson mikachu@comhem.se
baa4a878
make the combined client list menu not suck quite as bad
Mikael Magnusson mikachu@comhem.se
fa122a30
update copyright notice in --version output
Mikael Magnusson mikachu@comhem.se
e2b3a32a
We were grabbing SubstructureNotifyMask on the root window. I don't know why.. It meant that we got unmap notifies for windows we weren't even managing and stuff. It ended up breaking VLC when it mapped-unmapped-mapped a window. We grab StructureNotify for all the clients, so I am not sure why this was ever there.
Dana Jansens danakj@orodu.net
cbfa2775
extra braces.. why does the world hate me so?
Dana Jansens danakj@orodu.net
d9601bc1
.. i am pretending to be mika :D :D ok this time for real
Dana Jansens danakj@orodu.net
d98a6183
oh.. wasted verbosity.. *strums guitar*
Dana Jansens danakj@orodu.net
e714fa73
rewrite the focus steal prevention code to clean it up hopefully a bit. also don't steal focus from globally active focus model clients
Dana Jansens danakj@orodu.net
6714a0e2
Honor transient_for=Root, even thought this is crap and breaks some KDE stuff. Also include a big comment as to why this is suck.
Dana Jansens danakj@orodu.net
616cb606
set micro_version correctly in configure.ac
Mikael Magnusson mikachu@comhem.se
89555476
make smart placement more smart with multiple monitors. hopefully?
Dana Jansens danakj@orodu.net
d6382727
change version to 3.4, i think that will be next release number? and reset the libraries binary ages stuff, cuz they aren't backwards compatible with the last release.
Dana Jansens danakj@orodu.net
7229bea3
client_configure_full is trying to move a window, it shouldn't determine the window's monitor from its current position, but from the new position instead. move client_monitor()'s logic into screen, more generically, and let client_configure_full use that
Dana Jansens danakj@orodu.net
fe317164
fallback to transient parents properly
Dana Jansens danakj@orodu.net
62a39c4c
stacking has been made more reliable with groups and group transients.

this was a pretty invasive change in client.c though, so it may break things?

it did expose some bugginess in client_calc_layer, which is now better than ever, hopefully there isn't more to be found.
Dana Jansens danakj@orodu.net
1ff3c1dd
note things in CHANGELOG and mark xml theme entry as maybe
Mikael Magnusson mikachu@comhem.se
c5d2a9bc
allow setting startupnotify per execute action, default to disabled. use like this: <action name="execute"><execute>program</execute><startupnotify><enabled>true</enabled><name>something descriptive</name><icon>name of an icon in the icon theme to show</icon></startupnotify</action>
Mikael Magnusson mikachu@comhem.se
923e0edf
look for more things to cancel startup notification on, from the wmclass. if the wmclass is related to the name or the binary name, then it will cancel it also. this is so that oldschool stuff doesn't thing its opening forever.
Dana Jansens danakj@orodu.net
2c98204d
make _NET_ACTIVE_WINDOW requests look at the timestamp when the user didn't
request it
Dana Jansens danakj@orodu.net
6a61f0c4
fix non instrusive stacking adds, they didnt account for layers at all
Dana Jansens danakj@orodu.net
aaabb13c
add _NET_WM_FULL_PLACEMENT, cuz openbox does do placement, even tho it can be sucky right now, lol. but it's good for dialogs and stuff, which is what this is talking about.

also add _NET_WM_MOVERESIZE_CANCEL.
Dana Jansens danakj@orodu.net
19b48005
wow... this is a big commit...

all related to _NET_WM_USER_TIME and focus stealing prevention

a) add launcher startup notification. this means when you run something from
   the openbox menu or a key/mouse binding, that startup notification will go
   on in openbox and other applications like your panel or something
b) add the _NET_WM_USER_TIME property for windows
c) use the _NET_WM_USER_TIME data and startup notification to prevent focus
   stealing.
d) cookie party !! ! all are invited.
e) oh yeah, and pass around timestamps for a lot more things. like, when you
   run an action, send the timestamp for the event that is running the action.
   this is important for startup notification. this also affects menus.
f) yes.. cookies..

would it be a good idea to disable focus stealing prevention if a window takes
too long to load? i mean.. maybe after a certain length of time, a user can't be
expected to not do anything in any other windows, but would they still want the
new application to focus then? HMM. open question i guess..
Dana Jansens danakj@orodu.net
9d6e3907
add the _NET_WM_USER_TIME property support. When focus_new is enabled, don't focus new windows if the user is doing something in another window since it launched. If we can tell when it launched, either from the _NET_WM_USER_TIME or from startup notification.
Dana Jansens danakj@orodu.net
bd19fd06
remove the kde icon hint, they use the EWMH icon now
Dana Jansens danakj@orodu.net
35ab1264
remove the kde frame extents property, add the _NET_FRAME_EXTENTS property in its stead
Dana Jansens danakj@orodu.net
8c9b2e8f
>:| I put old code back somehow.. thanks mika. hooray peer review :)
Dana Jansens danakj@orodu.net
f6265e82
1) Remove support for the Urgent hint. This will no longer do anything within Openbox
2) Add support for _NET_WM_STATE_DEMANDS_ATTENTION. Yay!
Dana Jansens danakj@orodu.net
ccebe3c4
skip windows in alt-tab that have SKIP_PAGER set. perhaps this is a better metric.. also this is for mikachu <3
Dana Jansens danakj@orodu.net
42c6cdd0
people have started using SKIP_TASKBAR, and it's not for stuff you don't want to be able to alt-tab to. so don't put that in here anymore.
Dana Jansens danakj@orodu.net
ec67e965
make startup notification a little more robust. obconf is just broken, between
the application and it's .desktop.
Dana Jansens danakj@orodu.net
3f7ad895
let windows move themselves off the screen somewhat, but don't let them resize themselves off the screen (unless they're moving too)
Dana Jansens danakj@orodu.net
49dd40d9
no longer honor transient_for = None or Root. it violates the ICCCM and is causing problems. there are proper ways to make group transient windows with the EWMH.
Dana Jansens danakj@orodu.net
1fdb434f
add grouptran test, which will actually not make valid transient windows

add missing include to title.c
Dana Jansens danakj@orodu.net
fe0e8701
Update with all important changes
Mikael Magnusson mikachu@comhem.se
ec172ab4
some more stuff
Mikael Magnusson mikachu@comhem.se
84f97ecd
at least the CHANGELOG file gets some updates
Mikael Magnusson mikachu@comhem.se
1897c9dd
yet another pointless commit to test post-commit hook
Mikael Magnusson mikachu@comhem.se
c7b34a5f
another pointless commit to test post-commit hook
Mikael Magnusson mikachu@comhem.se
f16087ed
pointless commit to test post-commit hook
Mikael Magnusson mikachu@comhem.se
4fa19b59
more cleverness for window placing.

make sure its 10% on the screen in some direction always..

but if the application is placing itself, make sure its on the screen entirely,
and also put it entirely on one monitor if you have xinerama.

if it's bigger than the monitor's space though, it won't do anything with it..
Dana Jansens danakj@orodu.net
ae246097
let you put windows with the titlebar off screen.. for mikachu.

but also don't let applications put themselves under the struts!
Dana Jansens danakj@orodu.net
96abc207
one more fix.. oops :)
Dana Jansens danakj@orodu.net
976eb4c5
fix rendering of the new top corner resize handles
Dana Jansens danakj@orodu.net
56307d60
a) remove the top_grip_height business from the theme
b) make the focus indicator based on border width and padding, not the handle height
c) add 2 more windows for the top corners for resizing, much easier to find them now. also base their width on padding, not the handle height or other weird things
Dana Jansens danakj@orodu.net
b5af5ad3
was using paddingx for y-things, oops
Dana Jansens danakj@orodu.net
b37a8b7e
Fix possible crashingness, from last commit.
Dana Jansens danakj@orodu.net
a7965129
Split RrPaint to RrPaint and RrPaintPixmap, so you can paint things other than windows. If you don't free the returned pixmap though, you will be leaking memory in the server!
Dana Jansens danakj@orodu.net
efedb4df
Be more lenient with errors in xml file. If there are errors, try to keep loading it anyways.
Dana Jansens danakj@orodu.net
1cbd7960
don't install the old themeupdate.py file
Dana Jansens danakj@orodu.net
c18edc32
update my theme
Mikael Magnusson mikachu@comhem.se
a79ff2cd
put artists original comments back into the themes after regenerating them
Dana Jansens danakj@orodu.net
d4977a6d
missed updating this one
Dana Jansens danakj@orodu.net
80207fa3
proper shadow tint values
Dana Jansens danakj@orodu.net
82be671c
scale the shadows up, they were /100 before, now they are /255
Dana Jansens danakj@orodu.net
afac57ad
theme converter had a bug! menu item font is parsed now.
Dana Jansens danakj@orodu.net
b31189b9
was looking for menu items font in the wrong place
Dana Jansens danakj@orodu.net
358c203d
follow new xsd
Dana Jansens danakj@orodu.net
45087efb
point and padding became redundant.. do remove padding type from xsd and use point type. also fix bug in theme parser where it was looking for wrong one.
Dana Jansens danakj@orodu.net
88204502
don't use handle_height for focus indicators, use top_grip_height. is this better?
Dana Jansens danakj@orodu.net
ec304c9e
scary commit..but here goes.

YOUR THEMES ARE NOW OFFICIALLY BROKEN.

Openbox has just moved it's theme format to an XML based one. The details of
this format can be found in data/themerc.xsd (and http://openbox.org/themerc.xsd

ALSO! This is very good and important and stuff! In the tools directory you
will find THEMETOXML ! This tool takes a themerc on stdin, and spits out
the same theme in theme.xml format. So this is all you need to do to update
your themes.

PLEASE NOTE: This themetoxml does _not_ install itself anywhere. It simply
builds and then lives out in its tools/themetoxml directory, and that's it. So
if you want to use it, that is where to find it.

In moving to the new XML format, a number of additions/changes to the theme
engine have been made. Themetoxml takes these into account and will set all
the new things appropriately to make your theme look the same as it always has.

New additions include..
* padding now has an horizontal and vertical component, instead of being one number
* menus can have different borders than windows (color and size)
* menu offset can now be negative. it's a little weird, but someone will want it no doubt
* fonts are no longer controled by the theme at all, however font shadowing is, and on that note..
* font shadows are now any color you want, not just black and white
* you can now set the shadow anywhere you can set the text's color, so you have more control, i.e. you can set shadow on active menu items but not inactive, or disabled, etc.
* every color now has an alpha channel. at the moment they don't do anything, besides the font shadow one, but it leaves room for future explorations. it is REALLY HIGHLY RECOMMENDED that you set the alpha to 255 all the time, until such time as it could be useful. otherwise one day your theme may turn awful for people.
* font colors are in the range 0-255, in case you were wondering, and they have to be specified in decimal
* if you'd like to change you font's you can do so in your configuration file. this is how it is going to stay. changing the font in the theme assumes too much about peoples eye sight and locality and stuff. it doesn't belong there, sorry. the system-wide default rc.xml includes the new font settings for your viewing pleasure, and ill drop an example of it below.
* shadows can now be positioned in any direction, they have both an x and a y offset which can be negative and positive. and offset of 0,0 will disable the shadow

This isn't a release or anything. If someone had some good ideas about the xml theme format, I'd like to hear them. But I don't think it will be changing much right now beyond where it is. I don't even know how the new functionality will play out for themers, so we'll see.

Whew.. I guess that's it. I'm not sure if I mentioned every little change or not, but oh well. Mileage may vary.. Please send any feedback.

Here's the font configuration example. Hopefully ObConf will let you set this real soon.

<theme>
...
  <font place="ActiveWindow">
    <name>arial,sans</name>
    <size>7</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="InactiveWindow">
    <name>arial,sans</name>
    <size>7</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="MenuTitle">
    <name>arial,sans</name>
    <size>8</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="MenuItem">
    <name>arial,sans</name>
    <size>8</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
</theme>
Dana Jansens danakj@orodu.net
d209d828
assert on invalid color values
Dana Jansens danakj@orodu.net
36effc5a
enable startup notification by default.
Dana Jansens danakj@orodu.net
e6fba914
kde systray applications no longer need the tray proxy, so let's remove it from svn
Dana Jansens danakj@orodu.net
5697404d
add the themetoxml tool ! yay
Dana Jansens danakj@orodu.net
6608ddde
add comment explaining what this tool is for. new themeupdate tool is coming for xml themes.
Dana Jansens danakj@orodu.net
092ef0e6
mention that it is in fact openbox that crashes
Mikael Magnusson mikachu@comhem.se
ca9fe26a
use EXIT_SUCCESS. it's the same thing, but more correct.
Dana Jansens danakj@orodu.net
7fdfb9db
use ob_reconfigure/restart directly instead of actions and save a variable
Mikael Magnusson mikachu@comhem.se
2f876557
remove said Atoms
Mikael Magnusson mikachu@comhem.se
e06e69b9
use integers instead of atoms for the actual control action
Mikael Magnusson mikachu@comhem.se
e979b388
use the X protocol to reconfigure instead of signals, works over the network too
Mikael Magnusson mikachu@comhem.se
191a0bc0
i moved the font shadow stuff back into the theme, so move them out of the font configuration stuff
Dana Jansens danakj@orodu.net
7744067b
moving shadow information out of the themes, and into the Text textures.

cleaning up some old Xft cruft in font.c also, that is no longer needed.
Dana Jansens danakj@orodu.net
5109b5ae
keep the default tint at 50, for theme compatibility
Dana Jansens danakj@orodu.net
e5ad7721
add the new font things to our example rc.xml and the xsd stylesheet
Dana Jansens danakj@orodu.net
25917a34
change the rc config format for font shadows, now:

<font...
  <shadow enabled="yes/no">
    <offset>1</offset>
    <tint>25</tint>
  </shadow>
</font>
Dana Jansens danakj@orodu.net
f7fe596e
lighten the default shadow, it's alittle harsh right now
Dana Jansens danakj@orodu.net
b7964c3b
fix compiling without session manager support
Mikael Magnusson mikachu@comhem.se
86b809df
oops... I'm combining two different things in this commit... so I'll try be clear

1. when another wm requests to replace openbox, openbox exits. but the SM will just restart openbox unless we tell it not to. so now ob_exit_replace() will change the session manager's view of openbox to not restart it. that way the new WM will be able to run.

2. allow windows to move themselves off of the screen 90% of the way, if they really want to. but only 90% to the left, right, and bottom of the screen. it won't let the app move off the top of the screen on its own at all now, since hiding the titlebar on you without you being a part of the process is pretty darn evil!

this is really to address bug # 2982 - for the tilda application. but i guess if windows really want to move off the screen, who's to say no? also, every other window manager will let them - except metacity won't let them on the left/top side of the screen.
Dana Jansens danakj@orodu.net
c07095ac
better string matching for duplicate title numbering. this will check against the whole window's title. it used to check less than the full length sometimes. thanks to logan for patches and ideas!
Dana Jansens danakj@orodu.net
17b2d577
Fonts are now going to be configured in the rc.xml file. The format is such as

<theme>
...
  <font place="ActiveWindow">
    <name>arial,sans</name>
    <size>8</size>
    <weight>bold</weight>
    <slant>italic</slant>
    <shadow>yes</shadow>
    <shadowOffset>1</shadowOffset>
    <shadowTint>64</shadowTint>
  </font>
</theme>

Valid place="" are ActiveWindow, InactiveWindow, MenuTitle, and MenuItem.
Only valid weight is "bold"
Valid slants are "italic" and "oblique"
shadowTint is a value between -100 and 100
size is the font size in points. pixelsize could possibly be added in the form of 8px, but it's not right now.
the name can contain multiple families and they will all be used to match characters

You can omit any fields and get the default for it. You can omit naming a font for a place="" and get the default font for it.

This is completely replacing theme-specified fonts, for better or for worse. Font shadowing may go back into the theme at some point, instead of in the rc.xml.
Dana Jansens danakj@orodu.net
d0f9d647
remove the font code for parsing Xft font strings. we are using the individual values specified in the user's configuration now, no longer using the strings from the theme file at all
Dana Jansens danakj@orodu.net
43d0f790
fonts are no longer loaded from the theme file. instead, they are created by the application and passed in while creating/loading a theme
Dana Jansens danakj@orodu.net
aeda86f4
add parse_attr_bool, and fix a possible segfault
Dana Jansens danakj@orodu.net
3b77950a
add font weight and font slant enumerations
Dana Jansens danakj@orodu.net
ac6fe980
use font 8point by default if none is specified
Dana Jansens danakj@orodu.net
41e272bd
add missing comment
Dana Jansens danakj@orodu.net
aa852556
let the configuration file changes affect windows' decroations and functionality on reconfigure (fix keepBorder bug 2841
Dana Jansens danakj@orodu.net
73671503
don't change the restart type with the session manager when openbox exits. it's not like something else will magically run instead. if we exit, we should get started again, that's why --replace exists.
Dana Jansens danakj@orodu.net
65f0c708
pretty brackets
Dana Jansens danakj@orodu.net
9d1949f0
if sm is disabled, there is nothing to shutdown, so don't go trying to free things and stuff. that can only be a bug
Dana Jansens danakj@orodu.net
831deb72
ok this time for real...

add --reconfigure option to openbox.

this option will open the display, find the current openbox's PID from the root window, and send a SIGUSR2 to it, telling it to reconfigure. then it exits.

also no longer printing help if you pass an invalid argument to openbox (because i want to parse arguments for --reconfigure before i start up the session management stuff)
Dana Jansens danakj@orodu.net
48a7c325
make a copy of the argc and argv instead of modifying the real ones

this means that when openbox is restared it doesn't lose it's SM related command line args, they get passed to the new openbox same as they were passed to the one exiting.
Dana Jansens danakj@orodu.net
b8bcc451
commited things i wasn't supposed to. wow i suck.
Dana Jansens danakj@orodu.net
81743b05
reverse that last commit.. that was by accident..
Dana Jansens danakj@orodu.net
f189b02f
add --reconfigure option to openbox.

this option will open the display, find the current openbox's PID from the root window, and send a SIGUSR2 to it, telling it to reconfigure. then it exits.

no longer printing help if you pass an invalid argument to openbox

since that is the case, session_startup doesnt need to be modifying the args anymore
Dana Jansens danakj@orodu.net
56c5c7d1
why aren't these variables getting initialized. how exactly is openbox not being super strange without that..?
Dana Jansens danakj@orodu.net
8343a819
fix memleak, free the render instance on shutdown.
Dana Jansens danakj@orodu.net
037fc862
pango is now mandatory..

lots of cleanups to the pango code, which was a very nice base to start from. thanks to whomever wrote that for us.. put some of the pango variables into the various render structs so that they don't need to be created all the time. put the pango context inside our RrInstance so that it can be properly freed at shutdown. removed xft dependencies all through the code and the build system also. who knows if this will break compiling for some poor souls. i guess we'll find out, won't we!
Dana Jansens danakj@orodu.net
c5b551b2
add -fno-strict-aliasing to the gcc compiler flags. this is needed, see:

http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20030721/msg00141.html

| It's not a compiler bug.  It is a C99 bug, or more exactly, a
| feature.  C99 changed the semantic of the C language with respect to
| aliasing questions.   Now, the compiler can assume that pointer to
| different types points to different memory location.  This breaks all
| the OO code written in C.
|
| This is a very good idea that the compiler issues a warning message
| because the semantic of language really changed and you want to revert
| to the old semantic.
|
| The make package MUST add -fno-strict-aliasing.  It is not a
| convenience to get rid off warnings.
Dana Jansens danakj@orodu.net
4084f5d8
fix for per-application focus settings. properly use all the possible values (1, 0, and -1)
Dana Jansens danakj@orodu.net
07fe0980
declare variables at the beginning of blocks, because it is nice to do so. and polite?
Dana Jansens danakj@orodu.net
de383f35
no more using SaveUnder for our openbox-specific windows. it makes things actually slow down, believe it or not!
Dana Jansens danakj@orodu.net
140c5313
only update the screen areas when a window actually has a strut (or when the strut changes), don't waste extra calls to screen areas, because it makes people redraw when they don't need to
Dana Jansens danakj@orodu.net
80a6f06c
support clients which use true transparency 32-bit visuals.

this requires that when a client is using a 32-bit visual, we have to
make the frame windows that sit underneath it to use the same visual (and a
colormap which matches it)
Dana Jansens danakj@orodu.net
78af5d15
this includes a number of things since my magnificent return....

1. some random compiling/style cleanups
2. some bigfixes
 - mislogic in per-window-settings and focusing new windows
 - use client_can_focus rather than checking variables for directional focus
 - MAYBE fix all those lock-ups forever. using event_curtime (a new variable) now instead of event_lasttime. event_lasttime is still used however when the event being processed did not have a time associated with it. this may or may not be a problem, and will be seen.
3. um.. i forget
4. oh yeah, 3rd party docks are now treated like the internal ob dock irt focus. that is, clicking on them won't pass them focus. this is going to be ratified as expected behavior in the wm-spec just now. if docks/panels want focus they can request it with _net_active_window, and then they can have all the focus they want! one day alt-tabbing around dock windows might be nice. but not until the ob dock is moved out into a separate application. going to have to add a wmapp selection and stuff for that though... ugly. who uses wmdockapps anymore !? someone must.. *sigh*
Dana Jansens danakj@orodu.net
2b99b62a
maybe this works then
Mikael Magnusson mikachu@comhem.se
144cc4ff
this should do it
Mikael Magnusson mikachu@comhem.se
30002bb8
note that in the CHANGELOG
Mikael Magnusson mikachu@comhem.se
1aa9c7e9
always place windows on the screen with the mouse cursor in xinerama, throw some code around (try3)
Mikael Magnusson mikachu@comhem.se
d04b68f8
always place windows on the screen with the mouse cursor in xinerama, throw some code around (try2)
Mikael Magnusson mikachu@comhem.se
29da19bd
always place windows on the screen with the mouse cursor in xinerama, throw some code around
Mikael Magnusson mikachu@comhem.se
74c7f786
SIGH
Mikael Magnusson mikachu@comhem.se
91806591
maybe we should actually run the actions on the menu items when activated, maybe i am crazy but it seems like a good idea
Mikael Magnusson mikachu@comhem.se
f43067b7
a combined client_list_menu, use as client-list-combined-menu in your rc.xml. needs some layout tuneups
Mikael Magnusson mikachu@comhem.se
d3d4aa29
80 cols
Mikael Magnusson mikachu@comhem.se
59d35252
dont use nonexisting functions
Mikael Magnusson mikachu@comhem.se
b18846db
Add MoveFromEdge* actions, shorten client_directional_edge_search with some handy #defines
Mikael Magnusson mikachu@comhem.se
efa508a2
show clients with the skip_taskbar property set in the client_list_menu if they're iconic
Mikael Magnusson mikachu@comhem.se
b9532883
dont use the keepBorder option for mwm hinted windows after all, but do honor the mwm_decor_border hint instead
Mikael Magnusson mikachu@comhem.se
b276ff81
stray ; killed if
Mikael Magnusson mikachu@comhem.se
baf774b9
update this too
Mikael Magnusson mikachu@comhem.se
250af09c
update changelog
Mikael Magnusson mikachu@comhem.se
6930bdb2
fix a crash when using mirrorhorizontal and resizing a window to width 1
Mikael Magnusson mikachu@comhem.se
1fbc70da
disable middle menus by default
Mikael Magnusson mikachu@comhem.se
cb81941e
corrections to hr.po from daniel radetic
Mikael Magnusson mikachu@comhem.se
c4dc6e23
unused thingies
Mikael Magnusson mikachu@comhem.se
d84f1aac
remove .cvsignore files
Mikael Magnusson mikachu@comhem.se
a3b55151
note 5483 in CHANGELOG
Mikael Magnusson mikachu@comhem.se
96eab142
oops, added borders to windows when keepborder was on and they didnt have one to start with, ie docks etc
Mikael Magnusson mikachu@comhem.se
9b7915ff
add slovak translation
Mikael Magnusson mikachu@comhem.se
119f8cea
correct a typo?
Mikael Magnusson mikachu@comhem.se
28590f8c
minor tweak
Mikael Magnusson mikachu@comhem.se
d4b90d36
strstr is our friend, thanks merry
Mikael Magnusson mikachu@comhem.se
766e7ae9
rename osx to mirrorhorizontal and split to splitvertical, this will make all themes that used them not look right so update them
Mikael Magnusson mikachu@comhem.se
d9f14c1d
update copyright step 2
Mikael Magnusson mikachu@comhem.se
4d50b218
update copyright step 1
Mikael Magnusson mikachu@comhem.se
f5202acb
just make configure --help output slightly less confusing, no functional change
Mikael Magnusson mikachu@comhem.se
174f5b47
note offscreen fixilating in CHANGELOG
Mikael Magnusson mikachu@comhem.se
b528c681
spurious ;
Mikael Magnusson mikachu@comhem.se
c234ed9e
maybe fix transients placed offscreen under certain conditions
Mikael Magnusson mikachu@comhem.se
997a68aa
add portuguese translation, thanks gsf!
Mikael Magnusson mikachu@comhem.se
e6a8595f
i hope this is the right stuff to change
Mikael Magnusson mikachu@comhem.se
26dd616b
change default theme in example rc file
Mikael Magnusson mikachu@comhem.se
a8274acd
useless *
Mikael Magnusson mikachu@comhem.se
3039eb96
oops
Mikael Magnusson mikachu@comhem.se
e8c19d0c
patch from thorsten vollmer to fix bug #2506, interlaces and bevels not drawing correctly
Mikael Magnusson mikachu@comhem.se
d77c8f62
a more proper fix for the client list menu trying to activate a closed client, no difference on end result
Mikael Magnusson mikachu@comhem.se
71ba050b
fix syntax error in default config
Mikael Magnusson mikachu@comhem.se
3b569880
dont flicker when setting desktop by per app settings
Mikael Magnusson mikachu@comhem.se
39f6b8ca
forgot to check if perapp settings said to put window on all desktops
Mikael Magnusson mikachu@comhem.se
34269a34
lets not change the stacking before we add the window to the stacking stack
Mikael Magnusson mikachu@comhem.se
fa649706
stacking_list contains ObWindows that may or may not be ObClients
Mikael Magnusson mikachu@comhem.se
8d034c6f
remove some useless code
Mikael Magnusson mikachu@comhem.se
2fd2473d
some systems seem to not include locale.h even with ENABLE_NLS set
Mikael Magnusson mikachu@comhem.se
005eb35e
fix some warnings from -Wall
Mikael Magnusson mikachu@comhem.se
c495ecfe
why did i save that return value?
Mikael Magnusson mikachu@comhem.se
9fb488c7
maybe it was just a syntax error?
Mikael Magnusson mikachu@comhem.se
ba6daeae
don't be so afraid to include locale.h
Mikael Magnusson mikachu@comhem.se
13215aaa
fix subsequent silly typo, should now compile as well as work
Mikael Magnusson mikachu@comhem.se
1de9c190
fix a silly copy paste bug, titlenumber should now be disableable
Mikael Magnusson mikachu@comhem.se
6445a4f3
update changelog
Mikael Magnusson mikachu@comhem.se
653358c1
make the dock copy appearance from active window titles instead of inactive ones, this won't matter because nobody uses the dock
Mikael Magnusson mikachu@comhem.se
5d40209f
make grips always 25 pixels
Mikael Magnusson mikachu@comhem.se
b78feb8a
lalala
Mikael Magnusson mikachu@comhem.se
c10b4e6b
add new themes
Mikael Magnusson mikachu@comhem.se
a74a458b
remove old themes
Mikael Magnusson mikachu@comhem.se
dba2fa3d
disable startup notification by default
Mikael Magnusson mikachu@comhem.se
7b7f1580
add a means to tell the timer destroy function not to fire when for example freeing its client frame
Mikael Magnusson mikachu@comhem.se
1b4ff4e9
close but not quite
Mikael Magnusson mikachu@comhem.se
a2f2fefe
add a client destructor to frame.c so it doesn't try to keep flashing a free'd frame
Mikael Magnusson mikachu@comhem.se
83a0303d
add option titleNumber in theme section to disable the little [x] that you get after identical window titles
Mikael Magnusson mikachu@comhem.se
2f4cd02a
fix silly typo
Mikael Magnusson mikachu@comhem.se
8eea64ca
adjust logic to be... logical
Mikael Magnusson mikachu@comhem.se
1ffd8967
don't allow inventive users to open the menu while in an interactive grab (ie changing focus or desktop)
Mikael Magnusson mikachu@comhem.se
5b288939
try utf8 for WM_NAME if locale fails, really the _locale functions in prop.c are busted and should be fixed but i have no idea how.
Mikael Magnusson mikachu@comhem.se
f532c9a1
update the title test program to allow combinations of WM_NAME/_NET_WM_NAME and STRING/UTF8_STRING (netwm+!utf8 is invalid, wm+utf8 is not but does not work in openbox currently)
Mikael Magnusson mikachu@comhem.se
dce6247e
really fix focus_last?
Mikael Magnusson mikachu@comhem.se
e3c52da8
can't call ob_debug from libobrender...
Mikael Magnusson mikachu@comhem.se
95222014
maybe fix some stuff, i dunno
Mikael Magnusson mikachu@comhem.se
cbe50698
after some contemplating and complaints, not enabling vertically centered menus by default
Mikael Magnusson mikachu@comhem.se
41a1d2ea
hopefully fix keyboard move and resize refusing to go outside the screen
Mikael Magnusson mikachu@comhem.se
629585d9
forgot to add prototypes to action.h
Mikael Magnusson mikachu@comhem.se
97719044
s/_/./
Mikael Magnusson mikachu@comhem.se
6a7c0b89
s/self/settings/
Mikael Magnusson mikachu@comhem.se
56c548b2
make menus optionally vertically centered, and enable by default, see bug #2746
Mikael Magnusson mikachu@comhem.se
27ebf0f3
include obrender headers in installation
Mikael Magnusson mikachu@comhem.se
8cb6e95e
add moverelative and resizerelative
Mikael Magnusson mikachu@comhem.se
05c0dbfe
be paranoid about programs setting 0 resize increments, which results in a divide by zero, which is in turn bad
Mikael Magnusson mikachu@comhem.se
d2fb93e8
remove bogus check for handle width in client_setup_decor_and_functions resulting in handles not being drawn if a theme with handle width = 0 is used when that function is called for a window and a theme with handle with > 0 is then loaded.
Mikael Magnusson mikachu@comhem.se
9384c87f
disable compiling of render/rendertest in make all, use make check if you want to use it, it is extremely awesome
Mikael Magnusson mikachu@comhem.se
be8bc711
make the Unfocus action do something when config_focus_follow is set
Mikael Magnusson mikachu@comhem.se
ee778a82
Update changelog with changes up to now
Mikael Magnusson mikachu@comhem.se
9fe211a1
remove an old comment
Mikael Magnusson mikachu@comhem.se
8504271a
actually add zh_TW to LINGUAS
Mikael Magnusson mikachu@comhem.se
50292dbd
a "osx" gradient, it is like horizontal but mirrors in the center
Mikael Magnusson mikachu@comhem.se
6212b7c1
update rc.xml.in, also thanks to jonas k��lker
Mikael Magnusson mikachu@comhem.se
dd33cfe7
update rc.xsd, many thanks to jonas k��lker
Mikael Magnusson mikachu@comhem.se
6360fe73
add croatian and german translations
Mikael Magnusson mikachu@comhem.se
2922f6ef
dont make popup windows saveunder after all, they move around
Mikael Magnusson mikachu@comhem.se
666a466b
make menus also saveunder
Mikael Magnusson mikachu@comhem.se
ca165672
make popup windows saveunder
Mikael Magnusson mikachu@comhem.se
b3fa579a
so it wont leak because ob uses a hash for colors, but lets free the colors anyway
Mikael Magnusson mikachu@comhem.se
7ca93b9f
okay that parent didnt point where i thought
Mikael Magnusson mikachu@comhem.se
18cd2fa9
forgot i was in the middle of something
Mikael Magnusson mikachu@comhem.se
335a0eec
initial commit of split gradient, looks like some RrColor leaking perhaps
Mikael Magnusson mikachu@comhem.se
48e3f64b
must assign return of g_list_insert_before to list, the start address may have changed
Mikael Magnusson mikachu@comhem.se
dd489976
fix two memleaks
Mikael Magnusson mikachu@comhem.se
e0aa54a8
rip out the VIDMODE extension stuff. this was only used to size fullscreen windows to the viewport, i doubt anyone is actually using it and it interacts very badly with xinerama.
Mikael Magnusson mikachu@comhem.se
f07b18cf
mad propz to jonaskoelker finding a memleak
Mikael Magnusson mikachu@comhem.se
41377797
lollerskates
Mikael Magnusson mikachu@comhem.se
0f80c6ab
not surprisingly, there was a typo
Mikael Magnusson mikachu@comhem.se
e72a1232
if this works i will be a bit amazed, add class matching, and allow to match either name or class or both
Mikael Magnusson mikachu@comhem.se
d4b73404
changing props need client_change_state
Mikael Magnusson mikachu@comhem.se
d471ffb9
fix4
Mikael Magnusson mikachu@comhem.se
19611e3b
haha
Mikael Magnusson mikachu@comhem.se
94a0ea21
fix2
Mikael Magnusson mikachu@comhem.se
2658610a
fix
Mikael Magnusson mikachu@comhem.se
ff04e2c9
add the rest of the possible states to per app settings, and fix some mem leaks in the code that _set_ the per app list
Mikael Magnusson mikachu@comhem.se
8af51d8a
add role matching to per app settings and fix a small memleak in the code that frees the per app list
Mikael Magnusson mikachu@comhem.se
4a422608
setting variables helps
Mikael Magnusson mikachu@comhem.se
b4010b58
final fix i think
Mikael Magnusson mikachu@comhem.se
014969a9
fix7
Mikael Magnusson mikachu@comhem.se
85340eab
fix6
Mikael Magnusson mikachu@comhem.se
611e8a53
fix5
Mikael Magnusson mikachu@comhem.se
f819e3b8
fix4
Mikael Magnusson mikachu@comhem.se
76f514cf
fix3
Mikael Magnusson mikachu@comhem.se
f3801aff
fix2
Mikael Magnusson mikachu@comhem.se
c63938f7
fix
Mikael Magnusson mikachu@comhem.se
de1559a0
move stuff around some more
Mikael Magnusson mikachu@comhem.se
f80ab241
some notes to self
Mikael Magnusson mikachu@comhem.se
74695334
*coughs uncontrollably*
Mikael Magnusson mikachu@comhem.se
df1ef6b8
"oops"
Mikael Magnusson mikachu@comhem.se
9aeb9d9f
define vars in proper places and don't leak the entire list of settings
Mikael Magnusson mikachu@comhem.se
3c3415d8
cvs add is good
Mikael Magnusson mikachu@comhem.se
ed61a94c
per app settings
Mikael Magnusson mikachu@comhem.se
9490107c
*whistles*
Mikael Magnusson mikachu@comhem.se
508390bc
move a line so gentoo doesn't duplicate it
Mikael Magnusson mikachu@comhem.se
5648f0d7
maybe this makes everyone happy, only select first entry in menus if it's not a submenu entry
Mikael Magnusson mikachu@comhem.se
310d268b
patch from syscrash2k, adds submenuShowDelay option, bug #2682
Mikael Magnusson mikachu@comhem.se
ad215303
fix #2670 (hilight first entry in menus) and respect keepBorder setting when removing borders from mwm hints
Mikael Magnusson mikachu@comhem.se
0efe52a1
fix the minipager for exotic orientations
Mikael Magnusson mikachu@comhem.se
a908e048
try another scaling algo for the icons
Mikael Magnusson mikachu@comhem.se
f0a82ab5
make reverse_bits static
Mikael Magnusson mikachu@comhem.se
f1ed62ce
fix 1bit bitmaps on msbfirst architectures + some indentation fixes
Mikael Magnusson mikachu@comhem.se
bc1f845a
resize label after background pixmap has updated to avoid display problems
Mikael Magnusson mikachu@comhem.se
31527192
finally fix broken gimp window icons
Mikael Magnusson mikachu@comhem.se
b67420f9
add traditional chinese translation by Wei-Lun Chao
Mikael Magnusson mikachu@comhem.se
c5a14b4f
!"$!#"%
Mikael Magnusson mikachu@comhem.se
b177ace2
yes it is
Mikael Magnusson mikachu@comhem.se
425dc318
fix pixelsize when using pango (set_size != set_absolute_size)
Mikael Magnusson mikachu@comhem.se
b287b126
libobrender needs to link to libobparser
Mikael Magnusson mikachu@comhem.se
29dc983d
yep, got that wrong
Mikael Magnusson mikachu@comhem.se
c81ffea4
testing branching
Mikael Magnusson mikachu@comhem.se
f24cd3fc
note 64bit fixes in changelog
Mikael Magnusson mikachu@comhem.se
6452fef9
final fixes?
Mikael Magnusson mikachu@comhem.se
1fad2da0
more 64 bit fixes
Mikael Magnusson mikachu@comhem.se
148ef741
fix using wrong type for _NET_WORKAREA for 64 bits, may exist other bugs like this
Mikael Magnusson mikachu@comhem.se
93598589
*** empty log message ***
Mikael Magnusson mikachu@comhem.se
e1665d70
add showDelay to dock
Mikael Magnusson mikachu@comhem.se
c7a75a5c
never code on an empty stomach
Mikael Magnusson mikachu@comhem.se
9609c7f5
maybe i should have tried opening a submenu too
Mikael Magnusson mikachu@comhem.se
fa32adf1
fix menus to show on the screen the mouse cursor spawned them from
Mikael Magnusson mikachu@comhem.se
9df57ff1
I meant to check for windows placed by programs, not windows not placed by the user. Now checks for windows placed by programs and not placed by user. This excludes placement schemes which the former check didn't, resulting in some brokenness, particularly with xinerama.
Mikael Magnusson mikachu@comhem.se
6236d2bc
add movetocenter here
Mikael Magnusson mikachu@comhem.se
7cb646a5
didnt get the wording quite right there... :)
Mikael Magnusson mikachu@comhem.se
6d30ea2f
note this in changelog
Mikael Magnusson mikachu@comhem.se
fd0b9f76
finally fix the autoconf stuff correctly
Mikael Magnusson mikachu@comhem.se
bb649ac9
this was a wee bit out of date
Mikael Magnusson mikachu@comhem.se
59fe4da4
knew i forgot something
Mikael Magnusson mikachu@comhem.se
38c0e155
add some stuff to the CHANGELOG, hopefully got everything in there
Mikael Magnusson mikachu@comhem.se
efcb68de
and tidy it up a bit
Mikael Magnusson mikachu@comhem.se
e298cde9
remove some excessive swearing from a comment about pango
Mikael Magnusson mikachu@comhem.se
829e746b
fix programs showing their child windows outside the screen, but retain the possibility to put windows slightly offscreen with the -geometry argument (which is why i broke it in the first place)
Mikael Magnusson mikachu@comhem.se
3b83230a
ifdef helps
Mikael Magnusson mikachu@comhem.se
03cad5d9
add a (temporary?) check to client_activate to make client_list_menu not crash openbox when selecting a window that has closed since the menu opened
Mikael Magnusson mikachu@comhem.se
eecc4572
--disable-nls disables locale.h which is needed for pango, sort of
Mikael Magnusson mikachu@comhem.se
3d1048f5
forgot debug print
Mikael Magnusson mikachu@comhem.se
b2cd881d
80 columns
Mikael Magnusson mikachu@comhem.se
b1a1ad5d
fix the PangoLanguage thing to get from locale
Mikael Magnusson mikachu@comhem.se
2fb7b70c
maybe even better layouting (ie the previous was off by a few marks). memo to self, what do to about PangoLanguage?
Mikael Magnusson mikachu@comhem.se
e37b07bf
dont need pll
Mikael Magnusson mikachu@comhem.se
a08bb4ab
minor movement of code
Mikael Magnusson mikachu@comhem.se
a5100fe6
make the pango rendering code really complicated because that is the only way to make it draw correctly
Mikael Magnusson mikachu@comhem.se
8f9aae0c
fix the dpi stuff with pango by reading the right ascent and descent stuff
Mikael Magnusson mikachu@comhem.se
69a4abe1
make the framerender_frame() code a bit less crazy
Mikael Magnusson mikachu@comhem.se
b10b0000
revert the pressed toggled thing for a while
Mikael Magnusson mikachu@comhem.se
1cfb65bc
add a config option hideDisabled in the theme section that hides disabled buttons instead of showing them as disabled, based on patch in bug #2310
Mikael Magnusson mikachu@comhem.se
6ec18815
c++ comments
Mikael Magnusson mikachu@comhem.se
5c95d2ff
correctly show pressed state when pressing toggled buttons, bug #2311
Mikael Magnusson mikachu@comhem.se
d2c98faf
now floam can compile with his crazy flags
Mikael Magnusson mikachu@comhem.se
0417d122
RrFontHeight is meaningless with pango, it will be different for every string drawn, so ask pango for the height after we tell it the text to draw. Should make text be centered vertically better when mixing fonts. Still moves a pixel down for some strings for me, but it was several before. If anyone knows more about this please mail or bugzilla etc. Also fix an indenting error.
Mikael Magnusson mikachu@comhem.se
07b34038
add finnish and fix my email
Mikael Magnusson mikachu@comhem.se
a1f8178c
update catalan messages
Mikael Magnusson mikachu@comhem.se
3b516240
well, i pinpointed the problem code that causes the fonts to be cut off, but this workaround is extremely temporary and possibly only works for me by accident?
Mikael Magnusson mikachu@comhem.se
465dd3fb
nullterminate arguments to execlp
Mikael Magnusson mikachu@comhem.se
7fc31cd0
fix a warning
Mikael Magnusson mikachu@comhem.se
0e5feaa2
copy paste bug of course
Mikael Magnusson mikachu@comhem.se
68652bb5
fixes linking on some systems
Mikael Magnusson mikachu@comhem.se
4690af7f
noStrut actually works now
Mikael Magnusson mikachu@comhem.se
cab723fa
fix transparent terminals not updating when toggledecoring them
Mikael Magnusson mikachu@comhem.se
be0ded10
*** empty log message ***
Mikael Magnusson mikachu@comhem.se
498ae4cc
add noStrut option to dock and fix up rc.xsd, some options were in the wrong section due to hideDelay being in both dock and menu
Mikael Magnusson mikachu@comhem.se
3cc75f71
update spanish translation
Mikael Magnusson mikachu@comhem.se
8446e3cc
Update release CHANGELOG
Mikael Magnusson mikachu@comhem.se
c44ce9a8
Missed this one.
Mikael Magnusson mikachu@comhem.se
916e24d9
Add a FocusToBottom action which moves the client to the bottom of the focus order stack
Mikael Magnusson mikachu@comhem.se
2290916e
Update the pango code
Mikael Magnusson mikachu@comhem.se
7089a860
remove a spurious identical ifdef diff decided to generate
Mikael Magnusson mikachu@comhem.se
558ea325
*** empty log message ***
Mikael Magnusson mikachu@comhem.se
abe258be
<group> option for raise/lower related actions. hi floam.
Mikael Magnusson mikachu@comhem.se
e74fbdaa
revert a commit xor made in 2003 that always annoyed me, now docks (panels) go in the same layers as normal windows again. docks that dont specify layer go in the ABOVE layer and those that specify BELOW get put in the NORMAL layer.
Mikael Magnusson mikachu@comhem.se
ac416fd2
testing failed, hopefully this is reverting to the right place
Mikael Magnusson mikachu@comhem.se
3f40d6e7
more testing
Mikael Magnusson mikachu@comhem.se
64772cc6
test + not wrong
Mikael Magnusson mikachu@comhem.se
bdf5d409
test
Mikael Magnusson mikachu@comhem.se
52c345c3
try moving the move_onscreen with the rude into the place routine so it only gets called if a window doesn't specify a position
Mikael Magnusson mikachu@comhem.se
60565bcb
okay so that's why it didn't use move_onscreen
Mikael Magnusson mikachu@comhem.se
ef042d22
test some stuff
Mikael Magnusson mikachu@comhem.se
943dd681
the xinerama patch from john russell, modified a bit and merged the move_onmonitor with the already existing move_onscreen stuff, not sure if it actually works on xinerama since i dont have it.
Mikael Magnusson mikachu@comhem.se
05863a61
it would be fun if people said something when the build breaks, i guess people dont use cvs then, hi nobody
Mikael Magnusson mikachu@comhem.se
2ce7572e
commit the movetocenter action since it appears someone else than me wanted it after all
Mikael Magnusson mikachu@comhem.se
99b2fed8
fix iconify action to fallback focus correctly
Mikael Magnusson mikachu@comhem.se
9f607e25
hopefully fix the 'sticky keys' issue, patch from debian maintainer tore who got it from somewhere
Mikael Magnusson mikachu@comhem.se
4f9ec4cb
grab the mouse buttons and keyboards keys on clients before showing them to avoid the situation where a grabbed key goes to a client without being seen by openbox, hopefully has no side effects but probably does
Mikael Magnusson mikachu@comhem.se
9be3a213
apparently nobody uses cvs or bothers to tell me about compile errors
Mikael Magnusson mikachu@comhem.se
aaa41d12
catalan translation added
Mikael Magnusson mikachu@comhem.se
ca9c3e2c
just some fixes to the autoconf stuff
Mikael Magnusson mikachu@comhem.se
e7d1ba6a
Pango! yay. Patch mostly by Mohammed Sameer, fixed some memleaks and ifdeffed by me. May still have some bugs.
Mikael Magnusson mikachu@comhem.se
d19abac7
added norwegian translation, possibly incorrect
Mikael Magnusson mikachu@comhem.se
ff39f02c
add an option to resize with 4 corners as it was long ago and make the default 9 "corners" with the middle corner being move. that way you only need one mod+button to move and resize windows
Mikael Magnusson mikachu@comhem.se
ed4c6995
typo
Mikael Magnusson mikachu@comhem.se
d0adfb4d
okay here we go
Mikael Magnusson mikachu@comhem.se
90de8223
i always forget this bit
Mikael Magnusson mikachu@comhem.se
10805a47
config option for icons in desktop menus
Mikael Magnusson mikachu@comhem.se
b27343a3
None instead of TRUE/FALSE to XGrabPointer (?)
Mikael Magnusson mikachu@comhem.se
ba93a3a4
okay so this file is so badly out of date it's not even funny
Mikael Magnusson mikachu@comhem.se
349990a3
eek, a patch had a tab in it
Mikael Magnusson mikachu@comhem.se
f825b13b
patch to let wmctrl and others set _NET_WM_STATE_HIDDEN to minimize windows, by Timo Hirvonen
Mikael Magnusson mikachu@comhem.se
492a2684
remove the hilightFirst option since it wasnt actually used in the code
Mikael Magnusson mikachu@comhem.se
90c81dff
add Polish translation
Mikael Magnusson mikachu@comhem.se
326e1ce1
*** empty log message ***
Mikael Magnusson mikachu@comhem.se
c02f6849
option to make dragging and findedge ignore windows on lower layers
Mikael Magnusson mikachu@comhem.se
1ed2670b
revert patch, doesnt work
Mikael Magnusson mikachu@comhem.se
6ec5ccdf
fix the unfocus action when focuslast is set, patch by faugn
Mikael Magnusson mikachu@comhem.se
aa88bc99
togglefullscreen action from Joaquin Aguirrezabalaga
Mikael Magnusson mikachu@comhem.se
ebc21270
dock: leftclick = raise, middleclick = lower. make this bindable later, but better than all buttons (incl scroll) raising it for now
Mikael Magnusson mikachu@comhem.se
3fb94dfc
okay, so obviously i was a bit confused when i added this. the file posted to the mailing list had inkscape in the comment, and then he posted another one for obconf and i thought it was a corrected version. no one has complained though, but here is the right ru.po
Mikael Magnusson mikachu@comhem.se
86db6ce9
add french and remove a ru.po translation of obconf wtf was it doing here?
Mikael Magnusson mikachu@comhem.se
cd6a8514
disable growtoedge for shaded windows for now
Mikael Magnusson mikachu@comhem.se
62e23821
document changes
Mikael Magnusson mikachu@comhem.se
3afbf3d5
forgot these
Mikael Magnusson mikachu@comhem.se
09930127
try to fix focus switching with mouse actions up a bit
Mikael Magnusson mikachu@comhem.se
8ba619d5
finding edges and switching directional focus was broken from omnipresent windows. changed c->desktop to screen_desktop seems to work fine so far.
Mikael Magnusson mikachu@comhem.se
35c5a62c
there was a typo here, but the code worked anyway. oh well.
Mikael Magnusson mikachu@comhem.se
c6b505fd
this seems to not be the right way to fix this (linking obrender to every lib on the planet)
Mikael Magnusson mikachu@comhem.se
2deff373
patch to fix some xft linking
Mikael Magnusson mikachu@comhem.se
f553badc
hooray for translations of the right program
Mikael Magnusson mikachu@comhem.se
8fa0bae3
russian translation added
Mikael Magnusson mikachu@comhem.se
b51670da
hohoho
Mikael Magnusson mikachu@comhem.se
5069ed1d
*** empty log message ***
Mikael Magnusson mikachu@comhem.se
16f4b6a3
something like this maybe
Mikael Magnusson mikachu@comhem.se
b182f148
on second thought, don't change the default behaviour in stable series
Mikael Magnusson mikachu@comhem.se
70c4e68a
3.2
Mikael Magnusson mikachu@comhem.se
6c171ede
lies
Mikael Magnusson mikachu@comhem.se
8eac8c8b
stuff
Mikael Magnusson mikachu@comhem.se
8ec716f6
this goes away by popular request (focus_order_to_bottom in action_lower)
Mikael Magnusson mikachu@comhem.se
d30ea87b
blef
Mikael Magnusson mikachu@comhem.se
6beb20b3
'Unnamed Desktop' is the most useless text to put on an unnamed desktop pls
Mikael Magnusson mikachu@comhem.se
4b32a060
no more april's fool (and also committed a bit too much before)
Mikael Magnusson mikachu@comhem.se
1c9a69e1
these two changes make the text a lot more readable
Mikael Magnusson mikachu@comhem.se
269fbc0f
show parents title in alt-tab popup for titleless transients
Mikael Magnusson mikachu@comhem.se
cabcea20
okay, so maybe i should try compiling things. lets see if i can get away with not testing it
Mikael Magnusson mikachu@comhem.se
89f223e2
this is not so nice
Mikael Magnusson mikachu@comhem.se
a70e22c5
nothing to see here, move along
Mikael Magnusson mikachu@comhem.se
c0937f68
okay, found three strings marked with _() but not in POTFILES.in earlier. they aren't really that important though
Mikael Magnusson mikachu@comhem.se
e599b855
blef
Mikael Magnusson mikachu@comhem.se
42aecc08
this is hard to get right
Mikael Magnusson mikachu@comhem.se
6e368819
ben is no more
Mikael Magnusson mikachu@comhem.se
b850133d
allow the coordspopup to move to all xinerama screens
Mikael Magnusson mikachu@comhem.se
a0e2d38d
added spanish translation i think
Mikael Magnusson mikachu@comhem.se
4f1b53be
this file is so old it's scary
Mikael Magnusson mikachu@comhem.se
a4a6d1ba
*** empty log message ***
Mikael Magnusson mikachu@comhem.se
04c77b72
action toggledockautohide to toggle if the dock autohides
Mikael Magnusson mikachu@comhem.se
134974e8
forgot
Mikael Magnusson mikachu@comhem.se
f870d323
two hands raised, keepBorder added to <theme> section
Mikael Magnusson mikachu@comhem.se
39748e41
take numbers as args for the popup options too
Mikael Magnusson mikachu@comhem.se
e9cdaf27
that looked a bit silly
Mikael Magnusson mikachu@comhem.se
faf325c3
include config.h
Mikael Magnusson mikachu@comhem.se
3dce6cbf
sometimes you have to declare variables too
Mikael Magnusson mikachu@comhem.se
b2b8ad92
update copyright notices
Mikael Magnusson mikachu@comhem.se
3fadb639
pasted that a bit too far down yesterday
Mikael Magnusson mikachu@comhem.se
61af086d
default menus to sane style
Mikael Magnusson mikachu@comhem.se
e480937e
Mod3 = M
Mikael Magnusson mikachu@comhem.se
acc61246
limit the size popup to the screen, maybe this doesnt work with xinerama though?
Mikael Magnusson mikachu@comhem.se
335e8acb
yay no tabs in the source
Mikael Magnusson mikachu@comhem.se
64c65f3b
adds option to have the popup centered above the window instead of centered, and fix the last occurance of that reversed variable
Mikael Magnusson mikachu@comhem.se
e8339970
comments for life
Mikael Magnusson mikachu@comhem.se
7d1382a9
if this works, i will be amazed. <resize><popupShow>nbr<//> nbr = 0 never show size popup, 1 as it is now ie only show when resize terminals etc, 2 always show
Mikael Magnusson mikachu@comhem.se
e3786e64
typo fix a comment
Mikael Magnusson mikachu@comhem.se
07dd2c64
fix reversed variable name and add a little comment to the magic menu code
Mikael Magnusson mikachu@comhem.se
bc044085
some nice options for the menus, warpPointer, xorStyle (better name wanted for this :), hilightFirst and hideDelay (this was hardcoded to .25 secs earlier)
Mikael Magnusson mikachu@comhem.se
cd0204d6
fullscreen overrides aspect hints (because i say so)
Mikael Magnusson mikachu@comhem.se
77c744f2
raise your hand if you liked the onepixel border and i'll add an option for it somewhere
Mikael Magnusson mikachu@comhem.se
2a8ede00
alert windows can be titleless, maybe all titleless windows should be empty, i dunno
Mikael Magnusson mikachu@comhem.se
134063d8
did anyone use this?
Mikael Magnusson mikachu@comhem.se
8a3bfe52
whitespace changes
Mikael Magnusson mikachu@comhem.se
0e6161b0
the old event code
Mikael Magnusson mikachu@comhem.se
d50f4917
this might fix focusLast which was previously borken when closing a window and the pointer was on it and then going onto another from the close. er, yeah.
Mikael Magnusson mikachu@comhem.se
dd7c6ad7
add back the focusLast option for the "i lost count"th time
Mikael Magnusson mikachu@comhem.se
a5451fa6
hopefully fix some stuff with kde tray icons
Mikael Magnusson mikachu@comhem.se
2342c622
on second thought, i might do some developing
Mikael Magnusson mikachu@comhem.se
77af27b8
add setting <desktops><firstdesk>num<//> to set which desktop to start on, also fix a guint that should be gint. (used to let you say you want negative number of desktops)
Mikael Magnusson mikachu@comhem.se
3c28739a
this will be exciting
Mikael Magnusson mikachu@comhem.se
2ff32f86
add recent changes
Dana Jansens danakj@orodu.net
8e4d085d
add ja
Dana Jansens danakj@orodu.net
be1b2cf8
3.1
Dana Jansens danakj@orodu.net
fb0cd132
dont persist the linear state, not sure why i did it and it breaks stuff. hope changing this doesnt break other stuff!!! closes #1025
Dana Jansens danakj@orodu.net
6f8d9cde
closed 881
Dana Jansens danakj@orodu.net
745e851f
dont have glib reap children, we shall reap them instead to avoid zombies from processes tranferred to us
Dana Jansens danakj@orodu.net
05c1f333
recent changes
Dana Jansens danakj@orodu.net
7ae62cc7
dont make our frame windows override-redirect, so that configure requests are generated if apps try to configure our frame (eg. import -frame)
Dana Jansens danakj@orodu.net
57ddb275
whitespace
Dana Jansens danakj@orodu.net
c96a918b
add recent changes
Dana Jansens danakj@orodu.net
dbe2a9e5
add japanese translation
Dana Jansens danakj@orodu.net
eb22848a
s/guint/gboolean/ oops
Dana Jansens danakj@orodu.net
b11a9484
don't use action_run_string in action.c, pass along the data so that the second action gets all the same flags
Dana Jansens danakj@orodu.net
a6e4aba8
make all dialog typed windows transient for their group if they dont specify a WM_TRANSIENT_FOR hint.
Dana Jansens danakj@orodu.net
06202e2b
dont scale images to 0 px wide or tall
Dana Jansens danakj@orodu.net
b338e27b
use g_snprintf instead of sprintf
Dana Jansens danakj@orodu.net
06490180
dont go changing the session file all the time, and so then dont need to unlink so we dont end up stalling when the same session is asked for more than once.
Dana Jansens danakj@orodu.net
5f0d12c9
recent changes
Dana Jansens danakj@orodu.net
5b2ac0a6
remove the debian menu file
Dana Jansens danakj@orodu.net
3603c20b
3.0 time
Dana Jansens danakj@orodu.net
ace1d5b5
dist the version.h.in not the version.h
Dana Jansens danakj@orodu.net
1ad44dab
add version.h
Dana Jansens danakj@orodu.net
13206849
add version info the library headers
Dana Jansens danakj@orodu.net
def76092
disable the "Go there" menu entry when its the current desktop
Dana Jansens danakj@orodu.net
7c80db25
was setting NULL incorrectly to cancel actions and then not checking for NULL before using it
Dana Jansens danakj@orodu.net
671a3018
g_strerror
Dana Jansens danakj@orodu.net
5a1ad84c
use gpointer for void*
Dana Jansens danakj@orodu.net
7ed0e104
g_getenv fix, it returns const char*. use gpointer for void*
Dana Jansens danakj@orodu.net
e5c7e635
use g_getenv
Dana Jansens danakj@orodu.net
16dc1c48
oops typo of doom
Dana Jansens danakj@orodu.net
174de91c
use g_[s]list_next/previous consistantly, and check for "it" instead of "it != NULL" consistantly. props to Logan again :)
Dana Jansens danakj@orodu.net
4cb18340
show a message if chdir() fails
Dana Jansens danakj@orodu.net
eaa3b3aa
capitalization consistency
Dana Jansens danakj@orodu.net
938915b8
free the GErrror
Dana Jansens danakj@orodu.net
91de569e
free the GError
Dana Jansens danakj@orodu.net
5cadc1bf
much improved functions for maknig directories, props to Logan
Dana Jansens danakj@orodu.net
138d98fc
avoid duplicates in the path lists
Dana Jansens danakj@orodu.net
de98f815
skip taskbar windows dont appear in the client menu
Dana Jansens danakj@orodu.net
9fae7e8b
dont use the parent's title in the focus cycling dialog
Dana Jansens danakj@orodu.net
7c827e16
assert that add_new is not making a duplicate entry
Dana Jansens danakj@orodu.net
5cac540f
add to teh focus order before the call to change_state, since this can remove/add to the focus order, and then we're in there twice
Dana Jansens danakj@orodu.net
2aa5cd35
allow parents of transients to be focus cycled to
Dana Jansens danakj@orodu.net
8226cd70
make the all desktops thinger get disabled too
Dana Jansens danakj@orodu.net
d7f51ce0
changes
Dana Jansens danakj@orodu.net
18ac56b9
add comment
Dana Jansens danakj@orodu.net
32a2c267
recent change
Dana Jansens danakj@orodu.net
4cd6194f
add DOCK_NORMAL stacking layer
Dana Jansens danakj@orodu.net
5749f109
both must be normal to inherit above/below
Dana Jansens danakj@orodu.net
2e90dfbf
UGLY HACK
makes move/resize events not get queued, so to avoid a race
UGLY HACK
Dana Jansens danakj@orodu.net
53a259f6
focus fallback when focus is on PointerRoot
Dana Jansens danakj@orodu.net
ce2643f5
add COMPLIANCE
Dana Jansens danakj@orodu.net
fdd19eb0
current WMWH compliance
Dana Jansens danakj@orodu.net
203a5219
recent changes
Dana Jansens danakj@orodu.net
c30df2e7
dont let clients be above and below
Dana Jansens danakj@orodu.net
ae043667
missing ;
Dana Jansens danakj@orodu.net
415f2cce
only inherit layer when both windows are the same normal status
Dana Jansens danakj@orodu.net
9b0f5fcd
delete old save file when changing the session save file
Dana Jansens danakj@orodu.net
740c5b2a
consistant glib type usage
Dana Jansens danakj@orodu.net
8085f349
use g_strsplit to save work
Dana Jansens danakj@orodu.net
e7e51c3e
print the signal handler messages only when debugging
Dana Jansens danakj@orodu.net
fb1627ba
va_start needs va_end
Dana Jansens danakj@orodu.net
c9233ddb
unmap and map the client window when the frame is hidden/shown
Dana Jansens danakj@orodu.net
37c9f2d9
fix _NET_WM_STRUT oldschool support
Dana Jansens danakj@orodu.net
e6c9efa7
unhilite windows correctly, forget how to break it without this :) what can i say? im high!
Dana Jansens danakj@orodu.net
3643d530
add a test for legacy struts
Dana Jansens danakj@orodu.net
4805a6a4
remove debug prints
Dana Jansens danakj@orodu.net
94901fab
remove debug print
Dana Jansens danakj@orodu.net
b051b349
smarting picking for cycling to windows woth transients
Dana Jansens danakj@orodu.net
f85c50bb
indenting
Dana Jansens danakj@orodu.net
7986853c
changes
Dana Jansens danakj@orodu.net
1d2aa812
ignore fullscreen windows in placing
Dana Jansens danakj@orodu.net
dc9c39d0
handle multiple focusin/out in one batch
Dana Jansens danakj@orodu.net
75821949
indenting
Dana Jansens danakj@orodu.net
2bf58d8f
dont put windows below by default
Dana Jansens danakj@orodu.net
420e6f87
inherit above/below more carefully
Dana Jansens danakj@orodu.net
90abec9c
avoid putting dialog windows under higher layered windows
Dana Jansens danakj@orodu.net
b9b31233
when getting the state, grab the above/below from the max amongst other members of the client's group
Dana Jansens danakj@orodu.net
d07be3da
autogenned updates
Dana Jansens danakj@orodu.net
ef414287
fire the destroy fnuction for timers when they are removed
Dana Jansens danakj@orodu.net
ba38a0c8
make em saveunder
Dana Jansens danakj@orodu.net
6a953c6a
rc4
Dana Jansens danakj@orodu.net
b99f9e6a
changes
Dana Jansens danakj@orodu.net
9c021773
dont wrap in the default keyboard desktop switching bindings
Dana Jansens danakj@orodu.net
a2543824
when not wrapping, still show the dialog when you reach an edge
Dana Jansens danakj@orodu.net
d8e72613
more changes
Dana Jansens danakj@orodu.net
80c9f168
reverse the directions for the default mouse wheel bindings
Dana Jansens danakj@orodu.net
7043ce90
recent changes
Dana Jansens danakj@orodu.net
6fd8c6f5
add X_LIBS to the binaries
Dana Jansens danakj@orodu.net
637ba6cf
cooler method
Dana Jansens danakj@orodu.net
568744d5
allow focus to be moved off top level managed windows, as long as its not None or the root.
Dana Jansens danakj@orodu.net
d2d10fb6
add libxrender-dev to the pkg list. debian fucked up.
Dana Jansens danakj@orodu.net
ba461267
indenting
Dana Jansens danakj@orodu.net
380af80a
woot sexy
Dana Jansens danakj@orodu.net
e12d3c1e
recent changes
Dana Jansens danakj@orodu.net
a38b954a
the menu's labels are allocated
Dana Jansens danakj@orodu.net
055aa5cd
gracefully handle grabs failing when doing interactive actions
Dana Jansens danakj@orodu.net
7ca410e6
fix a crasher hopefully
Dana Jansens danakj@orodu.net
cf397b0e
smarter picking of heads for client windows
Dana Jansens danakj@orodu.net
f5f59cea
raise windows when they change modality
Dana Jansens danakj@orodu.net
7fe92962
remove XXX
Dana Jansens danakj@orodu.net
2cb368cb
fix warnings
Dana Jansens danakj@orodu.net
98c6a20f
add the en@*.po files
Dana Jansens danakj@orodu.net
f8f3b3ed
screw that
Dana Jansens danakj@orodu.net
c1d06524
make _NET_WM_ACTIVATE messages bring the client to the current desktop
Dana Jansens danakj@orodu.net
ce56a8b5
bleh
Dana Jansens danakj@orodu.net
48c3a34f
recent changes
Dana Jansens danakj@orodu.net
55923515
give clients being restored from a session a little more flexibility in lpacement so they will go back where they were when saved
Dana Jansens danakj@orodu.net
850d84a9
recent changes
Dana Jansens danakj@orodu.net
61e184c6
use vera for the font in blah41 and make the size nicer
Dana Jansens danakj@orodu.net
c2b0272f
color_black was unused
Dana Jansens danakj@orodu.net
377d20e7
use RrColorPixel
Dana Jansens danakj@orodu.net
b49b7c41
free menuframes when they fail to show themselves
Dana Jansens danakj@orodu.net
4b0e4af8
add debug shit
Dana Jansens danakj@orodu.net
37409669
simplify
Dana Jansens danakj@orodu.net
35e33706
add an id to colors for debugging purposes
Dana Jansens danakj@orodu.net
7833271d
switch to the desktop after activating the client. this means that for omnipresent windows, you still move to the desktop on which you selected it.
Dana Jansens danakj@orodu.net
469b0c1c
handle case where session saves a 0 width/height (for maximized windows!)
Dana Jansens danakj@orodu.net
34446063
if the current SN_WM owner is our window (can this happen?) then ignore it
Dana Jansens danakj@orodu.net
e03c0891
use the LINGUAS file
Dana Jansens danakj@orodu.net
c44a4eac
add the LINGUAS file
Dana Jansens danakj@orodu.net
122208b8
add en@* tranlations
Dana Jansens danakj@orodu.net
84dae2d7
mem leak
Dana Jansens danakj@orodu.net
da9bda5e
remove the --sm-disable from argv
Dana Jansens danakj@orodu.net
c8678108
indenting
Dana Jansens danakj@orodu.net
1be38a04
set the defaults for typed windows in client_get_all:
desktop types get put on all desktops
dock types get put in the ABOVE layer
Dana Jansens danakj@orodu.net
d2471f84
recent changes
Dana Jansens danakj@orodu.net
e1eff991
do client_raise after client_focus for new windows
Dana Jansens danakj@orodu.net
423d70b4
dont leave the focus indicator hanging around when dialogs are disabled
Dana Jansens danakj@orodu.net
6212a5ff
same shit different pile
Dana Jansens danakj@orodu.net
281390a9
fix memory leak
Dana Jansens danakj@orodu.net
f8c81e8c
add a check to make sure the color hash is empty on shutdown
Dana Jansens danakj@orodu.net
647baa77
add an assert to try catch color hash table misuses
Dana Jansens danakj@orodu.net
26b98ded
free the data paths
Dana Jansens danakj@orodu.net
6a00a44b
indenting
Dana Jansens danakj@orodu.net
97ffa9e3
make a copy of the color
Dana Jansens danakj@orodu.net
364bb155
dont set ret unless you will be returning TRUE
Dana Jansens danakj@orodu.net
6dddd869
indenting
Dana Jansens danakj@orodu.net
38ed4331
indenting
Dana Jansens danakj@orodu.net
322fc41e
only restack group windows on the same desktop
Dana Jansens danakj@orodu.net
9eed0756
add the focus cycle indicator to directional focus cycling
Dana Jansens danakj@orodu.net
b93b8cec
rc3
Dana Jansens danakj@orodu.net
cd985eb4
recent changes
Dana Jansens danakj@orodu.net
e2389fab
change the min width of the indicator to 3 and use the actual height of the handle
Dana Jansens danakj@orodu.net
a95a364b
for very small windows make sure you can resize them larger
Dana Jansens danakj@orodu.net
da226cde
raise grouped util windows with main windows
Dana Jansens danakj@orodu.net
e5f8c683
smarter avoidance of windows in the focus cycling stuff, doesnt cycle to util windows
Dana Jansens danakj@orodu.net
b84a934a
provide function to tell if a client has any group siblings
Dana Jansens danakj@orodu.net
d38c835c
when the frame is adjusted while the focus_cycle_target is that frame's client, then redraw the indicator
Dana Jansens danakj@orodu.net
ff08e380
supply focus_cycle_draw_indicator which draws/moves/resizes the focus cycling indicator
Dana Jansens danakj@orodu.net
e69da364
make keyboard events work on the focus_cycle_target again
Dana Jansens danakj@orodu.net
0ba8c175
use focus_hilite to pick which window gets keyboard events
Dana Jansens danakj@orodu.net
04ab35aa
show an indicator similar to metacity's for focus cycling windows
Dana Jansens danakj@orodu.net
bb529419
cancel focus delays when the user runs a focus (or focus cycle) action, and when focusing new windows
Dana Jansens danakj@orodu.net
8e34732b
let stuff cancel any focus delays going on
Dana Jansens danakj@orodu.net
df436132
remove windows from the focus delay timer when the pointer leaves them
Dana Jansens danakj@orodu.net
0843ff29
disable the decorate option for non-normal (undecorated) windows
Dana Jansens danakj@orodu.net
5c390b93
indenting
Dana Jansens danakj@orodu.net
133ce865
change the labels in the client menu depending on the window's state
Dana Jansens danakj@orodu.net
b7d26937
dont give decorless windows a border when toggling decorations
Dana Jansens danakj@orodu.net
b9d47c49
for dock windows, honor both the above and below states, keeping docks above and below *all* normal windows though (even 'above'/'below' ones). if the dock doesn't specify then it will stack along with normal windows.
Dana Jansens danakj@orodu.net
00f6bbb1
put dock in the dock_above/below layer
Dana Jansens danakj@orodu.net
84013154
add a dock below layer, and dock above layer
Dana Jansens danakj@orodu.net
b0d892e9
seggie
Dana Jansens danakj@orodu.net
723ecebc
use focus_hilite to ensure that when a wnidow thats not focused is hilighted, the hilight is removed when focus gets assigned
Dana Jansens danakj@orodu.net
735ee936
set focus_hilite when switching desktops and hjilitin a window which isnt focused yet
Dana Jansens danakj@orodu.net
fe3e73f1
add a focus_hilite variable
Dana Jansens danakj@orodu.net
440b8622
indenting
Dana Jansens danakj@orodu.net
b968a7ac
indenting
Dana Jansens danakj@orodu.net
fb8a9a63
indenting
Dana Jansens danakj@orodu.net
ad2a7c65
recent changes
Dana Jansens danakj@orodu.net
8852ee21
alt-drag resizing can resize in just vertical and horizontal directions now
Dana Jansens danakj@orodu.net
f55766cc
save premax values properly, individually for each direction
Dana Jansens danakj@orodu.net
92c8e947
resist screen physical edges as well as strut edges
Dana Jansens danakj@orodu.net
c4fcfc07
dont resize the window when restoring session state if the sizes are invalid
Dana Jansens danakj@orodu.net
450a291b
recent changes
Dana Jansens danakj@orodu.net
2a2008e8
always set focus_out, since a focusin can come first and mess up the old logic
Dana Jansens danakj@orodu.net
2572f111
indenting
Dana Jansens danakj@orodu.net
aa6bedd7
remove debug prints
Dana Jansens danakj@orodu.net
783f5aed
run the event done stuff before firing queued actions
Dana Jansens danakj@orodu.net
45b8d700
rc2
Dana Jansens danakj@orodu.net
51780c10
hilight the fallback target before it actually gets focused to avoid flickering
Dana Jansens danakj@orodu.net
6611c308
let functions get which window would be selected on a focus fallback
Dana Jansens danakj@orodu.net
242dc35a
indenting
Dana Jansens danakj@orodu.net
e2f3c002
remove debug prints
Dana Jansens danakj@orodu.net
cd437736
using the wrong free function
Dana Jansens danakj@orodu.net
4a14e50a
indenting
Dana Jansens danakj@orodu.net
9bd60fd9
dont queue up interative end actions
Dana Jansens danakj@orodu.net
4ea5a21f
recent changes
Dana Jansens danakj@orodu.net
c88e66b8
use frame->visible instead of the desktop number
Dana Jansens danakj@orodu.net
6f5292c8
define DEBUG, NDEBUG, and G_DISABLE_ASSERTS
Dana Jansens danakj@orodu.net
82542637
remoce debug print
Dana Jansens danakj@orodu.net
97e854b0
use a client destructor to watch for focus_in/out becoming invalid
Dana Jansens danakj@orodu.net
58977733
completely rework focus tracking. i hope this is sane... it seems to be working much better in every way thus far.
Dana Jansens danakj@orodu.net
f81f352f
dont use the X done callback
Dana Jansens danakj@orodu.net
c8565d21
provide a callback for when there are no more X events to process
Dana Jansens danakj@orodu.net
c22a6b32
only fallback when nothing is focused, provide comment explaining why
Dana Jansens danakj@orodu.net
9bac22eb
indenting, focus fallback to None not PointerRoot
Dana Jansens danakj@orodu.net
474a4075
only do sloppy focus/raise if the client is not already focused
Dana Jansens danakj@orodu.net
c361784b
remove restart from the menu
Dana Jansens danakj@orodu.net
638fc4b7
dont start a move/resize on clients that cant do it
Dana Jansens danakj@orodu.net
8feba851
when a window is lowered, move it to the bottom of the focus order list
Dana Jansens danakj@orodu.net
d50cf297
dialog options are no longer used
Dana Jansens danakj@orodu.net
2c99038a
make the Desktop action default to non-interactive
Dana Jansens danakj@orodu.net
9c75ff43
add a test for making a window with any title
Dana Jansens danakj@orodu.net
04ff02aa
rc1
Dana Jansens danakj@orodu.net
33d70e7f
recent changes
Dana Jansens danakj@orodu.net
26a7e6b3
was adding a data dir to the config dirs list
Dana Jansens danakj@orodu.net
43dabc2b
remove unused var
Dana Jansens danakj@orodu.net
a41354ca
upstream updates for TheBear
Dana Jansens danakj@orodu.net
b7b18769
start menus with the cursor inside it, not over the border, a little closer to the items..
Dana Jansens danakj@orodu.net
a1be19e6
when nothing in a menu is selected, still let keybindings work
Dana Jansens danakj@orodu.net
7101e30e
make the timeout apply to releases on menu items too
Dana Jansens danakj@orodu.net
b8ba1cff
perhaps fix problems of being left in menus without being able to control openbox
Dana Jansens danakj@orodu.net
ff04a81e
add option for under-mouse placement
Dana Jansens danakj@orodu.net
8e63ffda
add option for under-mouse placement
Dana Jansens danakj@orodu.net
fa962c16
removing focusLast again..
Dana Jansens danakj@orodu.net
f9c659c1
fix resizing to 0 from aspect ratios
Dana Jansens danakj@orodu.net
a434669d
remove debug prints
Dana Jansens danakj@orodu.net
dee3d68c
try grab an icon even when there are none
Dana Jansens danakj@orodu.net
f6ba1f27
halfway through client changes but...
should fix crashes irt actions in the action queue for clients that have been destroyed. now those actions are skipped or performed without a client as possible.
Dana Jansens danakj@orodu.net
518f819c
remove the obconf stuff
Dana Jansens danakj@orodu.net
396be581
add the dialog option for actions
Dana Jansens danakj@orodu.net
0919413f
remove the dialog option section
Dana Jansens danakj@orodu.net
e30ae569
remove from parents when changing groups
Dana Jansens danakj@orodu.net
0dfff40a
formatting, add an assert
Dana Jansens danakj@orodu.net
51cc41e4
indenting
Dana Jansens danakj@orodu.net
ac3a5882
properly show/hide the dialog for the Desktop action
Dana Jansens danakj@orodu.net
26852af7
better focus fallbacking n shit
Dana Jansens danakj@orodu.net
fbed66cc
ok unfocus before removing transient shit, but remove focus related flags so we don't get focused in the fallback.
Dana Jansens danakj@orodu.net
af7278b6
that was a really bad idea, i didnt mean it, i swear
Dana Jansens danakj@orodu.net
bc1148f0
fix cancelling desktordir actions
Dana Jansens danakj@orodu.net
4ae6be57
some smarter focus fallback for sloppy focus
Dana Jansens danakj@orodu.net
8aee3871
unfocus before unlinking the client from the transient tree
Dana Jansens danakj@orodu.net
598bf575
allow focus and desktop actions to specify a <dialog>yesorno</dialog> value
Dana Jansens danakj@orodu.net
ad294342
remove the dialog options
Dana Jansens danakj@orodu.net
90445487
dont use undermouse at all if focusNew is off
Dana Jansens danakj@orodu.net
9e000dc6
use under-mouse placement *instead* of smart placement when using focus-follows-mouse AND focus-new-windows
Dana Jansens danakj@orodu.net
f026a577
rencent changes
Dana Jansens danakj@orodu.net
09088161
when looking for the focus target, search for modal children in the entire transient tree, not just children of the client on which focus is requested
Dana Jansens danakj@orodu.net
49b848a2
smarter picking valid focus cycle targets
Dana Jansens danakj@orodu.net
d5a1b968
allow focus fallbacks to fullscreen windows
Dana Jansens danakj@orodu.net
896098c9
use client_raise/lower instead of action_run_string
Dana Jansens danakj@orodu.net
dfd52492
add client_raise and client_lower which just fire off actions
Dana Jansens danakj@orodu.net
411cc1d1
use actions for raising
Dana Jansens danakj@orodu.net
54b8eb3b
bring back action_run_string,
use action_run_string for running actions from other actions
Dana Jansens danakj@orodu.net
31b2dffb
use action_run_string for raising/lowering
Dana Jansens danakj@orodu.net
bb541d85
bring back action_run_string
Dana Jansens danakj@orodu.net
fb341869
use an action only for Raise
Dana Jansens danakj@orodu.net
1241a0cf
remove action_run_string, as this is not going to be a common thing I think
Dana Jansens danakj@orodu.net
a51d2082
add a NONE user action, for internal stuff, ie running actions without direct user interaction (from anotehr action etc)
Dana Jansens danakj@orodu.net
224927a7
dont iconify fullscreen windows, just recalc stacking orders when focus changes
Dana Jansens danakj@orodu.net
a2849a72
use actions to focus and raise the wnidow ni client_activate. this means the focus shit gets processed before the raise
Dana Jansens danakj@orodu.net
eb51015b
dont run actions immediately. put them in the queue. add action_run_string for niternal use
Dana Jansens danakj@orodu.net
87430acf
queue up ObActions and run them when idle
Dana Jansens danakj@orodu.net
adb9bb70
give actions a ref count
Dana Jansens danakj@orodu.net
9ed3baf9
indenting
Dana Jansens danakj@orodu.net
360d1659
checked the wrong var for unmaxing
Dana Jansens danakj@orodu.net
4e8eff32
add <dialog><focus/><desktop/> to allow disabling popups
Dana Jansens danakj@orodu.net
71030a2b
last couple changes
Dana Jansens danakj@orodu.net
b1927840
add <dock><moveButton> which can change which button combo is used to move dock apps around in the dock. The new default is A-Left instead of Middle, since soem dock apps use middle, assuming they can!
Dana Jansens danakj@orodu.net
11615ac2
make the Desktop action an interactive one
Dana Jansens danakj@orodu.net
07c3a31c
make the desktop popup a public function
Dana Jansens danakj@orodu.net
2de2678e
dont end moveresizes for interactive actions
Dana Jansens danakj@orodu.net
36594047
add some more client tree searching functions. make transients always get focused when a parent has focus, not just direct parents.
Dana Jansens danakj@orodu.net
f370cbc8
add the 875 bugfix
Dana Jansens danakj@orodu.net
0a1b9352
comment the client_search_transient function
Dana Jansens danakj@orodu.net
99338854
dont include transients in raise/lower interactions
Dana Jansens danakj@orodu.net
a5fa1fee
show the client menu on press instead of click on the window's icon in the titlebar. remove the double click binding which cant be hit when youre poppin a menu on press/click
Dana Jansens danakj@orodu.net
dcc7fddb
add CHANGELOG to the dist
Dana Jansens danakj@orodu.net
466096a6
beta6
Dana Jansens danakj@orodu.net
9346f1fc
add a hand built changelog
Dana Jansens danakj@orodu.net
18a4da40
remove teh CVS changelog
Dana Jansens danakj@orodu.net
5d3f1763
updates and fixes for the xml/xsd shit
Dana Jansens danakj@orodu.net
35dd3065
add ob_wm_state_undecorated to the net_supported hint
Dana Jansens danakj@orodu.net
7dc01bbe
remove debug print
Dana Jansens danakj@orodu.net
40d58a1e
use partial struts to determine struts properly for different xinerama heads
Dana Jansens danakj@orodu.net
b4fa8435
add client_set_undecorated().
add support for the _OB_WM_STATE_UNDECORATED state hint.
Dana Jansens danakj@orodu.net
b2dd3430
remove openbox_premax, add ob_wm_state_undecorated
Dana Jansens danakj@orodu.net
4460548c
wrap public headers in G_BEGIN/END_DECLS
Dana Jansens danakj@orodu.net
caca123b
dont use the _OPENBOX_PREMAX window property anymore, save max and fullscreen pre-areas in the client struct
Dana Jansens danakj@orodu.net
62b3b8c5
typo
Dana Jansens danakj@orodu.net
1ee19207
fix a variable used without being initialized case
Dana Jansens danakj@orodu.net
7d8b272f
remove old gnome1 shit
Dana Jansens danakj@orodu.net
136b1132
change how stuff is linked, this should make libtool and automake work nicely again I think
Dana Jansens danakj@orodu.net
54ccb6a5
focus new children if their direct parent is focused
Dana Jansens danakj@orodu.net
3a595d03
make the gnome-control-center launch obconf for configuring openbox
Dana Jansens danakj@orodu.net
710f41e6
focus nwe transients when another window in their transient tree is focused
Dana Jansens danakj@orodu.net
ec59af2f
add initial changelog for beta5
Dana Jansens danakj@orodu.net
417bcd67
indenting
Dana Jansens danakj@orodu.net
a3710c96
ft was uninitialized
Dana Jansens danakj@orodu.net
de42161e
recent changes
Dana Jansens danakj@orodu.net
2d1b5d6e
handle the focus_cycle_target being destroyed during cycling
Dana Jansens danakj@orodu.net
e4911d91
dont kill interactive actions when the client dies, just remove teh client pointer.
Dana Jansens danakj@orodu.net
1213b079
add the ObClientActionReq to ObAction which says if an action needs a client for it or not
Dana Jansens danakj@orodu.net
84dfd803
give disabled active buttons a different color from enabled ones
Dana Jansens danakj@orodu.net
af872468
beta5
Dana Jansens danakj@orodu.net
f68cf94d
support the _KDE_NET_WM_FRAME_STRUT hint
Dana Jansens danakj@orodu.net
624033c3
support the _KDE_WM_CHANGE_STATE hint
Dana Jansens danakj@orodu.net
847a3ef0
remove the kde systray hints, add _kde_wm_change_state and _kde_net_wm_frame_strut
Dana Jansens danakj@orodu.net
1aaac3dc
throw in some output
Dana Jansens danakj@orodu.net
00d74f3d
add PARTIAL_SRUT_EQUAL
Dana Jansens danakj@orodu.net
89d964d9
hide the dock when reconfiguring otherwise the user has to move the mouse over it to make it hide the first time
Dana Jansens danakj@orodu.net
4cf0d783
insert timers in the correct order
Dana Jansens danakj@orodu.net
e5f61d3d
fix for icons.c
Dana Jansens danakj@orodu.net
89286cbe
fix problems with conflicing interactive desktop switching and send-to-ing
Dana Jansens danakj@orodu.net
cc19a55f
add raise to the desktop left press binding
Dana Jansens danakj@orodu.net
9f03493b
ignore all NotifyInferior crossing events again
Dana Jansens danakj@orodu.net
d261d21b
typo
Dana Jansens danakj@orodu.net
74d85559
move foreign into the Makefile.am
Dana Jansens danakj@orodu.net
907d9d4c
same thing
Dana Jansens danakj@orodu.net
65ebb4a8
udpate comment to match new basedir shit
Dana Jansens danakj@orodu.net
4949c52d
update hideTimeout to hideDelay
Dana Jansens danakj@orodu.net
ff398ce9
update to the new hideDelay option
Dana Jansens danakj@orodu.net
6d157021
missing a \n
Dana Jansens danakj@orodu.net
1d4843f9
reorder the lib_LTLIBRARIES variable, apparently this fixes installing with a DESTDIR, thanks automake >:|
Dana Jansens danakj@orodu.net
b3bbc2ea
fixes for auto* build process
Dana Jansens danakj@orodu.net
c51b5c2e
recent changes
Dana Jansens danakj@orodu.net
af3ae51f
fix capitalization
Dana Jansens danakj@orodu.net
88ae91f6
add focusLast and raiseOnFocus
Dana Jansens danakj@orodu.net
4b8a6a71
beta4
Dana Jansens danakj@orodu.net
05fbab2d
recent changes
Dana Jansens danakj@orodu.net
9d0864ce
add focusLast and raiseOnFocus
Dana Jansens danakj@orodu.net
d10c5383
visible is in the frame struct
Dana Jansens danakj@orodu.net
27eb1a77
ignore non-visible windows too
Dana Jansens danakj@orodu.net
74f36c58
simplify the default bindings
Dana Jansens danakj@orodu.net
87541ea3
s/Activate/Go there/
Dana Jansens danakj@orodu.net
fe7eefc1
whitespace
Dana Jansens danakj@orodu.net
33d4cd8b
gettextize the empty desktop string
Dana Jansens danakj@orodu.net
4f3cffb8
change Switch To... to Activate...
Dana Jansens danakj@orodu.net
a43303bd
dont need to swallow enter events on ungrab cuz we just ignore them all now
Dana Jansens danakj@orodu.net
d5f9df08
provide a means to properly ignore enter events for focus changes
Dana Jansens danakj@orodu.net
f595277f
add back focusLast
Dana Jansens danakj@orodu.net
f791f9a3
eat enter events on desktop switch so that our own policy can be applied
Dana Jansens danakj@orodu.net
f68066aa
we always want to start with something focused, moving this to openbox.c
Dana Jansens danakj@orodu.net
8b5619d0
add comment
Dana Jansens danakj@orodu.net
2612dbf0
indenting
Dana Jansens danakj@orodu.net
d9e08487
when ending actions which can move windows, and we were using the mouse, instead of doing a focus fallback, which instantly focuses, and doesn't raise, we do an event_enter_client which simulates the act of entering the window with the pointer
Dana Jansens danakj@orodu.net
6538a5cc
move the code to find the window under the pointer out of focus.c to client.c
Dana Jansens danakj@orodu.net
6675b28d
place so to avoid windows in layers above the window being placed!
Dana Jansens danakj@orodu.net
1ad1e91e
add glib.h include
Dana Jansens danakj@orodu.net
b07194a7
add raiseOnFocus option
Dana Jansens danakj@orodu.net
fe3fbbf2
fix race condition in focus delay
Dana Jansens danakj@orodu.net
eaf9c36c
ignore ungrab enter notifies for focus
Dana Jansens danakj@orodu.net
227d8b85
pass the context to action_run_mouse
Dana Jansens danakj@orodu.net
904327a0
grab the pointer before doing client actions more intelligently, i.e. only when using sloppy focus.
fallback focus after the action if the action was fired via a mouse binding, otherwise do not. this makes keyboard bindings not fuck with sloppy focus.
Dana Jansens danakj@orodu.net
22bf5452
rename dock/himeTimeout to dock/hideDelay in the config file
Dana Jansens danakj@orodu.net
38370b2e
dont assert, just ignore client_unfocus() when the client isnt already focused
Dana Jansens danakj@orodu.net
be79af11
dont save the appearance when reconfiguring!! that was a crash waiting to happen!!
also reset the border stuff on reconfigure
Dana Jansens danakj@orodu.net
6c4126ec
allow a number of enter events to be ignored. Don't just skip any enter/leave events as these are used for highlighting hover buttons and ignoring these makes the hover state out of sync sometimes
Dana Jansens danakj@orodu.net
1b75005e
count the EnterNotify events and tell openbox to ignore them when ungrabbing the pointer
Dana Jansens danakj@orodu.net
a260db31
if the keyboard is grabbed then dont ungrab it!
Dana Jansens danakj@orodu.net
32047fd6
export if the keyboard and pointer are currently grabbed or not
Dana Jansens danakj@orodu.net
087ea0e5
remove that shti
Dana Jansens danakj@orodu.net
34bff2d2
whitespace
Dana Jansens danakj@orodu.net
0aa7f70d
export if an interactive grab is in progress
Dana Jansens danakj@orodu.net
5f5160b4
dont drop out of dirfocus when there is no new target to be found
Dana Jansens danakj@orodu.net
9960ef2f
use the new action_run symantics
Dana Jansens danakj@orodu.net
ddb6bd46
declare variables at the top of the blocks
Dana Jansens danakj@orodu.net
0cceca23
dont add null actions to the list
Dana Jansens danakj@orodu.net
556a08ce
use DESTDIR in install-data-hook
Dana Jansens danakj@orodu.net
2033f094
add the generated xml files
Dana Jansens danakj@orodu.net
617bd951
smart xinerama placement for groups
Dana Jansens danakj@orodu.net
b731e0e2
smart placement has a fallback for just groups now too
Dana Jansens danakj@orodu.net
f3746e29
install the menu.xsd
Dana Jansens danakj@orodu.net
86fa7c09
add the schemas to the distribution
Dana Jansens danakj@orodu.net
cdbd7ad9
look for sed
Dana Jansens danakj@orodu.net
ba052754
comment
Dana Jansens danakj@orodu.net
e5908c3f
use the new action ru system which always runs lists of actions instead of individual ones
Dana Jansens danakj@orodu.net
77d83472
const
Dana Jansens danakj@orodu.net
44fd94ff
only allow running lists of actions at a time, policy is to always allow multiple action bindings, so this enforces it, and at the same time, UngrabKeyboard() before firing actions if there are no interactive ones. This is needed for some execute's, namely gnome-panel-control --main-menu.
Dana Jansens danakj@orodu.net
19e48200
properly send resize events for when the app has requested the resize
Dana Jansens danakj@orodu.net
9e60c45c
dont allow 0 desktops
Dana Jansens danakj@orodu.net
abde4bc1
dont split client requested resizes into 2 events, thanks to manmower for this idea
Dana Jansens danakj@orodu.net
2bd406a0
make a warning into a debug message
Dana Jansens danakj@orodu.net
d826a887
rename gnomepanelproxy to gnome-panel-control
Dana Jansens danakj@orodu.net
4f6908fe
add gnomepanelproxy
Dana Jansens danakj@orodu.net
fdd1c3c8
add a 'Switch to...' entry to empty desktops in the client-list-menu
Dana Jansens danakj@orodu.net
3b1e518d
while doing a moveresize, the client actions act on will be the client being moveresized
Dana Jansens danakj@orodu.net
5da2b672
off by one error
Dana Jansens danakj@orodu.net
186824fc
provide some default bindings, not a complete list from the rc.xml.. yet.
Dana Jansens danakj@orodu.net
bdc10887
provide a way to remove all bindings
Dana Jansens danakj@orodu.net
ebe30915
const
Dana Jansens danakj@orodu.net
16f46c29
no tabs
Dana Jansens danakj@orodu.net
c4e4760c
add copyright headers, adjust --version output to include copyright, and --help output to not include version output.
Dana Jansens danakj@orodu.net
5a24f4c1
make the installed themeupdate.py executable
Dana Jansens danakj@orodu.net
42bbf21b
install themupdate.py to share/openbox/
Dana Jansens danakj@orodu.net
88b83983
add the MoveResize context, which is used while doing a move/resize on a window. Actions bound in this context can be executed with the mouse during a move/resize on a window.
Dana Jansens danakj@orodu.net
96f9db0d
api cleanups for render/theme.h
Dana Jansens danakj@orodu.net
ad7fd99f
use the theme padding for the menu title's size
Dana Jansens danakj@orodu.net
f85a8554
make ob_exit() take an error code. don't exit with 0 for signals other than TERM and INT.
Dana Jansens danakj@orodu.net
275c44c3
move where grabs are init'd since they use the screen_support_win now
Dana Jansens danakj@orodu.net
ec4c9b0c
remoev unneeded include
Dana Jansens danakj@orodu.net
f58f93f3
fix to be up-to-date with the theme spec
Dana Jansens danakj@orodu.net
dbd3e9b6
allow the use of keycodes directly in key bindings
Dana Jansens danakj@orodu.net
b288fdee
dont assert if a moveresize is started while one is in progress. apps could do this with client messages, or the user can easily do it with actions.
Dana Jansens danakj@orodu.net
3ce8f836
grab the pointer on the screen_support_win, causing all mouse events during a grab to not be acted on as if they were on the root window/context
Dana Jansens danakj@orodu.net
138ee2c9
dont use -release for libtool
Dana Jansens danakj@orodu.net
3c38171f
fallback when nothing is focused and we switch desktops!
Dana Jansens danakj@orodu.net
e334f7b1
ifdef DEBUG_FOCUS focus output
Dana Jansens danakj@orodu.net
bf9c87db
default to "TheBear"
Dana Jansens danakj@orodu.net
f7790bb4
fix properly
Dana Jansens danakj@orodu.net
960b4092
make TheBear install poroerly in its openbox-3 dir
Dana Jansens danakj@orodu.net
970d9542
install the libs with release and version info via libtool
Dana Jansens danakj@orodu.net
8ba479a3
look in ~/.themes for themes also
Dana Jansens danakj@orodu.net
46d99fba
new icon from merry, more clarity when small
Dana Jansens danakj@orodu.net
c1b2fc53
make openbox base-dir spec compliant, and change the theme dir structure, so that themes go in $XDG_DATA_DIRS/themes/ with gtk/metacity/whateverelse themes
Dana Jansens danakj@orodu.net
3a607fad
revert my commit of d3th, it fucked up focus badly
Dana Jansens danakj@orodu.net
ebf24d52
raise all the windows with the transient
Dana Jansens danakj@orodu.net
db50fd30
raise all parents with a transient
Dana Jansens danakj@orodu.net
4ccc4c5e
break focus. or maybe make it better.
these changes make it work when you alt-tab off a fullscreen window, that it doesnt iconify, and that it is immediately restacked instead of waiting for a FocusIn event to arrive. The code now assumes that if the window says it can focus, that if we focus it, it is focused.
add the XDone handler to ObMainLoop, which is fired upon the occurance of there being no more X events to read.
Dana Jansens danakj@orodu.net
17676168
dont leave non-submenu items selected when the mouse isnt over them
Dana Jansens danakj@orodu.net
e1a61844
recent changes
Dana Jansens danakj@orodu.net
92a6b897
remove focusLast and focusLastOnDesktop
Dana Jansens danakj@orodu.net
e14a4eee
fix directional focus when nothing is focused
Dana Jansens danakj@orodu.net
efb39b5a
recent changes
Dana Jansens danakj@orodu.net
2bbcbcf1
beta3
Dana Jansens danakj@orodu.net
4ba5ce3c
use the sm_client_id in the client struct
Dana Jansens danakj@orodu.net
3e9d050f
save the sm_client_id just like saving other properties, dont query each time its needed
Dana Jansens danakj@orodu.net
9e746b64
propogate property changes on the group leader to the whole group
Dana Jansens danakj@orodu.net
0242bc2e
remove debug prints
Dana Jansens danakj@orodu.net
ada2eb8f
remove debug print
Dana Jansens danakj@orodu.net
5e27544d
sloppy focus fixes, ignore a few more enter events
Dana Jansens danakj@orodu.net
08552690
fix crashing when doing a directional focus with no windows on the desktop
Dana Jansens danakj@orodu.net
52d751ec
best fit only one direction
Dana Jansens danakj@orodu.net
eb722960
no center in the first smart-place
Dana Jansens danakj@orodu.net
52e75474
sort smallest to largest area
Dana Jansens danakj@orodu.net
e5703910
2 passes at smart placement
Dana Jansens danakj@orodu.net
21c29cba
smart placement only avoids the focused window, and centers in its area
Dana Jansens danakj@orodu.net
617a98d4
whitespace
Dana Jansens danakj@orodu.net
b0a47624
fallback to random when focus follows mouse is off
Dana Jansens danakj@orodu.net
4bb7543d
fix comment
Dana Jansens danakj@orodu.net
1f451f5d
oops backwarsd
Dana Jansens danakj@orodu.net
4185168f
dont use continue
Dana Jansens danakj@orodu.net
e3e850b7
remove blank line
Dana Jansens danakj@orodu.net
0d5d9242
allow more than one timer to work at a time
Dana Jansens danakj@orodu.net
48d0d426
allow more than one timer to process at a time
Dana Jansens danakj@orodu.net
a9ae2f48
apply gravity to the chosen coords, bound the undermouse placement
Dana Jansens danakj@orodu.net
e8c1967a
always use smart placement, add under-mouse placement for the fallback
Dana Jansens danakj@orodu.net
9fe2ce3f
dont count !normal clients for placement
Dana Jansens danakj@orodu.net
9866570c
added smart placement
Dana Jansens danakj@orodu.net
ef7c2107
use the new RECT_LEFT/RIGHT/TOP/BOTTOM for clarity
Dana Jansens danakj@orodu.net
d193fc4a
add some interesection shit, and RECT_LEFT/RIGHT/TOP/BOTTOM
Dana Jansens danakj@orodu.net
9decfe0d
kill the padding in the menu title
Dana Jansens danakj@orodu.net
1ce84062
dont raise parents of transients when the transient is raised
Dana Jansens danakj@orodu.net
e60dd025
fix 2 mem leaks
Dana Jansens danakj@orodu.net
1e52b4ac
install the openbox.png pixmap icon
Dana Jansens danakj@orodu.net
0a220fb6
adjust the themes for the frames before everything else happens, cuz they store pointers to the freed theme, then redraw them at the end
Dana Jansens danakj@orodu.net
13bbcdd8
dont redraw the frames when changing their theme
Dana Jansens danakj@orodu.net
2877e9a2
remove the x event handler
Dana Jansens danakj@orodu.net
c9ef2f01
dont bother fucking everythign up when the desktops number hasnt changed
Dana Jansens danakj@orodu.net
9a7db27b
fix mem leak
Dana Jansens danakj@orodu.net
11e28eaa
update the menus before putting them in the visible list
Dana Jansens danakj@orodu.net
abd2f914
fix a mem leak, and make suer the menus arent visible when they are modified
Dana Jansens danakj@orodu.net
25e1e32f
fix mem leak, remove teh ice watch handler
Dana Jansens danakj@orodu.net
673383d0
fix mem leak
Dana Jansens danakj@orodu.net
af9fea15
add the .png version of the icon.h
Dana Jansens danakj@orodu.net
b317f014
dont impose staying on-screen for non-normal windows like kicker
Dana Jansens danakj@orodu.net
eeebd3e4
add a default icon made by merry.
Dana Jansens danakj@orodu.net
9054a91d
move moveresize_startup/shutdown so its between its deps
Dana Jansens danakj@orodu.net
b35682fb
only sopt moveresize when shutting down
Dana Jansens danakj@orodu.net
54d04314
remove debug print
Dana Jansens danakj@orodu.net
be15e8c0
stop any moveresizes on shutdown
Dana Jansens danakj@orodu.net
2e161a16
dont need libtool doing dlopen capable libs
Dana Jansens danakj@orodu.net
960ce01f
use the values passed to the function
Dana Jansens danakj@orodu.net
dcc43392
code style
Dana Jansens danakj@orodu.net
35593123
free XImages
Dana Jansens danakj@orodu.net
3dc4750e
destroy 'pat' always
Dana Jansens danakj@orodu.net
d634731f
X allocs more bytes than i thought, new algo to pick the amount of memory for the bitmap data
Dana Jansens danakj@orodu.net
d89391ec
dont waste a strdup which is never freed
Dana Jansens danakj@orodu.net
861cfbda
fix a memory leak in the mainloop timers correctly
Dana Jansens danakj@orodu.net
70a31e89
fix a memory leak in the mainloop timers
Dana Jansens danakj@orodu.net
4be58bf1
new popups with subclasses, added an ObIconPopup for popups with icons, and ObPagerPopup, for a popup with a pager on it.

better logic also for the desktop layout code figuring out how many rows and columns there are.
Dana Jansens danakj@orodu.net
5d658c98
add app_(un)hilite_fg, which is never parentrelative
Dana Jansens danakj@orodu.net
4685a115
wasted variable
Dana Jansens danakj@orodu.net
6fc8e178
handle parentrel app labels, by using the title's texture instead
Dana Jansens danakj@orodu.net
cee67e17
better more valid C
Dana Jansens danakj@orodu.net
5941c924
80 cols
Dana Jansens danakj@orodu.net
988c0963
start the session shit, and grab the params before grabbing the rest of the parameters (and erroring on invalid ones)
Dana Jansens danakj@orodu.net
49a73ce1
add support for a default icon, but no icon has been made yet.
Dana Jansens danakj@orodu.net
71059fdb
allow building of static libs
Dana Jansens danakj@orodu.net
9caa096a
frame context fallbacks when there is no binding on the context
Dana Jansens danakj@orodu.net
13dbd8cb
requested update from safarial
Dana Jansens danakj@orodu.net
0453a1db
make menu hiding-on-release based on a timer rather than on where it is released (on the frame border)
Dana Jansens danakj@orodu.net
8d68a400
s/milli/micro/
Dana Jansens danakj@orodu.net
36b78531
hide menus before showing a new menu root
Dana Jansens danakj@orodu.net
00f6dea0
keep menus taller than the screen from jittering. also keep the half of the menu you're in visible. more precision would be nicer but meh for now (ever) i guess.
Dana Jansens danakj@orodu.net
32c3e07f
distribute the .pc.in files
Dana Jansens danakj@orodu.net
c6ad57fc
save the new glist!
Dana Jansens danakj@orodu.net
fe2f637e
when the client for an interactive action is closed, kill the action
Dana Jansens danakj@orodu.net
3541c60f
use the current size not the start size for moving
Dana Jansens danakj@orodu.net
7b7bf43f
use the focus client when the client is null for keyboard events
Dana Jansens danakj@orodu.net
396eb330
oops, copypaste
Dana Jansens danakj@orodu.net
d4f19239
dont deref the client before checking for null
Dana Jansens danakj@orodu.net
e1b6c6dd
use theme.show_handle
Dana Jansens danakj@orodu.net
67ba3e2f
more changes
Dana Jansens danakj@orodu.net
3fcba815
save teh client for interactive actions cuz after teh keyboard is grabbed there is no client
Dana Jansens danakj@orodu.net
fbbc4c55
beta2
Dana Jansens danakj@orodu.net
0f6ef588
recent changes
Dana Jansens danakj@orodu.net
8fe0cb89
no more interactive mouse actions, they are evil etc. actions now "feel" much more solid. if move/resizing a window while changing workspaces, it will follow.
Dana Jansens danakj@orodu.net
0f544808
no mouse interactive actions. no bugs.
Dana Jansens danakj@orodu.net
5e38ae49
remove debug prints
Dana Jansens danakj@orodu.net
191f982d
allow a padding.width of 0
Dana Jansens danakj@orodu.net
7d20f6f4
warn about the right shit
Dana Jansens danakj@orodu.net
7f8b8119
remove comment that isnt right anymore
Dana Jansens danakj@orodu.net
a72371b4
bigtime theme changes. bigtime.
Dana Jansens danakj@orodu.net
e68e6c6a
expose focus_cycle_client
Dana Jansens danakj@orodu.net
b8e4eecc
act on the visibly focused window when that differs from the actual focused window
Dana Jansens danakj@orodu.net
3fa11ec6
round 2 for this shit
Dana Jansens danakj@orodu.net
4c0adb1f
flush after resizing a client
Dana Jansens danakj@orodu.net
5bebe5fb
if the client is growing, resize it before the frame. if its shrinking, then resize the frame first. reduces flicker lots.
Dana Jansens danakj@orodu.net
9f2a844b
watch for windows with titlecounts changing their title and getting an incorrect titlecount
Dana Jansens danakj@orodu.net
e9d878f4
oops
Dana Jansens danakj@orodu.net
7cbcc099
some simpler code
Dana Jansens danakj@orodu.net
e5f27bd2
grab the pointer befoer shading a window to prevent focus moving in sloppy focus
Dana Jansens danakj@orodu.net
3942d579
dont reset all the states to FALSE in client_get_state, this made an initial IconicState get ignored
Dana Jansens danakj@orodu.net
58e7af84
oops missed a capitalization
Dana Jansens danakj@orodu.net
ece103b5
add obconf to the menu
Dana Jansens danakj@orodu.net
06877902
flush after drawing each menu item
Dana Jansens danakj@orodu.net
c5b156ef
timeouts are all in millisecond
Dana Jansens danakj@orodu.net
aafa246e
if the menu path starts with a /, then just load it, don't try the prefixes
Dana Jansens danakj@orodu.net
c73bd381
fix autohiding
Dana Jansens danakj@orodu.net
596be502
dont modify the time from the config parser
Dana Jansens danakj@orodu.net
37e75709
make both focusDelay and hideTimeout in milliseconds
Dana Jansens danakj@orodu.net
7eddc480
fix crash when reconfigure changes the stacking layer of the dock
Dana Jansens danakj@orodu.net
46e0be4e
capitalize mouse actions
Dana Jansens danakj@orodu.net
50d70283
move windows around before removing the focus order lists to prevent nasty segfault when it removes a window from an already freed list
Dana Jansens danakj@orodu.net
237cc727
obconf is moving into its own tree
Dana Jansens danakj@orodu.net
84a60ebb
dont use obsolete xmlChildrenNode
Dana Jansens danakj@orodu.net
804b12d4
add my email address
Dana Jansens danakj@orodu.net
bbc22b98
remove obconf from this tree.
add versioning for the libraries and pkgconfig files for them.
Dana Jansens danakj@orodu.net
420cbea6
xflush after rendering
Dana Jansens danakj@orodu.net
78282959
little bit of an actions overhaul, added action_run* so that duplicated code can all be in the same place now woot.
allow actions to specify when they can be used (ShowMenu cant in the OB_USER_ACTION_MENU_SELECTION case)
remove KeyboardMove ad KeyboardResize. Instead, just use Move and Resize and determine if it should be a keyboard move/resize in the code
Dana Jansens danakj@orodu.net
b23594d8
these shoulda been removed long ago
Dana Jansens danakj@orodu.net
09ada49a
\n's at the end of strings passed to ob_debg
Dana Jansens danakj@orodu.net
4bec1c07
Closes #799. i think im too high to say more.
Dana Jansens danakj@orodu.net
261d3193
sync before removing all the enter events. this way it actually catches them
Dana Jansens danakj@orodu.net
a1184b2b
add the margins to the label_height so that the text doesnt cover the bevel/border
Dana Jansens danakj@orodu.net
2811fd19
code style fix
Dana Jansens danakj@orodu.net
8617f504
optimization. don't need a glist where a simple pointer will suffice.
Dana Jansens danakj@orodu.net
88f83fc9
was adding an extra / in ob_expand_tilde
Dana Jansens danakj@orodu.net
3d1e2ab1
when a pipe menu is killed, kill all its submenus as well
Dana Jansens danakj@orodu.net
32b381fb
fix RECT_CONTAINS, name clash
Dana Jansens danakj@orodu.net
4cbfe3ea
new scaling based on the Bresenham algorithm
Dana Jansens danakj@orodu.net
55ed757c
new scaling, based on the Bresenham algorithm
Dana Jansens danakj@orodu.net
cb3aaab1
off by one caused clients to be resized a little during a move
Dana Jansens danakj@orodu.net
d989e3c5
oops missed a !
Dana Jansens danakj@orodu.net
3682b4ec
turn off focusDelay by default
Dana Jansens danakj@orodu.net
755ec08a
move session code out of openbox.c all into session.c
remove --sm-save-file and --sm-client-id from argv so that they dont get reused when doing a restart.
Dana Jansens danakj@orodu.net
bb44e8d0
match the declarations in the header
Dana Jansens danakj@orodu.net
bd41f6ee
ungrab only as many times as we grabbed
Dana Jansens danakj@orodu.net
922580e8
remove the reconfigure popup
Dana Jansens danakj@orodu.net
fcdcd0fa
match the func prototypes in the header
Dana Jansens danakj@orodu.net
78507f20
recent changes
Dana Jansens danakj@orodu.net
1d6e2c13
fix for not using startup notification
Dana Jansens danakj@orodu.net
1ae0583b
recent changes
Dana Jansens danakj@orodu.net
fe407200
recent changes
Dana Jansens danakj@orodu.net
bea06ee1
beta1 time. fuck yah.
Dana Jansens danakj@orodu.net
d3525ece
kill the window mapping.. its not doing anything anyways? whatever..
Dana Jansens danakj@orodu.net
68e8dea9
dont ungrab/grab all the mouse bindings every time a new one is added. just do it once on startup.
Dana Jansens danakj@orodu.net
39b2f712
dont exit when a theme can't be loaded during reconfigure
Dana Jansens danakj@orodu.net
c20a8d98
handle the case where a transient is a child of a dockapp
Dana Jansens danakj@orodu.net
b2a0df8e
don't let move/resize occur on non-visible clients
Dana Jansens danakj@orodu.net
72a99367
display a popup and perform a smooth transition when reconfiguring
Dana Jansens danakj@orodu.net
506fa94d
grab keys on the client windows themselves
Dana Jansens danakj@orodu.net
fafcb6e4
only remove one flash timer at a time, so all frames dont stop flashing just cuz a window closed
Dana Jansens danakj@orodu.net
9102d8a6
remove from desktop_menus when freed
Dana Jansens danakj@orodu.net
f78b849a
use the ob_main_loop_timeout_remove_data to only remove one timer
Dana Jansens danakj@orodu.net
792d3e7a
dont set a strut when there are no apps in the dock
Dana Jansens danakj@orodu.net
e7b2e52b
support getting the desktop from the startup notification protocol
pass on to the startup notification code that a window has mapped with a given wmclass
Dana Jansens danakj@orodu.net
038735d6
add the startup_id
Dana Jansens danakj@orodu.net
973507ff
add the NONE cursor.
remove startup notification code from openbox.c and openbox.h
call the new sn_startup/shutdown for startupnotification.c
Dana Jansens danakj@orodu.net
15450dc7
use NONE cursor when not specifying one
Dana Jansens danakj@orodu.net
5c57e043
remove startup hacks and add startup notification in its own files
Dana Jansens danakj@orodu.net
889c5aab
remove the startup notification code from event.c, it all lives in its own file now
Dana Jansens danakj@orodu.net
2cd1644e
add startup notification in its own .c/.h files
Dana Jansens danakj@orodu.net
ed9dc5dc
use the NONE cursor when not specifying one
Dana Jansens danakj@orodu.net
1df4e327
add ob_main_loop_timeout_remove_data.
make the timeout remove functions remove *all* timeouts that match
Dana Jansens danakj@orodu.net
aae074a1
remove teh startup state saving hacks since we can reconfigure now. no more restarting for the average user anymore.
Dana Jansens danakj@orodu.net
7416313c
remove all the startup notification code from screen.c
Dana Jansens danakj@orodu.net
18b92777
add the startup_id atom
Dana Jansens danakj@orodu.net
9d35b8c1
use the NONE cursor when not specifying a cursor
Dana Jansens danakj@orodu.net
f3661db0
add a NONE cursor, to not change the cursor at all
Dana Jansens danakj@orodu.net
fa706aa7
add reconfigure to the menu
Dana Jansens danakj@orodu.net
806a8c41
add a reconfigure action, also reconfigure on SIGUSR2.
support reconfiguring throughout the entire codebase.
Dana Jansens danakj@orodu.net
40902496
updates for thebear from merry
Dana Jansens danakj@orodu.net
3f372aae
make focusDelay check the destroying window properly before killing the timer
Dana Jansens danakj@orodu.net
e2b79a0b
add default A-space binding for the client menu
Dana Jansens danakj@orodu.net
7b35c016
add teh focusDelay option for mikachu
Dana Jansens danakj@orodu.net
3e7b4478
track the maximum margin of menu items. use this to keep icons in the menus inside the bevel/borders of the menu items
Dana Jansens danakj@orodu.net
99e79c54
recent changes
Dana Jansens danakj@orodu.net
9d743fc4
alpha8
Dana Jansens danakj@orodu.net
418095b4
add the focusDelay option
Dana Jansens danakj@orodu.net
91e04979
dont grab frame context mouse bindings on desktop windows
Dana Jansens danakj@orodu.net
5e5fdb16
make the client destructor a GDestroyNotify
Dana Jansens danakj@orodu.net
2573b519
add themeupdate.py to the distribution
Dana Jansens danakj@orodu.net
7f114f3a
add focus the desktop on left click binding
Dana Jansens danakj@orodu.net
39b3cc1d
rm empty line
Dana Jansens danakj@orodu.net
8419fe8a
limit menus' width to 400px
Dana Jansens danakj@orodu.net
eb603bf1
rename the theme name node from 'theme' to 'name'
Dana Jansens danakj@orodu.net
a89c5d69
fix capitalization and empty tags. cleanup.
Dana Jansens danakj@orodu.net
0bc82469
remove obsolete placement/remember option
Dana Jansens danakj@orodu.net
fbbbd4f9
only show resize popups for clients with size increments. no move popup at all. waste of screen space.
Dana Jansens danakj@orodu.net
bb73f52a
use the provided margins to layout the popup better
Dana Jansens danakj@orodu.net
e9c1e44e
provide a function to give the margins for an appearance
Dana Jansens danakj@orodu.net
5a44164b
make the default screen-edge resistance 20 (double what it is for windows)
Dana Jansens danakj@orodu.net
83c21314
we use the offsets we get from the server, we should use the byte order too..
Dana Jansens danakj@orodu.net
694a628a
remove bad comment
Dana Jansens danakj@orodu.net
d5f823db
more fixes to keep the pointer stuff aligned when doing keyboard move/resize
Dana Jansens danakj@orodu.net
a9c02d62
fix flashing when using keyboard move against the edge of the screen
Dana Jansens danakj@orodu.net
72f31958
interlace is drawn first, so bevels n shit cover it
Dana Jansens danakj@orodu.net
02b0b173
use new menu.bullet.selected.imageColor. use the text colors for the menu mask icons instead of teh bullet color, and set it based on selected/disabled/normal like the text.
Dana Jansens danakj@orodu.net
aeef6569
add menu.bullet.selected.imageColor
Dana Jansens danakj@orodu.net
0223fed1
grab the mouse before any move/resizes in actions, preventing focus from moving when followMouse is on and the window moves/resizes out from under the pointer
Dana Jansens danakj@orodu.net
67f9061a
move the default menu to menu.xml
Dana Jansens danakj@orodu.net
06fb4c73
remove debug prints
Dana Jansens danakj@orodu.net
3b2b0998
remove debug print
Dana Jansens danakj@orodu.net
fffc89c2
remove XXX comment, it was right, now its done :>
Dana Jansens danakj@orodu.net
ac9d8c58
use the new color hash to cache RrColors
Dana Jansens danakj@orodu.net
92feea76
move some internal functions from render.h to instance.h
add a color hash table to the RrInstance
Dana Jansens danakj@orodu.net
2755cf85
remove debug print
Dana Jansens danakj@orodu.net
87342f85
make the segfault swearing more clear
Dana Jansens danakj@orodu.net
8420e478
add comment about the new code in moveresize for size increment windows
Dana Jansens danakj@orodu.net
78dfba01
stop doing stupid shit for the size increments in client_configure, it belongs in the moveresize code. add it there.
Dana Jansens danakj@orodu.net
5cac2437
separate window and screen snapping so only one or the other can be used
Dana Jansens danakj@orodu.net
fa55dc4b
grow to edge is a move and a resize, oops
Dana Jansens danakj@orodu.net
cf40ff87
move rc3 to rc.xml
Dana Jansens danakj@orodu.net
d618c3bc
update for the new theme selections
Dana Jansens danakj@orodu.net
12e1a6c8
make thebear the default theme
Dana Jansens danakj@orodu.net
f58d8b42
add a menu overlap and smaller font size for the menu items
Dana Jansens danakj@orodu.net
5fd23371
add/fix themes for 3.0
Dana Jansens danakj@orodu.net
06252b30
rename back the app_selected appearances to app_hilite
Dana Jansens danakj@orodu.net
bdfb4e35
remove these themes
Dana Jansens danakj@orodu.net
45520c32
some stuff is exact
Dana Jansens danakj@orodu.net
957def11
remove menu.bullet from themes
Dana Jansens danakj@orodu.net
959126d9
show errors on stderr
Dana Jansens danakj@orodu.net
13430ce5
nicer usage output
Dana Jansens danakj@orodu.net
d20fecf5
this move is not final
Dana Jansens danakj@orodu.net
416ee379
make ob_expand_tilde expand all tildes in the string
Dana Jansens danakj@orodu.net
b90b0bea
global valid
Dana Jansens danakj@orodu.net
3cdf906f
more checks, for pixelsize fonts
Dana Jansens danakj@orodu.net
a32fffbb
add more checks, for fonts, and for missing stuff
Dana Jansens danakj@orodu.net
48cc1758
update oldschool .xft.font options from ob2
Dana Jansens danakj@orodu.net
6258e5f7
enable all the tests
Dana Jansens danakj@orodu.net
cdf2d7ea
check for oldschool fonts
Dana Jansens danakj@orodu.net
dd74424f
check window.button.pressed
Dana Jansens danakj@orodu.net
9d1137a6
themeupdate already fixes some recent changes
Dana Jansens danakj@orodu.net
ea949093
couple more xrdb theme format cleanups:
window.focus.font -> window.label.focus.font
window.unfocus.font -> window.label.unfocus.font
window.justify -> window.label.justify
menu.frame.* -> menu.items.*
menu.hilite.* -> menu.selected.*
*.picColor -> *.imageColor
Dana Jansens danakj@orodu.net
7f7378cc
remove an old plugin call
Dana Jansens danakj@orodu.net
f33bbca9
couple more xrdb theme format cleanups:
window.focus.font -> window.label.focus.font
window.unfocus.font -> window.label.unfocus.font
window.justify -> window.label.justify
menu.frame.* -> menu.items.*
menu.hilite.* -> menu.selected.*
*.picColor -> *.imageColor
Dana Jansens danakj@orodu.net
556a4f35
remove the urgent options
Dana Jansens danakj@orodu.net
5dafdaf2
dont crash when flashing a window when it goes away, remove the timer when dying
Dana Jansens danakj@orodu.net
3ab0fc48
flash when urgent
Dana Jansens danakj@orodu.net
ed6f5152
remove vibrate and flash actions
Dana Jansens danakj@orodu.net
bd70fff6
improved frame flashing code, can start and stop it on command
Dana Jansens danakj@orodu.net
169e64da
remove the urgent actions
Dana Jansens danakj@orodu.net
4a107aa4
i rul.. at typos..
Dana Jansens danakj@orodu.net
1d31a09f
copy/free the new interlaced color
Dana Jansens danakj@orodu.net
e91814e9
add interlaceColor, and support interlaced gradients
Dana Jansens danakj@orodu.net
93547b57
add flashing urgent windows
Dana Jansens danakj@orodu.net
1b0a66dc
add flash action
Dana Jansens danakj@orodu.net
0621e229
add code to flash the frame
Dana Jansens danakj@orodu.net
d7b4f1b1
make separators span the width of the entire menu
Dana Jansens danakj@orodu.net
9d42df6a
add urgent actions
add some macros for moving/resizing clients
add 'vibrate' action
Dana Jansens danakj@orodu.net
a1fdeedb
s/expand_tile/ob_expand_tilde/
Dana Jansens danakj@orodu.net
955dfabf
missing 'extern' for a bunch of vars
Dana Jansens danakj@orodu.net
b543af60
move expand_tilde to ob_expand_tilde in openbox.c to make it global.
use it on the command read in the menu parsing for pipe menus.
use it on the command read for execute/restart actions.
Dana Jansens danakj@orodu.net
43c5c01d
parse all the menu files specified
Dana Jansens danakj@orodu.net
8de54d2b
oops, now is in the loop :>
Dana Jansens danakj@orodu.net
5db556c5
get the current time when adding timers
Dana Jansens danakj@orodu.net
eabb24ae
i dont use sed for anything, no need to check for it
Dana Jansens danakj@orodu.net
2c185975
rm some plugin stuff that i missed
Dana Jansens danakj@orodu.net
84de4a17
alpha7
Dana Jansens danakj@orodu.net
0a580a10
changes
Dana Jansens danakj@orodu.net
854da68d
add the DesktopLast action, props to marius nita for this one
Dana Jansens danakj@orodu.net
030fabad
remove debug print
Dana Jansens danakj@orodu.net
ea2f33e9
add a separator in the client-list-menus above iconic windows
Dana Jansens danakj@orodu.net
7b06426b
dont lose the menu selection while puttin the mouse over a separator (properly)
Dana Jansens danakj@orodu.net
d298cfb7
compress events properly
Dana Jansens danakj@orodu.net
49d58ec9
only hide menus if theyre supposed to when executing
Dana Jansens danakj@orodu.net
4ab212d0
make directional focusing an interactive action
Dana Jansens danakj@orodu.net
ba64eb20
the <interactive> tags are no longer needed
Dana Jansens danakj@orodu.net
75c8bec4
make desktop cycling work properly when non-interactive
Dana Jansens danakj@orodu.net
829a9faf
when no modifiers are in a binding, then make it non-interactive
Dana Jansens danakj@orodu.net
0745e2ee
make focus cycling work when not interactive
add focus_directional_cycle
Dana Jansens danakj@orodu.net
01278127
tore did some more actions :)
Dana Jansens danakj@orodu.net
89fb38e1
ungrab keys before grabbnig keys at the next chain level
Dana Jansens danakj@orodu.net
4d9a46be
grab the pointer Async for key grabs, lets key bindings like <execute>xkill</execute> work
Dana Jansens danakj@orodu.net
a991c07b
draw menu separators
Dana Jansens danakj@orodu.net
cd75b454
add RrColorGC
add a LineArt texture type for drawing a line, this is used for drawing the menu separators
Dana Jansens danakj@orodu.net
6e86a42c
use RrColorGC
Dana Jansens danakj@orodu.net
f90167d8
add RrColorGC
Dana Jansens danakj@orodu.net
02045b14
kill a warning
Dana Jansens danakj@orodu.net
3e4495c4
move_onscreen was supposed to go away.. :) thanks mikachu
Dana Jansens danakj@orodu.net
435b9b37
*** empty log message ***
Scott Moynes smoynes@nexus.carleton.ca
d0b9c28d
remove the last of the plugin stuff
Dana Jansens danakj@orodu.net
e10b4aac
add masks from the titlebar buttons to the client menu's options
Dana Jansens danakj@orodu.net
5d4cbbc6
add suppot for showing pixmap masks in menus where the rgba icons go too
Dana Jansens danakj@orodu.net
0185445e
use the nwe theme's show_handle value
Dana Jansens danakj@orodu.net
f97e7133
allow handlewidth of 0, which sets show_handle to false
Dana Jansens danakj@orodu.net
6de84db8
compress motion events
Dana Jansens danakj@orodu.net
50f2037a
bugz, wrong vars
Dana Jansens danakj@orodu.net
6486ba2c
add padding in the menu title too
Dana Jansens danakj@orodu.net
8e76e328
add destructor functions for clients that you acn subscribe with, and use these instead of hardcoding special cases in the unmanage code
Dana Jansens danakj@orodu.net
2c6c0757
make interactive actions a type and not special cases.
add the <interactive> option to them to turn off interactivity
Dana Jansens danakj@orodu.net
009685bc
remove debug print
Dana Jansens danakj@orodu.net
de4f92cc
using the ObMainLoop, which rulz the planet
Dana Jansens danakj@orodu.net
952ca245
put debian menu file first
Dana Jansens danakj@orodu.net
c3b02749
add pipe-menus
Dana Jansens danakj@orodu.net
3ff8eb03
fix grabbing and not releasing with menus
Dana Jansens danakj@orodu.net
8a1e9c64
dont ungrab twice when hiding menus
Dana Jansens danakj@orodu.net
53134db1
properly select the first menu item in the child menu when using the 'right' keycode
Dana Jansens danakj@orodu.net
09f4a0c5
dont keyboard nav onto disabled menu items
Dana Jansens danakj@orodu.net
7317d17c
missing break would be bad in future if added more cases
Dana Jansens danakj@orodu.net
7fbf1f4b
dont need gmodule anymore
Dana Jansens danakj@orodu.net
dcdc325f
ultra-keyboard-controlled-menus
Dana Jansens danakj@orodu.net
43fded6a
fix includes
Dana Jansens danakj@orodu.net
3cbe3680
update which files have translatable strings
Dana Jansens danakj@orodu.net
a6532c3b
the kernel/ dir has been moved to openbox/
Dana Jansens danakj@orodu.net
2a79db16
remove the plugin stuffs
Dana Jansens danakj@orodu.net
6f9cea86
remove a dispatch.h
Dana Jansens danakj@orodu.net
485fbff1
remove plugins from the menu parsing
Dana Jansens danakj@orodu.net
a9567a81
move the client and client-list menus into the 'kernel'
Dana Jansens danakj@orodu.net
f85fea3b
remove the placement plugin
Dana Jansens danakj@orodu.net
3c5f6db0
remove the event dispatcher
Dana Jansens danakj@orodu.net
1ce196c4
add separator above "All desktops"
Dana Jansens danakj@orodu.net
0b4cd7a0
typo, reading from the wrong member of the actiondata union
Dana Jansens danakj@orodu.net
5e06be6a
add window placement routines to the kernel
Dana Jansens danakj@orodu.net
db4b0e62
place submenus with their borders over the parent's
Dana Jansens danakj@orodu.net
73577632
nicer default bullets
Dana Jansens danakj@orodu.net
5fb0a42b
only left-justify menus, remove the menu.frame.justify option
Dana Jansens danakj@orodu.net
700e5513
fix a bunch of memleaks from valgrind and stuff
Dana Jansens danakj@orodu.net
5baa7c80
s/Shade/Roll up\/down/
Dana Jansens danakj@orodu.net
7a48ef1f
s/(Un)//
Dana Jansens danakj@orodu.net
75e948b1
free rgba texture caches
Dana Jansens danakj@orodu.net
d911fbf4
only execute enabled items
Dana Jansens danakj@orodu.net
0e29139b
was not disabling the normal layer when appropriate
Dana Jansens danakj@orodu.net
ec9dd7fd
new method for loading menu files etc
Dana Jansens danakj@orodu.net
fb035e4b
fix crash bug is parsing menu section of the rc3
Dana Jansens danakj@orodu.net
5c63aaa9
missed one thing, using invalid mem still
Dana Jansens danakj@orodu.net
79c99102
make the maximize item toggle maximized
Dana Jansens danakj@orodu.net
9e85e930
fix for using freed memory to exec stuff
Dana Jansens danakj@orodu.net
5efc7236
free the menu entry frames
Dana Jansens danakj@orodu.net
21b07748
wrong action name
Dana Jansens danakj@orodu.net
60fa05f7
rm double ;;
Dana Jansens danakj@orodu.net
15386e86
add icons to the client-list-menu
Dana Jansens danakj@orodu.net
2c263fc8
load the plugins in the rc3 for the menus
Dana Jansens danakj@orodu.net
c34915ae
make submenus not require the menu to exist when they are created, not until they are shown.
crash fix in client_menu
Dana Jansens danakj@orodu.net
f7eb47db
make client-list-menu work too
more menu cleanups
Dana Jansens danakj@orodu.net
ffba11ae
load menu plugins automatically from whats in the menu file
menu fixups
move enabled into the 'normal menu item' specific data stuff
Dana Jansens danakj@orodu.net
615cbd96
change the menu plugin interface, no need for the create/destroy functions any more.
redo the client-menu plugin to work with the new menu api
Dana Jansens danakj@orodu.net
9290376b
add follow option back for sendto actions
Dana Jansens danakj@orodu.net
6f37c38b
split the menus out so they aren't nested in the example
Dana Jansens danakj@orodu.net
c34ef402
half way through the changes to new menu code/design. hot shit. static menus work, on to plugins next.
Dana Jansens danakj@orodu.net
cadab91e
oooops RECT_SET_POINT was broken
Dana Jansens danakj@orodu.net
56cc3dc6
more typo :)
Dana Jansens danakj@orodu.net
d075ca09
typo :)
Dana Jansens danakj@orodu.net
a32c2c12
dont be rude to non-normal windows with keeping them onscreen
Dana Jansens danakj@orodu.net
9a0c3179
fix border on shaded maximized windows
Dana Jansens danakj@orodu.net
8173509e
double deref, props to 'mmj' for spotting this
Dana Jansens danakj@orodu.net
fdfaa0c8
remove the last of the cool stuff thanks to GTK fuck fuck. no more not focusing windows in groups that arent focused on map
Dana Jansens danakj@orodu.net
82513088
blef
Dana Jansens danakj@orodu.net
507e7ac8
type change
Dana Jansens danakj@orodu.net
1a94524b
make --disable-session-management work i think
Dana Jansens danakj@orodu.net
dcb5a38f
dont force fallbacks within groups
Dana Jansens danakj@orodu.net
5186d04c
better handling of maximizing, wrt changing decorations on the windows, and showing the correct decor for the max state especially for windows which dont change size (Xnest) when maximized cuz they are at their maximum size already
Dana Jansens danakj@orodu.net
584656d9
add STRUT_EQUAL
Dana Jansens danakj@orodu.net
7e7efa5c
set the client decorations to match the frame's so that there is not thot to be changes later on whene there were actually none
Dana Jansens danakj@orodu.net
0964b804
restore the stacking order of a saved session
Dana Jansens danakj@orodu.net
486c189d
save the stacking order of the windows, and sort the saved session data based on stacking when it is loaded. make the list public.
Dana Jansens danakj@orodu.net
97e0908f
dont put #define values into the supported atoms list
Dana Jansens danakj@orodu.net
4739cf19
clarify that stacking_below sucks
Dana Jansens danakj@orodu.net
7120face
add stacking_below which moves a window to immediately below another window. use with care it doesn't enforce transient shit etc..
Dana Jansens danakj@orodu.net
496fbac2
better handling of multiple niteractive actions
Dana Jansens danakj@orodu.net
c798c990
better ac macro usage
Dana Jansens danakj@orodu.net
2c467b3f
alpha6
Dana Jansens danakj@orodu.net
659c2c77
recent changes
Dana Jansens danakj@orodu.net
3871fc15
recent changes
Dana Jansens danakj@orodu.net
7a74b4a0
recent changes
Dana Jansens danakj@orodu.net
ecdf24a5
end the other action when starting a new interactive action while one was in place
Dana Jansens danakj@orodu.net
8146cdb6
formatting
Dana Jansens danakj@orodu.net
b95d9779
80 cols
Dana Jansens danakj@orodu.net
a2836527
stupid function name die
Dana Jansens danakj@orodu.net
baa23609
nevermind
Dana Jansens danakj@orodu.net
d7ae443c
default font size one smaller to make default bitmaps fit better
Dana Jansens danakj@orodu.net
c0c06e38
offset of 1 is default
Dana Jansens danakj@orodu.net
c6ea5397
shrink font by a pixel to make the button bitmaps line up nice
Dana Jansens danakj@orodu.net
7b6ca7c2
only use visible windows when calcing for raiselower
Dana Jansens danakj@orodu.net
7755edc3
maybe smarter
Dana Jansens danakj@orodu.net
ca8a3ac7
make the raiselower action smarter
Dana Jansens danakj@orodu.net
faeadd74
make focus and unfocus fonts for window titles. change 'xftfont' to 'font' in the themes.
Dana Jansens danakj@orodu.net
5958e0a0
recent changes
Dana Jansens danakj@orodu.net
d8d1eb53
better handling of starting a new interactive grab while one is in progress
Dana Jansens danakj@orodu.net
a098c243
rename the 'root' context to 'desktop'
Dana Jansens danakj@orodu.net
df79dc57
add the 'raiselower' action for raising obscured windows and lowering fully visible ones
Dana Jansens danakj@orodu.net
a09984bb
add an obscured flag that tracks if the frame is at all obscured
Dana Jansens danakj@orodu.net
888df2e1
shrink the handles
Dana Jansens danakj@orodu.net
d59508ae
use the result from XGetGeometry correctly
Dana Jansens danakj@orodu.net
533992f5
handle the XGetGeomtry failing for button releases
Dana Jansens danakj@orodu.net
9e3d680c
dont grab client context stuff on desktop windows. check that clint is non-null
Dana Jansens danakj@orodu.net
6375df67
grab root mouse bindings on desktop windows also, since they are conceptually the desktop.
Dana Jansens danakj@orodu.net
0844866b
reset first to TRUE properly when the desktop popup is off
Dana Jansens danakj@orodu.net
c4ec27c2
move the pointer while doing a keyboard move/resize
Dana Jansens danakj@orodu.net
ec0bbfec
fix whitespace
Dana Jansens danakj@orodu.net
43c8a3d2
was reading the menu bullet color into the wrong place
Dana Jansens danakj@orodu.net
5c0f10b6
skip windows in the alt-tabbing which have the SKIP_TASKBAR hint set on them
Dana Jansens danakj@orodu.net
70003cec
add the gettext version
Dana Jansens danakj@orodu.net
da39aa66
recent changes
Dana Jansens danakj@orodu.net
d61edbe2
fix the offsets used to keep the menus on screen
Dana Jansens danakj@orodu.net
948c549d
dont show titles on submenus. kill the extra 1px at the top of titleless menus
Dana Jansens danakj@orodu.net
12af0aed
make putting plugin menus in a menu closer to working..
Dana Jansens danakj@orodu.net
a2768682
rename root to root-menu
Dana Jansens danakj@orodu.net
fec178a2
add the client-list-menu
Dana Jansens danakj@orodu.net
cbd0e4d3
add the client_list_menu plugin
Dana Jansens danakj@orodu.net
a88e58e2
add the destructor for menus
Dana Jansens danakj@orodu.net
b0855c19
add a menu destructor callback.
fix a possible crasher where a callback was called with a different menu.
Dana Jansens danakj@orodu.net
1ac6426a
80 cols
Dana Jansens danakj@orodu.net
237a1274
shutdown the menus before the plugins are unloaded
Dana Jansens danakj@orodu.net
888c3d1f
make activate take a here parameter
Dana Jansens danakj@orodu.net
90861d60
parse <here>true</here> for the activate action
Dana Jansens danakj@orodu.net
60bf9dcd
make the activate action have a 'here' parameter
Dana Jansens danakj@orodu.net
99d0b716
add an 'activate' action
Dana Jansens danakj@orodu.net
35ed95fe
move the resistance plugin into the kernel. dont resist when move/resizing with the keyboard, only when doing it with the mouse.
Dana Jansens danakj@orodu.net
950b85b9
oops i fucked up tore's patch. better.
Dana Jansens danakj@orodu.net
e531f690
bug fixes for growtoedge from tore. props to tore for all the growtoedge and movetoedge code, and directional focus code also since i dont think i mentioned his name before in the changelogs woot.
Dana Jansens danakj@orodu.net
10450794
adjust for changes to the parsing api.
split the menu into its own file.
Dana Jansens danakj@orodu.net
9ea78a4e
create ObParseInst structuer which can be then used to parse more than one file/memory thing at a time.
add function to parse memory block.
Dana Jansens danakj@orodu.net
8b67ce70
prefix/capitalize the mouse actions enum
Dana Jansens danakj@orodu.net
555e3384
oops read the mouse cnofig vars into the right place
Dana Jansens danakj@orodu.net
fdc52e87
add the chainQuitKey option to teh <keyboard> section of the rc3
Dana Jansens danakj@orodu.net
83705e52
add Xutil includes for these badboys on older X versions/solaris
Dana Jansens danakj@orodu.net
84a75ac5
make all the masks unsigned chars for consistancy woot
Dana Jansens danakj@orodu.net
f3926a57
kill some warnings
Dana Jansens danakj@orodu.net
35181125
include Xutil for shape.h on old X versions
Dana Jansens danakj@orodu.net
b1d44ac4
rendering fixups for submenu bullets
Dana Jansens danakj@orodu.net
5fe1eb45
add the cyclingDialog option
Dana Jansens danakj@orodu.net
ee26742a
remove the scrolling on root without alt since that fucks up with the dialog since there are no modifiers
Dana Jansens danakj@orodu.net
e1fd32bc
add an option for if the popup is used for desktop cycling. defaults on.
Dana Jansens danakj@orodu.net
f4979de3
dont move windows when starting
Dana Jansens danakj@orodu.net
0b4b4c2b
recent changes
Dana Jansens danakj@orodu.net
154b6fb8
alpha5
Dana Jansens danakj@orodu.net
8008638e
when cancelling return the first desktop
Dana Jansens danakj@orodu.net
e7ae71db
use the new client_directional_edge_search for the movetoedge actions.
add new growtoedge actions.
Dana Jansens danakj@orodu.net
c1f0f7c4
small bugfix to the directional focus code.
add the client_directional_edge_search function.
Dana Jansens danakj@orodu.net
a9ce3ba2
only do shit with the grabbed_* when a grab is in place
Dana Jansens danakj@orodu.net
8529aab6
remove debug printings
Dana Jansens danakj@orodu.net
a414fe42
remove the keyboard plugin shit
Dana Jansens danakj@orodu.net
c90da6da
move the keyboard and mouse plugins into the kernel for mucho sexiness.
make workspace changing a grabbed/interactive process like focus cycling is, with the popup and all.
this is some hot shit.
Dana Jansens danakj@orodu.net
cb49f853
keep event_lasttime at the last time an event has come in so far, don't regress when events come out of order. props to shrimpx for this patch.
Dana Jansens danakj@orodu.net
a4f023cf
Some fixes and new bugs. Someone else can do the menus because it is
clear no one gives a fuck what I think and no one else wants a window
manager that doesn't suck the same balls as every other window manager.
Scott Moynes smoynes@nexus.carleton.ca
d94fba72
save the frame decorations in client_configure_full before causing the fake frame adjust, since that loses its old value.
Dana Jansens danakj@orodu.net
084c66a3
clear the window after setting the background color, this isnt implicit
Dana Jansens danakj@orodu.net
79e189db
changes to the timer api, pass the timer to the callback function.
add a desktop-switch popup with the desktop's name
Dana Jansens danakj@orodu.net
356318b5
include Xlib.h for other platforms
Dana Jansens danakj@orodu.net
164a0953
Fix lock up when not using a session manager and doing fd management.
Scott Moynes smoynes@nexus.carleton.ca
f50c2bc2
missed changing the resize resist function
Dana Jansens danakj@orodu.net
e74fd763
remove the <windows> option from the resistance plugin since window and edge resistance have been separated, a 0 value will work now
Dana Jansens danakj@orodu.net
d987d339
disable the current desktop in the send-to menu
Dana Jansens danakj@orodu.net
fd364fe4
dont ignore topleft layouts
Dana Jansens danakj@orodu.net
8db526a8
missed prefix of define
Dana Jansens danakj@orodu.net
dbaa0c15
pick  the xinerama head of the parent if possible
Dana Jansens danakj@orodu.net
98573846
center parentless dialogs on the screen
Dana Jansens danakj@orodu.net
c9434160
dont map the tl/tr invisible grips when the grip decors are turned off
Dana Jansens danakj@orodu.net
08f1f213
split the increment into a separate macro
Dana Jansens danakj@orodu.net
2494762d
a couple frame layout bugfixes hidden inside all this.. wee
fixes for maximizing windows:
 - when you toggledecor, it will reconfigure once, but the new constraints from the decor changes would not be in effect when the window was resized to the contranits. fixed by calling frame_adjust_area first thing ni client_configure_fulll with fake=TRUE which will recalc all the frame geometry without resizing/redrawing anything in the frame. this way the decor can take effect in the geometries.
 - when maxed horizontally, make the client fill the screen, but dont do this by just making it wider than the screen, fit it to the screen and adjust the titlebar/handle as appropriate to keep it all on the screen.
 - when maxed horizontally and vertically, remove the handle from the decorations
Dana Jansens danakj@orodu.net
853d5f4b
when setting up decor on a window, it needs to reconfigure twice if the decor changes, cuz the constraints need the new frame sizes to work right
Dana Jansens danakj@orodu.net
20aca7fb
make the position dislpayed in the moving popup offset by the top/left struts so that 0,0 is inside teh struts not neccessarily at the screen edge
Dana Jansens danakj@orodu.net
a5f083c1
add more widgets to the main window
Dana Jansens danakj@orodu.net
b06efd10
recent changes
Dana Jansens danakj@orodu.net
26827d87
kill non-opaque move/resize
add an option for redrawing/resizing the client window while resizing, when disabled the client is not touched until the resize is complete.
Dana Jansens danakj@orodu.net
9ba3f7d0
give the plate the same background color as its border
Dana Jansens danakj@orodu.net
7d3127b1
has a pane and list and workarea
Dana Jansens danakj@orodu.net
b874b996
has a menu and a treeview
Dana Jansens danakj@orodu.net
be7c0d42
use the frame size not the client size when figuring out if stuff fits on the screen
Dana Jansens danakj@orodu.net
b4b0c625
let transients go where they requested :( fuck xmms
Dana Jansens danakj@orodu.net
cd647976
add disabled button styles (from miklos)
Dana Jansens danakj@orodu.net
0090ec43
missing sys/time.h
Dana Jansens danakj@orodu.net
5f1259fd
alpha4
Dana Jansens danakj@orodu.net
40c86891
recent changes
Dana Jansens danakj@orodu.net
75bd4795
add the om4ob theme
Dana Jansens danakj@orodu.net
4be3e7e2
recent changes
Dana Jansens danakj@orodu.net
764e0e28
oops indenting
Dana Jansens danakj@orodu.net
ede531da
look in theme dirs first, use the theme as the path as a last attempt only!
Dana Jansens danakj@orodu.net
441041d1
the grips go below the titlebar buttons
Dana Jansens danakj@orodu.net
cb3c457b
place transients better
Dana Jansens danakj@orodu.net
4cd886e5
add partial struts tho they arent useful eyt
Dana Jansens danakj@orodu.net
960a7f01
invisible resizing areas/grips in the top corners of the window
Dana Jansens danakj@orodu.net
824bfd9d
omg i found the bug that would make the mouse cursor end up way far from where you started the drag.
Dana Jansens danakj@orodu.net
3123cf4a
use the toggled mask for shade and desk buttons
Dana Jansens danakj@orodu.net
4a2400c5
that line ended up in teh if somehow...
Dana Jansens danakj@orodu.net
62f1473c
oops buttons not keycodes
Dana Jansens danakj@orodu.net
e3521c23
if a dock app has a button grabbed already then dont die
Dana Jansens danakj@orodu.net
b9802177
look for masks only where the themerc was read from
Dana Jansens danakj@orodu.net
0c2ee993
rename stick bitmaps to desk
Dana Jansens danakj@orodu.net
b972055c
rename stick buttons to desk
Dana Jansens danakj@orodu.net
f407b5d8
add pressed bitmaps. rename stick bitmaps to desk
Dana Jansens danakj@orodu.net
2b72e5d0
add toggled textuers for titlebar buttons
Dana Jansens danakj@orodu.net
dd3ca168
make obconf_interface.h belong to the obconf sources
Dana Jansens danakj@orodu.net
3a26c8aa
move the dekstop file to data/
Dana Jansens danakj@orodu.net
c05ad7a3
install the .desktop file again
Dana Jansens danakj@orodu.net
c757753a
remove old stuff
Dana Jansens danakj@orodu.net
d6559d02
install greenz theme
Dana Jansens danakj@orodu.net
ce4ae7e8
remove old _data shit
Dana Jansens danakj@orodu.net
6b606a09
s/_t.xbm/_toggled.xbm/
Dana Jansens danakj@orodu.net
d4170da0
renamed the _t bitmaps, and added disabled and hover bitmaps
Dana Jansens danakj@orodu.net
4d9bd88f
make themes inside a directory
Dana Jansens danakj@orodu.net
759565a7
add the kdetrayproxy tool
Dana Jansens danakj@orodu.net
12a4cc4c
configre teh dock after finding the new screen sizes
Dana Jansens danakj@orodu.net
bfd20c7a
compile fixes
Dana Jansens danakj@orodu.net
5101e89d
add missing includes
Dana Jansens danakj@orodu.net
1ffbf75f
recent changes
Dana Jansens danakj@orodu.net
34064ae3
alpha3
Dana Jansens danakj@orodu.net
c68f0a0f
fix a long-lurknig gravity bug
Dana Jansens danakj@orodu.net
336cef80
dont inlcude these headers they arent needed yet
Dana Jansens danakj@orodu.net
14433420
recent changes
Dana Jansens danakj@orodu.net
5301ee3c
oops missed one
Dana Jansens danakj@orodu.net
52a6fc08
expose exit_with_error
Dana Jansens danakj@orodu.net
732990d2
kill warnings
Dana Jansens danakj@orodu.net
860020c1
kill some output
Dana Jansens danakj@orodu.net
e5afb0db
only load the session from file if a file was provided
Dana Jansens danakj@orodu.net
36056a69
missing a header
Dana Jansens danakj@orodu.net
c9759edb
remove shit i no longer use
Dana Jansens danakj@orodu.net
577ae81f
always return a string from parse_string
Dana Jansens danakj@orodu.net
c8fa3a60
set the desktop hint if the desktop is changed by the session code
Dana Jansens danakj@orodu.net
d7f3d16f
set the desktop hint after everything is read/setup even session stuff
Dana Jansens danakj@orodu.net
717d10f3
add the window to the lists before setting the client list hint
Dana Jansens danakj@orodu.net
e75ad73c
declare functions that are needed when built without session support
Dana Jansens danakj@orodu.net
d9cc4f65
use the new sm_client_id function so all windows who should save state do. session save/load seems to be working with gnome-session rather well.
Dana Jansens danakj@orodu.net
02c15aca
add a function to retrieve the sm_client_id value
Dana Jansens danakj@orodu.net
07b38ba2
dont save/load history. its slow and its stupid.
Dana Jansens danakj@orodu.net
9c1438f1
restore saved session data for applications
Dana Jansens danakj@orodu.net
07b66ee1
center transients
Dana Jansens danakj@orodu.net
54ad34a0
move the titlebar layout from the theme to the rc file
Dana Jansens danakj@orodu.net
9e9e6278
attemp #3
Dana Jansens danakj@orodu.net
f3467381
attempt #2 at better logical size values
Dana Jansens danakj@orodu.net
0a809d36
attempt #2 at better logical size values
Dana Jansens danakj@orodu.net
c852826e
include the base size in the logical size
Dana Jansens danakj@orodu.net
db6bb056
recent changes
Dana Jansens danakj@orodu.net
006de2ab
the size can be 0 when there is a base size
Dana Jansens danakj@orodu.net
1aa0bc66
improved ICCCM compliance!
  a) send ConfigureNotify back to the client as required by the ICCCM in all sitatuations.
  b) send the corrent coords in the ConfigureNotify, including the border width
  c) remove the WM_STATE property when unmanaging a window
Dana Jansens danakj@orodu.net
b8ba52fa
code cleaning
Dana Jansens danakj@orodu.net
40c3228f
only ignore wheel buttons
Dana Jansens danakj@orodu.net
64884e43
i am the king of copy/paste errors
Dana Jansens danakj@orodu.net
df0f0084
more menu fixes.
I hate menus.
Scott Moynes smoynes@nexus.carleton.ca
3b62c85b
Clear current_menu when hiding menus.
Scott Moynes smoynes@nexus.carleton.ca
dd33644d
Close menu properly on unbound keys.
Scott Moynes smoynes@nexus.carleton.ca
f6ad401d
Fix some keyboard control issues.
Scott Moynes smoynes@nexus.carleton.ca
b799cfd9
base rudeness on if they have a strut even smarter!
Dana Jansens danakj@orodu.net
067776e7
base rudeness on if they have a strut or not
Dana Jansens danakj@orodu.net
4d82dd30
make the new placement restrictions not affect !normal windows like panels
Dana Jansens danakj@orodu.net
e6486bff
use plugin_open_reopen not plugin_open_full
Dana Jansens danakj@orodu.net
4de5230c
typo thanks merry
Dana Jansens danakj@orodu.net
74210651
hover theme elements for window titlebar buttons
Dana Jansens danakj@orodu.net
95051612
make those apps stay/map on screen!! fuck stupid apps. thats right im talking to you mozilla and you too java.
Dana Jansens danakj@orodu.net
d8d2fd71
make things compile again. hover does not work yet.
Dana Jansens danakj@orodu.net
09f178aa
use the macro
Dana Jansens danakj@orodu.net
eb1fb558
keep apps from moving/maping their titlebar underneath left/top panels
Dana Jansens danakj@orodu.net
7da335f9
set teh clone comamnd
Dana Jansens danakj@orodu.net
7b00edb3
use char not a long, since we're telling the SM that its 1 byte lone
Dana Jansens danakj@orodu.net
4d7a7d9d
save the commands on startup
Dana Jansens danakj@orodu.net
f531b18a
use the path properly for the session file
Dana Jansens danakj@orodu.net
ecab6fe3
use teh save file not the session id
Dana Jansens danakj@orodu.net
73374510
demand load plugins from the menu
Scott Moynes smoynes@nexus.carleton.ca
f37a9190
Menu stuff.
Testing may begin.
Scott Moynes smoynes@nexus.carleton.ca
632b2af7
fix mem leaks/crashes
Dana Jansens danakj@orodu.net
2eb57214
add pressed colors for buttons
Dana Jansens danakj@orodu.net
b8715ba3
Close menu on click if outside the menu.
I think, haven't tested.
Scott Moynes smoynes@nexus.carleton.ca
70299501
more fixes
Scott Moynes smoynes@nexus.carleton.ca
42009bd0
make errors non-modal
Dana Jansens danakj@orodu.net
a354b0f5
restarting work on obconf
Dana Jansens danakj@orodu.net
c4275bef
recent changes
Dana Jansens danakj@orodu.net
5d58b4ff
split resistance strengths for screen edges and windows. also a fix for parsing changes,
Dana Jansens danakj@orodu.net
364dfe10
dont stack groups together
Dana Jansens danakj@orodu.net
61176f75
the parsing shit changed but this didnt yet
Dana Jansens danakj@orodu.net
3c92311b
Some menu updates.
Don't talk to me about menus.
Scott Moynes smoynes@nexus.carleton.ca
11cde968
add client_search_transient which searches the tree from a client down for a client
Dana Jansens danakj@orodu.net
399952e5
dont allow parentrelative on top-level appearances
Dana Jansens danakj@orodu.net
1afc4180
stacking fixes
Dana Jansens danakj@orodu.net
2064042d
lwindow needs a type
Dana Jansens danakj@orodu.net
04a44af3
save and load the session save file, though its data is not used yet!
Dana Jansens danakj@orodu.net
f3b42e60
double clicks only work on the same window with both clicks
Dana Jansens danakj@orodu.net
d51702af
I had a commit message but my commit got stepped on so fuck it.
No one cares what I think anyway.
If the menu navigation isn't EXACTLY FUCKING RIGHT I WILL REMOVE IT
AND SOME OTHER POOR FUCK CAN PUT UP WITH ALL THE FUCKING BULLSHIT.
Scott Moynes smoynes@nexus.carleton.ca
5973fb03
updates to changelog
Dana Jansens danakj@orodu.net
0de9685d
dont display the build type at the end its already in the output
Dana Jansens danakj@orodu.net
5be0a82a
use ob_debug for any debug printing and only display the output when its a debug build or when --debug is passed to it
Dana Jansens danakj@orodu.net
230abdc5
draw the bevel stuff in the pixel data buffer so parent-relative stuff can use it.
Dana Jansens danakj@orodu.net
159ef958
space
Dana Jansens danakj@orodu.net
9352747a
init the parent shit in the surface when making a copy
Dana Jansens danakj@orodu.net
aca18d48
use rm -f
Dana Jansens danakj@orodu.net
2603255b
declare vars at top
Dana Jansens danakj@orodu.net
03186a7b
i already fixed this once :) var declarations go first
Dana Jansens danakj@orodu.net
2c92ab76
include obconf_interface.h in the dist
Dana Jansens danakj@orodu.net
0554ab0c
remove headers that dont exist
Dana Jansens danakj@orodu.net
05c0cd5c
add the include menu plugin
Dana Jansens danakj@orodu.net
a60d6a6d
add the new m4s
Dana Jansens danakj@orodu.net
b52b5a6f
Timed menu updates. Still needs work.
Scott Moynes smoynes@nexus.carleton.ca
d03c1afa
Better placement of the client window. Might need some tweaking.
Scott Moynes smoynes@nexus.carleton.ca
b6e3e1bc
unhilite the entry for the submenu when it is closed
Dana Jansens danakj@orodu.net
3578c185
alpha2
Dana Jansens danakj@orodu.net
1466a4a8
add hover
Dana Jansens danakj@orodu.net
68c910b1
Added include_menu.c as an example of how one could write a plugin.
Scott Moynes smoynes@nexus.carleton.ca
0e69ae2b
* Change xml parsing to pass the parent node, rather than the first
child.
* Add x,y co-ordinates on showmenu action so we can place menus on keypress.
Scott Moynes smoynes@nexus.carleton.ca
84583322
add the --replace command line option, and support for the WM_Sn selection
Dana Jansens danakj@orodu.net
6a7d4de7
add the MANAGER atom.
allow prop_message to be used with a user-defined mask instead of only with the NetWM mask
Dana Jansens danakj@orodu.net
221415e9
set the x/y values in the moveresize struct for moveresize key actions
Dana Jansens danakj@orodu.net
a057d14c
stop shownig the desktop when a new window maps
Dana Jansens danakj@orodu.net
56527d41
add a func to find a menu entry from a submenu.
keep menu entries highlighted while they have their submenu open
Dana Jansens danakj@orodu.net
31cdb959
add a func to find a menu entry from a submenu
Dana Jansens danakj@orodu.net
3340aaeb
declare vars at the top of the block
Dana Jansens danakj@orodu.net
ea6258ce
add a menuOverlap property to themes, and use it in the submenu placement
Dana Jansens danakj@orodu.net
463c0004
update to new version of gettext
Dana Jansens danakj@orodu.net
a55c3ae6
more stuff to ignore
Dana Jansens danakj@orodu.net
ea538507
Keyboard navigatable menus
Scott Moynes smoynes@nexus.carleton.ca
e9a8e272
Fix a couple memory leaks.
Scott Moynes smoynes@nexus.carleton.ca
fd19711e
If there is a pid="true" attribute in the <menu plugin="fifo_menu">
tag, append .pid to the fifo files. This allows for more than one
openbox to be run by the same user and use fifo menus.
Scott Moynes smoynes@nexus.carleton.ca
22ff8c58
Menu parsing updates for plugins.

FIFO menus are the only plugin that takes advantage of this.
Example:
<menu id="root" label="Openbox 3">
  <menu id="fonk" label="fonk" plugin="fifo_menu">
  </menu>
</menu>

This creates a FIFO ~/.openbox/fifo_menu/fonk to which you can send
menus to. The menus sent to it must be like
<fifo>
  <item>
   etc...
</fifo>

I think. If my memory serves me right.

It is all hideous, but I just wanted to experiment and see if it was
possible.
Scott Moynes smoynes@nexus.carleton.ca
5fce7824
useless code move
Dana Jansens danakj@orodu.net
4c1641bf
simple code cleanup
Dana Jansens danakj@orodu.net
70a38951
removed the RrEndian so using LSBFirst always now. hopefully this works!
Dana Jansens danakj@orodu.net
9d7244e6
when a transient maps on another desktop, give it focus when it deserves it
Dana Jansens danakj@orodu.net
6fdf481b
same default offsets for all endian machines
Dana Jansens danakj@orodu.net
6f1c3223
some input from woobie and changed the menu stuff
Dana Jansens danakj@orodu.net
b0aefaf5
extra menu tag
Dana Jansens danakj@orodu.net
d3454e32
add --g-fatal-warnings
Dana Jansens danakj@orodu.net
1546430f
fix a seggie i introduced, going too far in the dockapps list
Dana Jansens danakj@orodu.net
fdbeee7e
attempt #2
Dana Jansens danakj@orodu.net
f5f7e84a
oops extra menu_layout
Dana Jansens danakj@orodu.net
c920b476
a full style defn..
Dana Jansens danakj@orodu.net
130a4271
move to the desktop of the activated window
Dana Jansens danakj@orodu.net
81af5a8b
add disabled buttons, instead of now showing buttons at all when they wont do anything, now show a disabled button instead. this severely breaks compatibility with blackbox themes since there is no good way to automiatically create a disabled button that i can think of, so if they dont exist in the theme you get black and white for the button.

when a window cant be resized, its handle is not removed but its grips are.

change allowing the user to disable individual decorations as that is overkill,
instead allow a toggle through the client.decorate boolean.
Dana Jansens danakj@orodu.net
b0e8e276
readd the Makefile
Dana Jansens danakj@orodu.net
32bf0522
readd the Makefile
Dana Jansens danakj@orodu.net
11262940
simply startup/shutdown
Dana Jansens danakj@orodu.net
c868e91f
add some more contributors
Dana Jansens danakj@orodu.net
3044e871
sync is in unistd.h
Dana Jansens danakj@orodu.net
a95dc346
prefix and capitalize ObMenu ObMenuEntry and ObMenuEntryRenderType
make the ObMenuEntryRenderType a standard enum instead bitflags
Dana Jansens danakj@orodu.net
1ffc7fa9
move ob_pointer_pos to screen_pointer_pos
Dana Jansens danakj@orodu.net
bddbe943
make ob_state a function so it cant be changed outside of openbox.c
Dana Jansens danakj@orodu.net
35418ca0
remove the ob_root var, its redundant of what Xlib already provides
Dana Jansens danakj@orodu.net
ec908528
use gint
Dana Jansens danakj@orodu.net
a46b4ee4
ob_remote has been killed, remove ob_sync from the public header, its only used internally
Dana Jansens danakj@orodu.net
6c39d268
the --rc arg and rc_path var wasnt even being used so just rm it
Dana Jansens danakj@orodu.net
eea43e64
make the ob_restart/shutdown stuff static vars and expose them only through functions ob_restart_other(), ob_restart() and ob_exit()
Dana Jansens danakj@orodu.net
452f3f8a
remove useless include
Dana Jansens danakj@orodu.net
d1d84711
replace the focus_backup with the screen_support_win, we dont need 2 offscreen windows.
Dana Jansens danakj@orodu.net
120623d3
use the xerror stuff to trap errors instead of dupliacted the effort here
Dana Jansens danakj@orodu.net
85112c4d
prefix the Timer->ObTimer and TimeoutHandler->ObTimeoutHandler shitz
Dana Jansens danakj@orodu.net
122d55fb
prefixing and capitalizing the StackLayer -> ObStackingLayer enum.
less includes in headers for less rebuilding on changes
Dana Jansens danakj@orodu.net
59f318e8
prefix and capitalize the ObFocusFallbackType enum
Dana Jansens danakj@orodu.net
5c2e4cce
use the ObOrientation enum instead of a horz bool for configuring the dock's orientation
Dana Jansens danakj@orodu.net
d206303a
prefixing for the dock. use ObDirection instead of dupliacting it in another enum for the dock's placement
Dana Jansens danakj@orodu.net
33a2cdbe
prefixing for the Popup->ObPopup struct
Dana Jansens danakj@orodu.net
06d3487d
dont need client.h in this header
Dana Jansens danakj@orodu.net
7d943a95
prefixing and capitalization for the Frame->ObFrame struct and the Context->ObFrameContext enum and its constants.
Dana Jansens danakj@orodu.net
5be23ec5
prefix Group to ObGroup
Dana Jansens danakj@orodu.net
e4be1f86
prefix TRAN_GROUP to OB_TRAN_GROUP
Dana Jansens danakj@orodu.net
4736c257
prefix and capitalize some more constants/enums in client.h (Function -> ObFunctions and WindowType -> ObClientType)
Dana Jansens danakj@orodu.net
ad45ecb6
kill warnings
Dana Jansens danakj@orodu.net
2477a38d
rename the Client struct to ObClient
Dana Jansens danakj@orodu.net
375b5049
add the new misc.h and mwm.h to the kernel sources
Dana Jansens danakj@orodu.net
b42ef736
add a mwm.h for the mwm hint structure and flags.
use proper prefixing and capitalization for the new mwm stuff.
Dana Jansens danakj@orodu.net
276b2be5
add misc.h with some standard enumerations with proper prefixing and capitalizations.

use the new enums throughout.

provide keycodes and cursors through ob_cursor and ob_keycode functions, which use the new misc.h enums for picking the cursor and keycode.
Dana Jansens danakj@orodu.net
6357583c
rename 'xinerama' stuff to 'monitors' to be more generic and descriptive.
Dana Jansens danakj@orodu.net
416b9d5f
speed up pick_group_windows too
Dana Jansens danakj@orodu.net
38d3cad2
make pick_windows waaaay faster
Dana Jansens danakj@orodu.net
7f19b99a
remove the use of the BINARY define. kill a compiler warning.
Dana Jansens danakj@orodu.net
f0b09e26
allow restacking of transients above one another
Dana Jansens danakj@orodu.net
bd15aab8
put the transient's title before the parent's in the focus popup
Dana Jansens danakj@orodu.net
9cc08630
remove the xinerama active boolean, just count the extension as not present if it is not active
Dana Jansens danakj@orodu.net
0719843c
add client_search_top_transient.
keep transients all on the same desktop together. use client_search_top_transient where possible in client.c
Dana Jansens danakj@orodu.net
d2a628a4
add ob_debug for printing stuff only when debug is enabled
Dana Jansens danakj@orodu.net
bcc090ec
these havent been used for a long time.. ;) old parsing shit be gone
Dana Jansens danakj@orodu.net
58be655d
remove rependancy on geom.h from the kernel, provide what is used in its own geom.h
Dana Jansens danakj@orodu.net
2abbf011
update the build system, using a single Makefile.am for a sexyass non-recursive make. booyah!
Dana Jansens danakj@orodu.net
425b1734
move the gettext header out to the root source dir
Dana Jansens danakj@orodu.net
7f44ed53
include stdlib for exit()
Dana Jansens danakj@orodu.net
9b0e134d
add ACLOCAL_FLAGS to the aclocal call.
Dana Jansens danakj@orodu.net
5d1718b8
use --foo instead of -foo for cmd line arguments
Dana Jansens danakj@orodu.net
ce940eee
try some better default offsets for big endian machines.
print what the conversion is so i can see what it should be if im wrong though
Dana Jansens danakj@orodu.net
41d72ee5
used RrColorShift when RrColorOffset was what we wanted
Dana Jansens danakj@orodu.net
3bca7645
coment the USE_LIBSN defined variable
Dana Jansens danakj@orodu.net
c6945c13
rename the raise and lower functions. raise is claimed by signal.h already
Dana Jansens danakj@orodu.net
bbc2fa53
set te strut smaller when autohide is on
Dana Jansens danakj@orodu.net
19df0324
Makes a simple click not so accidently annoying by making it not
execute a menu action if nothing is highlighted.
Scott Moynes smoynes@nexus.carleton.ca
1a3bcbdd
messed up the indexes while finding the combined size of all xineerama heads
Dana Jansens danakj@orodu.net
e2b245dc
oops, i want the max edges to find the full area
Dana Jansens danakj@orodu.net
bc12dc05
using a changelog generated off of CVS
Dana Jansens danakj@orodu.net
953b68a1
Remove menu plugins because they are stupid and don't work.
Scott Moynes smoynes@nexus.carleton.ca
f544273e
the prop_get_strings_locale function looked for a utf8 typed property
Dana Jansens danakj@orodu.net
1cacfa85
add some comments and asserts to make sure I don't ever add this bug again
Dana Jansens danakj@orodu.net
dd80df31
create the popup's window before adding it to the stacking list, so that it is stacked properly and doesnt wreck everything
Dana Jansens danakj@orodu.net
2f9efb38
prepare for alpha1 release.
make 'make dist' work.
Dana Jansens danakj@orodu.net
6923e537
add a makefile so i can put stuff into the make dist
Dana Jansens danakj@orodu.net
1052ca3f
python support is gone
Dana Jansens danakj@orodu.net
f7c327c5
we dont really have any translatable stuff yet but this was pointing at old cpp shit
Dana Jansens danakj@orodu.net
af8c5f51
use strcmp instead of collate, since collate is slower and we're only doing an == check
Dana Jansens danakj@orodu.net
82bbaf4c
these are old and not used anymore
Dana Jansens danakj@orodu.net
9d896233
missed setting 'current' at the end of the pyramid gradient
Dana Jansens danakj@orodu.net
2fa7129c
waste of energy in stacking_add, and it even caused bugs. woops.
Dana Jansens danakj@orodu.net
8de13a41
Update the send-to window only if the workspaces have changed.
Scott Moynes smoynes@nexus.carleton.ca
71b7b043
Handle menu events a little better: don't bother updating a submenu on
mouseover if it is already open, and call update on menus, even if
they aren't marked as invalid.
Scott Moynes smoynes@nexus.carleton.ca
1ff04257
use fprintf not g_message in the signal handler. no mallocing allowed.
Dana Jansens danakj@orodu.net
121afb76
remove debug print
Dana Jansens danakj@orodu.net
52b99477
set the values of the array at teh right indexes
Dana Jansens danakj@orodu.net
7837faa3
fix memory bugs
Dana Jansens danakj@orodu.net
90b220db
remove the switch to... menu
Dana Jansens danakj@orodu.net
1bb7a5f8
don't destroy font patterns, i think this is a double free
Dana Jansens danakj@orodu.net
b23fa507
put group members above the window when lowering it
Dana Jansens danakj@orodu.net
4695749a
set the stacking list when stacking changes
Dana Jansens danakj@orodu.net
af3fa4a6
ignore the generated makefiles
Dana Jansens danakj@orodu.net
6d0d75cd
add the makefiles for the themes' data dirs
Dana Jansens danakj@orodu.net
527af766
add the themes path to the struct. make the name never include a path
Dana Jansens danakj@orodu.net
68a2b6a8
adjust the themes with buttons to match how they are read now
Dana Jansens danakj@orodu.net
7a310955
simplify this shit
Dana Jansens danakj@orodu.net
c109dcd6
hardcode the button names for themes
Dana Jansens danakj@orodu.net
8a049a6d
dont need to raise after adding
Dana Jansens danakj@orodu.net
0a459f7a
rename the button_dir var to data_dir.. pointless :>
Dana Jansens danakj@orodu.net
bbe0e7da
snap to all heads the window is present on
Dana Jansens danakj@orodu.net
05a850b8
build 'openbox' instead of 'openbox3'.
add the openbox.desktop file for gnome compat.
Dana Jansens danakj@orodu.net
1821fb49
set "Openbox" as the name no "Openbox3"
Dana Jansens danakj@orodu.net
7e777c7c
add a .desktop file which gets installed for gnome
Dana Jansens danakj@orodu.net
ea8c154e
add the openbox binary
Dana Jansens danakj@orodu.net
083afe5e
add a call to g_set_prgname
Dana Jansens danakj@orodu.net
c170d2f7
stacking changes, its more like the old code without being shitty and with support for raising groups at a time.
Dana Jansens danakj@orodu.net
a9bc0916
core when the list gets out of order
Dana Jansens danakj@orodu.net
34e81973
xinerama support
Dana Jansens danakj@orodu.net
d0abbec2
root menu on right click
Dana Jansens danakj@orodu.net
e846063f
4 space indents
Dana Jansens danakj@orodu.net
f6b19a1d
return true when ungrabbing so that it can ungrab them all on shutdown
Dana Jansens danakj@orodu.net
81cf4699
set ret to true when grabbing and we alerady have it grabbed
Dana Jansens danakj@orodu.net
15c77071
dont destroy the match pattern, it seems that Xft holds onto the pointer
Dana Jansens danakj@orodu.net
22112d2b
check that extensions_vidmode is set before trying to use the vidmode functions
Dana Jansens danakj@orodu.net
20523853
if grab fails dont set grabbed_key
Dana Jansens danakj@orodu.net
d3dd25a5
return FALSE if a grab fails
Dana Jansens danakj@orodu.net
da24f915
set the desktop hint when the window already has a hint but its out of range
Dana Jansens danakj@orodu.net
0423b057
clear the over item in the menu when executing shit
Dana Jansens danakj@orodu.net
9c8ee186
add NUM_STACKLAYER, fix some comments that dont apply
Dana Jansens danakj@orodu.net
0443796e
remove unused variable
Dana Jansens danakj@orodu.net
ba76ffaa
remove/add instead of raising to put a window into a new layer
Dana Jansens danakj@orodu.net
794ce0e0
new stacking code that doesnt suck ass to look at, woot
Dana Jansens danakj@orodu.net
e39762b0
use the minsize to keep the stuff ni the dock off of the bevel edges etc
Dana Jansens danakj@orodu.net
bf2f0c58
add comment
Dana Jansens danakj@orodu.net
a12e73cf
read fonts and titlebar layout from theme files
Dana Jansens danakj@orodu.net
5410a9d1
add right click on icon to open the client menu
Dana Jansens danakj@orodu.net
c791cbfd
set teh X so it gets used right
Dana Jansens danakj@orodu.net
0901ddf8
keep a small space on the sides of windows between the edge and the text
Dana Jansens danakj@orodu.net
54962740
only render if there was an over existing
Dana Jansens danakj@orodu.net
7af1c6a9
menus grab the keyboard and pointer, thus making only one menu visible at a time, and making them act like gtk menus and * menus do, where you can click and drag and release to select something as well as click-release to elave it open while you search around the menu
Dana Jansens danakj@orodu.net
32c51bb4
show the client meun on "press" on the icon
Dana Jansens danakj@orodu.net
487c0a4a
use the stock shownig method for the client menu for now, makes it pop up under the cursor so a click-release works like expected
Dana Jansens danakj@orodu.net
0e9c5049
use the alst button press for clicks instead of teh fisrt. it make sno diff to me really and this makes it work when you grab the pointer on the click, without leaving the mouse plugin in a weird state.
Dana Jansens danakj@orodu.net
4b90b241
grab all motion events for pointer grabs
Dana Jansens danakj@orodu.net
a3857023
position submenus correctly horizontally
Dana Jansens danakj@orodu.net
b61a41c6
menus were too short by a border width
Dana Jansens danakj@orodu.net
6dd3ee72
check to make sure the window is on screen *after* positioning it
Dana Jansens danakj@orodu.net
5cd0ed57
do horz grads without any multipliaction
Dana Jansens danakj@orodu.net
1e882b62
made all the gradients work with integer math. removed the pipecross and rectangle gradietns tho cuz they are ugly and i dont want to code that bullshit cuz they are ugly.
Dana Jansens danakj@orodu.net
dc60657a
integer math for gradients. horz vert and diags and pipecross work so far.
Dana Jansens danakj@orodu.net
76aeb9b2
add a simple menu parser.
while menu parsing, the theme does not exist so we can't do any theme stuff while creating menu stuff, so put that off for later, i.e when the menu is shown.
Dana Jansens danakj@orodu.net
197988af
reorder startup so menu goes before config parsing
Dana Jansens danakj@orodu.net
17a85c1c
add a root menu
Dana Jansens danakj@orodu.net
069e9607
add decoration state to the frame struct. make client_configure adjust the frame if the decorations do not match between the client and the frame, so that when they change it can send a configurenotify to the client.
Dana Jansens danakj@orodu.net
d0857565
make client_reconfigure a non-user-type client_configure
Dana Jansens danakj@orodu.net
75b23047
strdup the exec path cuz it gets freed by the time we restart otherwise
Dana Jansens danakj@orodu.net
77062863
moveresize messages are not user-requests
Dana Jansens danakj@orodu.net
7e83fa08
remove debug print
Dana Jansens danakj@orodu.net
716477fc
send teh configure event to client on user-requested final configures even if not moved, cuz usualy the final isnt sent with a change, but just to end the move process.
Dana Jansens danakj@orodu.net
0a8fa636
always create the bg pixmap, X seems to not like it if i dont?
Dana Jansens danakj@orodu.net
bab8b41f
always use the session id from the session manager when setting the restart property
Dana Jansens danakj@orodu.net
4cf23f53
add -sm-disable option
Dana Jansens danakj@orodu.net
7f2550e0
only show -sm-client-id in the help when session management is build in
Dana Jansens danakj@orodu.net
e6739af2
session management works, and it can resume with its old ID, so it works with gnome-session
Dana Jansens danakj@orodu.net
373a4584
make session management optional
Dana Jansens danakj@orodu.net
9befe65a
set the required properties so that session managers see openbox
Dana Jansens danakj@orodu.net
dc92dbfc
don't exit in the render lib, rather return a NULL font/theme on failure
Dana Jansens danakj@orodu.net
b3e9fea1
add libSM *client* support, so we should work with gnome-session now!
Dana Jansens danakj@orodu.net
5929a63f
more namespacing with Rr*
Dana Jansens danakj@orodu.net
bb6b616b
more namespacing with Rr*
Dana Jansens danakj@orodu.net
16066ed2
use the pseudo shit in the instance now
Dana Jansens danakj@orodu.net
768c3cd4
more namespacing with Rr*
Dana Jansens danakj@orodu.net
33ec08ea
more namespacing with Rr*
Dana Jansens danakj@orodu.net
ae9aed85
dont use .. in include paths
Dana Jansens danakj@orodu.net
c100b72c
more namespacing with Rr*
Dana Jansens danakj@orodu.net
4541959b
kill a warning
Dana Jansens danakj@orodu.net
dbe2851b
more namespacing to Rr*
Dana Jansens danakj@orodu.net
10232a43
fix a warning
Dana Jansens danakj@orodu.net
092616de
rename pixel32/16 to RrPixel32/16
Dana Jansens danakj@orodu.net
bd595767
rename color_rgb to RrColor
Dana Jansens danakj@orodu.net
b1f55552
put the render theme into a struct
Dana Jansens danakj@orodu.net
a4a0cb78
fixed to accomodate the changes to the render/ API.
Dana Jansens danakj@orodu.net
3f32dfa8
this is going to break the kernel/ building.

lots of modifications to the render API, prefixing everything, making proper
names for everything. the structures are not hidden/opaque yet, but the naming scheme of the public API works much better now.
Dana Jansens danakj@orodu.net
49268650
oops typo
Dana Jansens danakj@orodu.net
62240d2b
take the bevel width into account for the width available
Dana Jansens danakj@orodu.net
f90ee94d
position the client menu right
Dana Jansens danakj@orodu.net
cd12a2ea
simply the render interface by not requiring the setting of all the areas. only take a w and h in paint(). best font layout ever.
Dana Jansens danakj@orodu.net
349d0167
miklos does themes like mad
Dana Jansens danakj@orodu.net
ad30e709
slight optimizations, and make the last 4 gradients work properly
Dana Jansens danakj@orodu.net
fd52dc5d
center text vertically. use the font's height because all that space is needed for some charcters
Dana Jansens danakj@orodu.net
6e93be1d
remove non-planar surfaces
Dana Jansens danakj@orodu.net
438924b2
remove --enable-gl
Dana Jansens danakj@orodu.net
36231e5c
fix for how base-size is used to comply with the icccm
Dana Jansens danakj@orodu.net
5338fdbf
export the WANT_AUTOMAKE var before running acloacl
Dana Jansens danakj@orodu.net
8a8f2c83
remove an extra useless call to focus_set_client(NULL)
Dana Jansens danakj@orodu.net
7cbac3c4
describe the complicated if a bit :)
Dana Jansens danakj@orodu.net
07539c38
more checks for when to do an XResizeWindow
Dana Jansens danakj@orodu.net
43d109dd
send the configure notify for resizes too, just to be a little more safe
Dana Jansens danakj@orodu.net
ddeb066e
onlt send configurenotify if the client actually moved, to work around emacs, hopefully :)
Dana Jansens danakj@orodu.net
05e52e3c
some more fixes for resizing clients. aspect ratio is not the last thing checked and so rules all, that might need to change.. however, it now uses base-size only for aspect ratios and base-size/min-size for other sizing shit, as per the ICCCM.
Dana Jansens danakj@orodu.net
bda9e6aa
from icccm:
If a base size is not provided, the minimum size is to be used in its place and vice versa.

Added support for this.
Dana Jansens danakj@orodu.net
ac4e6784
i was backwards
Dana Jansens danakj@orodu.net
7c139200
this cnofigure is FINAL!
Dana Jansens danakj@orodu.net
5b3d5bda
don't resize the client itself while doing a resize if its not final when config_opaque_resize is not on
Dana Jansens danakj@orodu.net
f7de8e5a
better VIDMODE support, handle the cases where the functions fail
Dana Jansens danakj@orodu.net
abd8ec3c
size fullscreen applications to the resolution with the VIDMODE extension
Dana Jansens danakj@orodu.net
68cc6e30
remove the client_remaximize function, and replace it with the client_reconfigure function, which just calls client_configure with the window's current location and dimensions, user=TRUE and final=TRUE.

add support for the VIDMODE extension in client_configure, namely, fullscreen windows are positioned at the point of the viewport rather than at 0,0.
call client_reconfigure when uniconifying a window, so that fullscreen windows are put at the point of the view port.
Dana Jansens danakj@orodu.net
a865fe60
remove that fancy new leftHanded option, it should be done via xmodmap instead
Dana Jansens danakj@orodu.net
ae0d8472
add a leftHanded option for mouse bindings, reverses the left/right keywords
Dana Jansens danakj@orodu.net
795d90c3
make key grabbing per window instead of always root
Dana Jansens danakj@orodu.net
bb937633
grab bindings on each client's frame (and the focus_backup) instead of on the root window
Dana Jansens danakj@orodu.net
8a1fa6d3
allow cycling to iconic windows
Dana Jansens danakj@orodu.net
c6fd3aa8
use client_can_focus from client_focus to always get the same result
Dana Jansens danakj@orodu.net
4cb48beb
reverting the transient focus cycle change, its just not.. right. add the parent's title to the transient's for the popup instead of just relpacing it
Dana Jansens danakj@orodu.net
1139d96e
better focus cycling for transients. use the parent instead of the transients in the list in case it has more than one, then after choosing it try focus a transient instead
Dana Jansens danakj@orodu.net
0ce054c2
dont try change focus while looping thru the focus list
Dana Jansens danakj@orodu.net
e0fa57d2
allow focus_fallback to query if a client can be focused without changing the focus order on it
Dana Jansens danakj@orodu.net
9232682a
grab the keybaord before cycling focus for reduced latency
Dana Jansens danakj@orodu.net
f827fbca
remove debug print
Dana Jansens danakj@orodu.net
9867ce23
more unique error for unhandles image bit depths, remove debug prints
Dana Jansens danakj@orodu.net
c4e60e4a
handle increase_depth on 1bpp images
Dana Jansens danakj@orodu.net
70a34967
ignore xerrors while using the pixmaps specified by the client, since they can certainly be invalid and there's nothing i can do about it.
Dana Jansens danakj@orodu.net
f7b68748
rm g_messages.. ones that segfault.. :>
Dana Jansens danakj@orodu.net
5a8c1644
also dont increment the nicons if the w*h is 0
Dana Jansens danakj@orodu.net
754391ea
watch out for 0x0 icons, and skip them
Dana Jansens danakj@orodu.net
465e32b7
add env var to get automake 1.7
Dana Jansens danakj@orodu.net
365a9fbb
adjust what gets raised on map a bit, a little less selective.
Dana Jansens danakj@orodu.net
6a947144
better alpha/beta check :)
Dana Jansens danakj@orodu.net
e6255a02
look for 'alpha' and 'beta' releases also
Dana Jansens danakj@orodu.net
3424de66
only add non-nonintrusively when both windows share a stacking layer
Dana Jansens danakj@orodu.net
6ddb0597
raise on client clicks
Dana Jansens danakj@orodu.net
2e824eec
rm the 'focusraise' action, it is redundant.
Dana Jansens danakj@orodu.net
b7780b74
proper centering of the text in popups without icons
Dana Jansens danakj@orodu.net
4b2ec0d0
use frame->visible, not the desktop number, other states exist too, like show_desktop
Dana Jansens danakj@orodu.net
c8dc32b6
omg wrong branch!
Dana Jansens danakj@orodu.net
e5bb095d
always gl. fontconfig instead of xft.
Dana Jansens danakj@orodu.net
b8f05e53
gl.h shouldn't be required when not enabling gl
Derek Foreman manmower@gmail.com
4b297943
add the glade/gtk deps for debian
Dana Jansens danakj@orodu.net
db705f40
all grads done
Derek Foreman manmower@gmail.com
f9505b23
pipecross
Derek Foreman manmower@gmail.com
d6652d0a
rectangle and diagonal grads yay

gl > *
Derek Foreman manmower@gmail.com
10e2807d
Shade not Shaded
Dana Jansens danakj@orodu.net
a2b37ea6
add debian package list
Dana Jansens danakj@orodu.net
11633965
automake 1.7
Dana Jansens danakj@orodu.net
b4607cdf
mention glib, xml, gtk and glade
Dana Jansens danakj@orodu.net
b5b350bb
make autoconf 2.54 required. makes automake1.6 get used on some systems
Dana Jansens danakj@orodu.net
48a75b80
gl is starting.  it's gonna get really ugly really fast, folks
Derek Foreman manmower@gmail.com
d1e355de
this is a big one! im putting stats in here just cuz!
 59 files changed, 1691 insertions(+), 607 deletions(-)
Adding the beginings of ObConf. Adding a resistance-config plugin for ObConf.
Creating an obparser library that obrender can use, the kernel can use, plugins can use, and ObConf and its plugins can use. (its just code for using libXml2)
Dana Jansens danakj@orodu.net
927f99e4
not being developed anymore, maybe in the future...
Dana Jansens danakj@orodu.net
3753a0ed
convert shit from utf8 to filename before execing it
Dana Jansens danakj@orodu.net
d2857b11
ECKS EM ELL
Dana Jansens danakj@orodu.net
f7df74b9
let the client menu open below the top of the window, just limit it at the titlebar
Dana Jansens danakj@orodu.net
75e691a2
add actions for showing the desktop
Dana Jansens danakj@orodu.net
e4832570
soem changes to desktop actions.
instead of having *wrap actions, just default to having wrap on, and let it be optionally placed into the rc to disable it.
instead of next/prev desktop, just have actions for desktop to the right/left/up/down. this applies to sendtodesktop actions too.
Dana Jansens danakj@orodu.net
26ebe251
add a DEBUG_FOCUS print
Dana Jansens danakj@orodu.net
dc7a267a
there's this case where we DONT want to ignore both events or we end up without anything we know of being focused, even tho something is. this case is now covered. ps i hate focus so much.
Dana Jansens danakj@orodu.net
a373b158
use the user friendly desktop number
Dana Jansens danakj@orodu.net
cd54e31a
clarify comment
Dana Jansens danakj@orodu.net
d61b48a2
remove obcl. shrimpx may work on this in the future but we are not usnig it now.
Dana Jansens danakj@orodu.net
b1fe0dbb
dont refocus the focused window, that just causes so many problems (with alt-tab :)
Dana Jansens danakj@orodu.net
f68eb1fc
validate utf8 strings before using them
Dana Jansens danakj@orodu.net
b46222c3
Fixed missing includes
Scott Moynes smoynes@nexus.carleton.ca
f54e8c9b
add --enable-gl support, and put the flags/libs in the appropriate makefiles
Dana Jansens danakj@orodu.net
a83b590f
remove a todo item that seems to be.. done!
Dana Jansens danakj@orodu.net
b6947305
missed a case of using the stacking list and assuming that its all clients still. fixed that assumption now.
Dana Jansens danakj@orodu.net
493e7d4a
ignore ancestor FocusIn events. i get them sometimes when hitting alt-tab and that totally fucks it up cuz it cancels teh alt-tab process.
Dana Jansens danakj@orodu.net
ebb97c18
had some code inside the action for loop that didnt belong in there
Dana Jansens danakj@orodu.net
4160963c
Add toggle decor action to client menu
Scott Moynes smoynes@nexus.carleton.ca
99c7fa72
fix cut'n'paste bug
Derek Foreman manmower@gmail.com
d3980aa4
only button 1 can use menu items
Dana Jansens danakj@orodu.net
f249e016
watch out for border widths
Dana Jansens danakj@orodu.net
c00accbd
removed a piece of code I suspect has never been run
this is for XServers that report less than 8 bpp default visual and support
8bpp or higher visuals

hopefully nothing is really that stupid.  we'll see.
Derek Foreman manmower@gmail.com
911d7251
keep XVisualInfo around in preparation for opengl stuff
Derek Foreman manmower@gmail.com
5ac5170d
only grab C-g while in a chain
Dana Jansens danakj@orodu.net
1bd4bb32
add the client_menu stuff
Dana Jansens danakj@orodu.net
1eef38ce
async key grabs to avoid race conditions with the sync stuff. there are still possible rases (yay X) but they will be much harder to hit, i expect noone will ever hit them more than once/often enuogh to realise.
Dana Jansens danakj@orodu.net
64c9c16c
remove shit for my own makefiles that i dont need no more
Dana Jansens danakj@orodu.net
3669da9c
a missing break!
Dana Jansens danakj@orodu.net
04a85677
layers submenu on client
Scott Moynes smoynes@nexus.carleton.ca
4d814a38
add actions for changing client layers to abov/below/normal
Dana Jansens danakj@orodu.net
d6cb5adb
typo
Dana Jansens danakj@orodu.net
68eba18b
load the client_menu by default for nowc
Dana Jansens danakj@orodu.net
71d2605e
Client menus
Add "client_menu" to pluginrc to use.
Scott Moynes smoynes@nexus.carleton.ca
955d9d8e
optimize it a bit
Dana Jansens danakj@orodu.net
9b2a67d0
pass the number of bytes, not characters to the xft draw functions
Dana Jansens danakj@orodu.net
7da6e227
add 'movetoedge' actions
Dana Jansens danakj@orodu.net
9f501638
add xerror.h
Dana Jansens danakj@orodu.net
539f061b
Openbox3 in the WM name, FUCK OFF XINE, YA YOU HEARD ME.
Dana Jansens danakj@orodu.net
e4aa5c69
allocate the border_color's gc
Dana Jansens danakj@orodu.net
9e33652f
put the devation back how it used to be, it aws definately no better..
Dana Jansens danakj@orodu.net
76425437
of by one error in pyramid, rectangle, and crosspipe
Derek Foreman manmower@gmail.com
0de48102
remove debug prints
Dana Jansens danakj@orodu.net
895cd9f4
reindent the file....
but while i'm at it:
  - add support for bevels/borders on solid textures.
  - reverse the colors in the rectangle gradient, the pipecross and pyramid
    ones may need to be reversed as well.
Dana Jansens danakj@orodu.net
13f701bd
remove the elliptic gradient type.
add bevel light/dark colors for solid textures with bevels
Dana Jansens danakj@orodu.net
97b22bd2
use the rectangle gradient when the theme asks for elipse
Dana Jansens danakj@orodu.net
19500061
argh put it back right!*(
Dana Jansens danakj@orodu.net
d1ccdfc9
fuck it, put it back
Dana Jansens danakj@orodu.net
14cab4f9
smarter default debug value :)
Dana Jansens danakj@orodu.net
644d6295
default debug off (for non-cvs builds!)
Dana Jansens danakj@orodu.net
32390c6b
ignore errors when playing with application defined colormaps
Dana Jansens danakj@orodu.net
ea6d0e0d
get the size for all the apps before positioning them
Dana Jansens danakj@orodu.net
40f2e19e
set teh dock sizes before the app uses it for positioning
Dana Jansens danakj@orodu.net
135d6d7b
center dock apps
Dana Jansens danakj@orodu.net
8c0cae82
add fifo_menu shit
Dana Jansens danakj@orodu.net
81417dd3
use the resize increment when resizing relative
Dana Jansens danakj@orodu.net
5a7953b3
2 in 1 again..
a) directional focus actions
b) action system changes i.e. use structs/arrays for convertings strings to actions instead of gross if-else chains
Dana Jansens danakj@orodu.net
00960995
Added a fifo_menu plugin
Scott Moynes smoynes@nexus.carleton.ca
ad4c3aad
PipeCross
Derek Foreman manmower@gmail.com
b24e6fbf
there's the rect grad.  now stop bugging me :(
Derek Foreman manmower@gmail.com
e328dc2f
is that a rectangle grad?  damned if I know
Derek Foreman manmower@gmail.com
a18c1697
make icons use pixel32 data, and image_draw takes pixel32 data.
client.c gets pixmap icons as a backup to netwm ones, and they are converted into pixel32 data.
Dana Jansens danakj@orodu.net
f41d06f5
include grab.h
Dana Jansens danakj@orodu.net
4be1b081
whatever, it's a junk file.
Derek Foreman manmower@gmail.com
d46e6627
change badly named offsets
add stubs for rectangle and pipecross
Derek Foreman manmower@gmail.com
b9ecd5bf
rename poorly named offsets
Derek Foreman manmower@gmail.com
d9bdc211
add stubs for pipecross and rectangle
Derek Foreman manmower@gmail.com
dcdd743f
fix poor naming of default offset
Derek Foreman manmower@gmail.com
90ca2a20
fix poor naming of the default offset
Derek Foreman manmower@gmail.com
d8921eb3
this is actually xor :) - fixing the focus search function to not return NULL if no valid group members exist to be a transient for
Scott Moynes smoynes@nexus.carleton.ca
cea19c78
proper check to see if something was raised, the it==NULL would cause it to always return, incorrectly.
Dana Jansens danakj@orodu.net
993fc622
2 in 1 deal :\

client.c stacking.c: fixing looping transient case for group transient windows. now a window which is transient for a group is *not* transient for any other transient windows in the group (perviously the other window had to be transient for the group to be excluded, now it can be transient for anything).

client.c/h event.c render.c/h: adjustnig icon handling a bit. will be converting the legacy pixmap icons into rgba data so they can be handled the same as netwm icons.
Dana Jansens danakj@orodu.net
3c7bf77d
Indentation stuff
Scott Moynes smoynes@nexus.carleton.ca
971b3a83
actually optional now.
Dana Jansens danakj@orodu.net
599837b9
make LIBSN optional
Dana Jansens danakj@orodu.net
ac779e65
grab the mouse during focus cycling. this removes the bug of focusing following the mouse when the popup disappears and fuck up your cycling.
Dana Jansens danakj@orodu.net
d1ceea89
need the libsn flags
Dana Jansens danakj@orodu.net
94d222f6
needs the libsn flags to use openbox.h now
Dana Jansens danakj@orodu.net
f54b294e
Clean up on destroy.
Scott Moynes smoynes@nexus.carleton.ca
2b2beddc
add (optional) support for showing a busy cursor via startup notification
Dana Jansens danakj@orodu.net
c912b634
Added stat() based timed menu update.
Needs parser before it is useful.
Scott Moynes smoynes@nexus.carleton.ca
f6b61bb6
disallow drag events on title buttons.
dont redraw title button when the wheel buttons are used on them.
Dana Jansens danakj@orodu.net
0b5f6589
print the class not the name
Dana Jansens danakj@orodu.net
f8bbe46b
get all the strings!
Dana Jansens danakj@orodu.net
f17b225d
save the dock's class/name for future evil purposes!
also print names of windows being managed/unmanaged
Dana Jansens danakj@orodu.net
2efed807
discourage floating a bit, capitalize better.
Dana Jansens danakj@orodu.net
d9e1eb0c
FUCK dock is not an array anymore!
Dana Jansens danakj@orodu.net
7a166a38
give the dock a strut and use it
Dana Jansens danakj@orodu.net
66d30066
Fixed child wait.
Scott Moynes smoynes@nexus.carleton.ca
2d6c9a7b
remove debug prints
Dana Jansens danakj@orodu.net
a0691941
dockapps are ObWindows now.
set the type when creating new dockapps.
Dana Jansens danakj@orodu.net
e4c662ea
add stdio.h
Dana Jansens danakj@orodu.net
b77e40e1
rename "Slit" to "Dock".
add config options to the rc3 for the dock.
create a window_map, add DockApps to the ObWindow types, use the window_map for translating windows into objects for event handling (only one lookup now) and remove the old maps (client_map, menu_map).
Dana Jansens danakj@orodu.net
6e42b65b
add anotehr stacking_add function.
make stacking_add take care of raising also.
make new windows that dont get focus also not raise above the focused window.
Dana Jansens danakj@orodu.net
8367ab14
movnig shit around
Dana Jansens danakj@orodu.net
7b65469a
watch out for not loading the timed_menu plugin
Dana Jansens danakj@orodu.net
c5b8ec74
pass teh correct values for config notify events
Dana Jansens danakj@orodu.net
78a8680c
Added a menu to read from a pipe.
File descriptors added to the event loop.
Scott Moynes smoynes@nexus.carleton.ca
80dfe9cb
watch out for stacking_list
Dana Jansens danakj@orodu.net
9938de36
add opaque move/resize to the rc3
Dana Jansens danakj@orodu.net
ea6b9caf
was using the frame window in the stacking list hint
Dana Jansens danakj@orodu.net
7c7868f4
add internal popups n shit to the stacking list.
some cleanups for the stacking order hint.
add non-opaque move/resize. cant toggle it yet.
Dana Jansens danakj@orodu.net
fed4a9e7
rm comment for shit i fixed
Dana Jansens danakj@orodu.net
6385eeb8
updated... it sucks tho anyways
Dana Jansens danakj@orodu.net
7e9ad375
not everything in the stacking_list is a client anymore
Dana Jansens danakj@orodu.net
81cc0749
Menus put themselves into the stacking list.
Clicking on the menu (but not on an entry) will raise it.
Dana Jansens danakj@orodu.net
58cfbb7f
Clients Menus and Slits are all 'ObWindow's now.
Stacking is done with ObWindows.
Slits add themselves to the stacking order, as do clients of course.
Added some macros for adding/removing to the stacking order.
Dana Jansens danakj@orodu.net
506122a1
garb press events so they dont break bindings... X sucks
Dana Jansens danakj@orodu.net
3689fa4b
grab button events on the slit so they dont go through to root
Dana Jansens danakj@orodu.net
ffb76025
use the size of the icon window for slit apps, not the client window
Dana Jansens danakj@orodu.net
23697223
cleanups
Dana Jansens danakj@orodu.net
ed4f84ac
can drag slit-apps around in the slit
Dana Jansens danakj@orodu.net
20ba24b7
add autohiding to the slit
Dana Jansens danakj@orodu.net
4e887121
some slit fixes, support resizing slitapps
Dana Jansens danakj@orodu.net
66899a4e
rm the tools dir
Dana Jansens danakj@orodu.net
0d55e6cb
rm this garbage...
Dana Jansens danakj@orodu.net
c4a51490
add a slit to the kernel
Dana Jansens danakj@orodu.net
37169289
ignore the build shit
Dana Jansens danakj@orodu.net
9702f788
add the sgml dir
Dana Jansens danakj@orodu.net
2508089d
make the client menu not have a title
Dana Jansens danakj@orodu.net
bd6d80f1
be more careful about ignoring focusin/out event pairs
Dana Jansens danakj@orodu.net
6c431d3a
tyop
Scott Moynes smoynes@nexus.carleton.ca
24eb9f85
Turn off timed_menu by default
Scott Moynes smoynes@nexus.carleton.ca
03d42b5d
Timed menu that reads output from a process while the window is hidden
Scott Moynes smoynes@nexus.carleton.ca
3fab044f
whitespace
Scott Moynes smoynes@nexus.carleton.ca
e7c9e432
fixor
Scott Moynes smoynes@nexus.carleton.ca
24a07415
nice merge
Dana Jansens danakj@orodu.net
a8a4a2cc
Menu uber patch
Since we have no menu parser see menu_startup() to customize
Scott Moynes smoynes@nexus.carleton.ca
d5eacc56
add a client_activate function, use it for net_wm_active mesgs and for focus cycling.
Dana Jansens danakj@orodu.net
380ddd2b
unshade windows when you cycle focus to them
Dana Jansens danakj@orodu.net
bccb90b0
add shit that i made in the last week!
Dana Jansens danakj@orodu.net
f26f23de
all my changes while i was offline.
better alt-tabbing. better transient handling. i dont even know. lots of fucking cool shit so WATCH the FUCK OUT.
Dana Jansens danakj@orodu.net
60065663
thoughts and shit
Marius Nita marius@cs.pdx.edu
1594828e
move windows before calcing struts. watch for windows on DESKTOP_ALL when removeing a desktop
Dana Jansens danakj@orodu.net
f8e7ab50
a more correct for the missing frame problem. don't restack windows when changing the window's layer while it is being managed.
Dana Jansens danakj@orodu.net
5888e7ed
watch for windows without frames, they can be in the transient order before they get fully managed
Dana Jansens danakj@orodu.net
ea4913fc
no longer pertinent
Dana Jansens danakj@orodu.net
a081582e
fix window icon rendering, was using incorrect size.
Dana Jansens danakj@orodu.net
02c7f2e8
its G_BYTE_ORDER not G_ENDIAN.
Dana Jansens danakj@orodu.net
04d6bf1e
show the move coords for where the window will actually be
Dana Jansens danakj@orodu.net
fd89a7ea
only focus on startup if focus_new is true
Dana Jansens danakj@orodu.net
d3c09435
restore the desktop and focused window on restarts if possible
Dana Jansens danakj@orodu.net
92d3f234
add helper functions for manipulating the focus_order list.
move the focus popup into focus.c, out of action.c
allow cycling to iconic windows, which are kept at the bottom of the focus_order lists.
Dana Jansens danakj@orodu.net
16a9ac01
let the frame hold a focus state so that it can lie.
dont focus windows while cycling, just highlight them as if they are focused
Dana Jansens danakj@orodu.net
11b7764e
icons are not at +1 anymore
Dana Jansens danakj@orodu.net
019c779f
some more checks for transients looping on eachother when they are transients of a group
Dana Jansens danakj@orodu.net
957ffe9c
client side shit ISNT 32 bits on 64 bit platforms, its 64 bits. fuck X so hard.
Dana Jansens danakj@orodu.net
0ba67006
even better checks for when to focus new windows. focus dialogs when they are the only member of their group
Dana Jansens danakj@orodu.net
574dd66b
More menu changes to facilitate plugins.
Scott Moynes smoynes@nexus.carleton.ca
6a237b91
Render menus only when they are invalid.
Scott Moynes smoynes@nexus.carleton.ca
c61420b2
add automake
Dana Jansens danakj@orodu.net
100fdf72
focus on press onm the titlebar buttons
Dana Jansens danakj@orodu.net
5d973d35
yet more changes to choosing to focus windows when they mapp
Dana Jansens danakj@orodu.net
d22e9c9c
try avoid cicular includes with the bison shit
Dana Jansens danakj@orodu.net
573aaf7e
make the icon larger than the buttons by one pixel in each direction, this makes it as tall as the label and lets it fit more image in
Dana Jansens danakj@orodu.net
d3ce8451
new focus-new rules
Dana Jansens danakj@orodu.net
8dfa16ab
i lied.. fuck @ those gnome dialogs
Dana Jansens danakj@orodu.net
ccb8cd61
lighten up a bit on the focus new windows criteria
Dana Jansens danakj@orodu.net
9c55fd5a
rm invalid comment
Dana Jansens danakj@orodu.net
540f547b
only look for FocusOut events on the same window
Dana Jansens danakj@orodu.net
bcbe5c8f
convert STRING properties from "ISO-8859-1" instead of from the current locale, since this is what they apparently are, according to gdk.
Dana Jansens danakj@orodu.net
be6d54a0
check the string not the pointer to it
Dana Jansens danakj@orodu.net
6b7737ac
the mouse grab screws that up
Dana Jansens danakj@orodu.net
2829849b
dispatch presses and releases during a move/resize
Dana Jansens danakj@orodu.net
31fac363
kill the debug prints for now
Dana Jansens danakj@orodu.net
142c14fc
nm cant do it.. damn
Dana Jansens danakj@orodu.net
6a9e7dea
ignore another type of crossing event, caused when leaving gtk popup menus
Dana Jansens danakj@orodu.net
c2b3a49e
just formatting
Dana Jansens danakj@orodu.net
01debc76
yet MORE changes to how focusin/out's are handled. more edge case fixing, this time with focus fallback when unmapping a window in sloppy focus mode.
Dana Jansens danakj@orodu.net
b426f766
adjust choosing to focus new windows, make it more strict.
eat all Enter events when unmapping a window so focus fallback can be more smarter..
Dana Jansens danakj@orodu.net
a8b8f2fc
dont need to sync
Dana Jansens danakj@orodu.net
a5f5b424
check for client_normal before focusing
Dana Jansens danakj@orodu.net
06663c24
when unfocusing a window (e.g. unmanaging) try fallback to transient relations, if that fails, try group relations, then fallback to other window.
Dana Jansens danakj@orodu.net
9d16ced2
try focus other transients of the parent window when a transient falls back before focusing the parent
Dana Jansens danakj@orodu.net
f8056d9c
unset it AFTER using it...
Dana Jansens danakj@orodu.net
bf14853e
unset the client when done moveresizing
Dana Jansens danakj@orodu.net
b5a5a8f3
don't wait(), the glib function does that for us woot.
Dana Jansens danakj@orodu.net
c4fb053f
more strict rules on what will be focused by the focusNew option in the rc3. only strictly NORMAL windows will be focused, not dialogs or anything else when they are mapped.
Dana Jansens danakj@orodu.net
e6a00eee
comment typo
Dana Jansens danakj@orodu.net
077cd7f9
watch out when unmanaging a window, that it is not being move/resized
Dana Jansens danakj@orodu.net
cfe3dc9e
a) put transient windows on the same desktop as their parent
b) if a window is attempted to be focused but it is not on the current desktop,
   then move it to the top of the focus order on its desktop
Dana Jansens danakj@orodu.net
322b2d0a
distribute focus when entering/leaving show-the-desktop mode
Dana Jansens danakj@orodu.net
0a3d3245
remove debug print
Dana Jansens danakj@orodu.net
43139ed3
add the left/right/top/bottom direction arrows and use them for resizing those ways
Dana Jansens danakj@orodu.net
4b421dc8
net_WM!@^&(
Dana Jansens danakj@orodu.net
95b1cd01
use the right client
Dana Jansens danakj@orodu.net
a85158b1
dont use the client if there is none
Dana Jansens danakj@orodu.net
793099ce
dont ignore all Virtual pointer events
Dana Jansens danakj@orodu.net
1923939b
02:33 (@xor) omg yes
02:33 (@xor) grid workspace cycling of d3th
Dana Jansens danakj@orodu.net
827e7baf
fix grip workspace cycling
Dana Jansens danakj@orodu.net
c4af9509
fix up support for moveresize. make keyboard grabs Async so that i can hit escape to cancel a moveresize process.
Dana Jansens danakj@orodu.net
de70d9ff
do not shadow parameter pls
Dana Jansens danakj@orodu.net
c4138c0c
initialize start_x/y
Dana Jansens danakj@orodu.net
25ffe6b5
add support for interactive/keyboard move/resize
Dana Jansens danakj@orodu.net
12d4c866
add support for net_moveresize_window and net_wm_moveresize
Dana Jansens danakj@orodu.net
7e8cdf1a
use the new cursor defn's
Dana Jansens danakj@orodu.net
75d44284
use the new ptr cursor defn
Dana Jansens danakj@orodu.net
7886b797
move the move/resize functionality into moveresize.c, for use with the netwm atoms. use it from teh plugins. combine the two actions.
Dana Jansens danakj@orodu.net
55c424d3
put text centered in the popup dialog properly
Dana Jansens danakj@orodu.net
1617489f
make alt-middle the default resize binding
Dana Jansens danakj@orodu.net
11b79778
add more cursors for move/resizing, and use the arrows not the angle brackets
Dana Jansens danakj@orodu.net
372bf029
grab pointer during cycling to remove focus screwups from focus-follows-mouse.
grab during move/resize and assign a cursor while doing the move/resize too!
Dana Jansens danakj@orodu.net
962f0b30
save the client and context during drags since a pointer grab will change them
Dana Jansens danakj@orodu.net
450c21d0
ignore virtual crossing events..
Dana Jansens danakj@orodu.net
8d3829d1
that was dumb, it was metacity's fault
Dana Jansens danakj@orodu.net
3505a866
only cycle to visible windows
Dana Jansens danakj@orodu.net
cb71c993
dont send menu events to plugins
Dana Jansens danakj@orodu.net
8955a2b7
show the root menu on right click
Dana Jansens danakj@orodu.net
185d1337
menus works on some level. add a built-in root menu
Dana Jansens danakj@orodu.net
04cfdd26
code cleanup
Dana Jansens danakj@orodu.net
1683b33f
when flags are not set assume bette defaults
Dana Jansens danakj@orodu.net
79a352a4
raise menus above clients.
hilight menu entries as the cursor passes over them.
Dana Jansens danakj@orodu.net
59c3cce4
save the window ids in a map for the menus
Dana Jansens danakj@orodu.net
c915078f
only change the group info if the group flag is set
Dana Jansens danakj@orodu.net
8c2f20e6
only add transients if we are IN a group
Dana Jansens danakj@orodu.net
712475a9
oops nm
Dana Jansens danakj@orodu.net
f3a93aee
less ()s cleanup
Dana Jansens danakj@orodu.net
d4b2de21
remove transients before removing ourlselves from teh group
Dana Jansens danakj@orodu.net
998ad4e7
set the group to null when removeing ourselves from it
Dana Jansens danakj@orodu.net
1c873588
watch out for missing a name
Dana Jansens danakj@orodu.net
9bd740cf
make menu font smaller and !bold for now
Dana Jansens danakj@orodu.net
0e28a07e
start of showing/rendering menus. woot!
Dana Jansens danakj@orodu.net
1c3689d0
load menu style stuff
Dana Jansens danakj@orodu.net
bbaef2ee
make minsize take int*'s not a Size*
Dana Jansens danakj@orodu.net
3c960fb9
remove transients of the group from teh window when it leaves the group
Dana Jansens danakj@orodu.net
4eb80a81
add group transients when setting up the group
Dana Jansens danakj@orodu.net
5898c685
bug in the search for transient_for's
Dana Jansens danakj@orodu.net
84b9c90b
update the theme stuff
Dana Jansens danakj@orodu.net
70f63e4c
more processor bummy
Marius Nita marius@cs.pdx.edu
b72a3853
PYRAMID PARTY PART 2!!!
Derek Foreman manmower@gmail.com
8f5e1a0f
PYRAMID PARTY!!!
Derek Foreman manmower@gmail.com
db251b08
remove debug print
Dana Jansens danakj@orodu.net
1ab60776
node processing code/macros, and other fixes
Marius Nita marius@cs.pdx.edu
37e2ef05
added line numbers to nodes
Marius Nita marius@cs.pdx.edu
f8c712f5
init commit, tree processing code bummy
Marius Nita marius@cs.pdx.edu
e6d1ab21
fixes for handling char**s
Dana Jansens danakj@orodu.net
b486929d
indenting oopsie
Dana Jansens danakj@orodu.net
693c88ca
dont get a null at the end of the data, so use strndup
Dana Jansens danakj@orodu.net
cb684078
fix a seg from ignoreing PROP_GETSS failure
Dana Jansens danakj@orodu.net
5a957862
more fixes for working with char**s
Dana Jansens danakj@orodu.net
4769c65a
nullify the ends of the char**
Dana Jansens danakj@orodu.net
3175986d
remove casts from PROP defines. use proper vars and cast elsewhere if needed.
Dana Jansens danakj@orodu.net
64e08844
text justification
Dana Jansens danakj@orodu.net
1afb1a7c
shrink the area that the textures are rendered into by the bevels/borders
Dana Jansens danakj@orodu.net
d4b20aef
rip the prop code i wrote in cwmcc out and make it all 64bit friendly (i think!). stop using gulong for values from the xserver, using guint32 instead.
Dana Jansens danakj@orodu.net
3d6e0f94
these menus should not be removed, they are good and will be used.
Dana Jansens danakj@orodu.net
677bc6ed
clean up this mess of crap a lot
Dana Jansens danakj@orodu.net
3809fb37
do not commit bad char* foo that breaks on !32 bit platforms
Dana Jansens danakj@orodu.net
99fd65ba
cleanups and such
Marius Nita marius@cs.pdx.edu
7aae14e9
beginning of obcl. the parser works with semicolons after statements
for now, there is much left to change and do.
Marius Nita marius@cs.pdx.edu
69854023
*** empty log message ***
Scott Moynes smoynes@nexus.carleton.ca
fd069520
allow _'s in identifiers
Dana Jansens danakj@orodu.net
eb5f930a
raise and lower all transients along with parents
Dana Jansens danakj@orodu.net
58ebc8f7
apply layers to all transients. only raise once on the highest window who's layer changed after applying layers to them all
Dana Jansens danakj@orodu.net
4d069713
ifdef not ifndef
Dana Jansens danakj@orodu.net
580795fe
keep all transient windows above their parents
Dana Jansens danakj@orodu.net
e75ead70
simple cleanups for the client_iconify function.
also dont follow into other groups when searching up the transient_for tree
Dana Jansens danakj@orodu.net
16e7aac6
rm the unused vars
Dana Jansens danakj@orodu.net
fd1b33af
onyl focus 'normal' windows on map
Dana Jansens danakj@orodu.net
58ba751a
only keep fullscreen windows on top while they are focused
Dana Jansens danakj@orodu.net
b58268e0
make fullscreen decorations and functions be calculated by the setup_decor_and_functions func
Dana Jansens danakj@orodu.net
07d48062
rm the group debug prints
Dana Jansens danakj@orodu.net
00042637
only print that when debuggin focus
Dana Jansens danakj@orodu.net
184e57c7
ignore the remaining new shit from automaking everything again
Dana Jansens danakj@orodu.net
dfc9680e
back to automake
Dana Jansens danakj@orodu.net
1e1ee706
shrimpx above miklos?
Dana Jansens danakj@orodu.net
bb8b9ddb
pass the Client for frame_context cuz the client might be NULL
Dana Jansens danakj@orodu.net
14a842b3
comment properly
Dana Jansens danakj@orodu.net
282bca1d
load the font shadow stuff from the old ob2 shitz
Dana Jansens danakj@orodu.net
d6ef2155
let specify theme in the rc3 file. rm the other old engine options
Dana Jansens danakj@orodu.net
159423ff
break on errors
Dana Jansens danakj@orodu.net
5cf61ee0
move the openbox engine into librender and the kernel. the theme is loaded and stored inside librender. the frame is decorated and managed inside the kernel.
Dana Jansens danakj@orodu.net
fb169665
move the themes
Dana Jansens danakj@orodu.net
76ebae32
allow freeing NULL appearances
Dana Jansens danakj@orodu.net
ef1f7b04
allow closing NULL fonts
Dana Jansens danakj@orodu.net
2d9c03a4
allow freeing NULL pixmap masks
Dana Jansens danakj@orodu.net
c2bb32dc
dont fux self in color_free if the color is NULL
Dana Jansens danakj@orodu.net
fd5784c0
proper cwmcc_ prefixing.
add gulong *num and gulong num to funciton params where needed. cant use 0 to terminate an array of numbers
Dana Jansens danakj@orodu.net
4d510a8a
set the right mask for the client msg!
Dana Jansens danakj@orodu.net
73f85d0a
dont use #ifdef HAVE_FOO for ansi functions/headers
Dana Jansens danakj@orodu.net
949946a9
complete the root property get functions
Dana Jansens danakj@orodu.net
7b030414
add most of the root window props get functions
Dana Jansens danakj@orodu.net
9b63f238
add right click in client focuses
Dana Jansens danakj@orodu.net
6b95bf33
add getting of some root properties
Dana Jansens danakj@orodu.net
6011fe9c
make utility windows able to be resized
Dana Jansens danakj@orodu.net
3342e142
name set_icon_name correctly
Dana Jansens danakj@orodu.net
0e4e4526
rm the main Makefile in a distclean
Dana Jansens danakj@orodu.net
585ecc73
add the new cwmcc stuff
Dana Jansens danakj@orodu.net
43f01ee9
add set functions for setting name/icon name
Dana Jansens danakj@orodu.net
d976fc6b
add set functions for all the client props that need em
Dana Jansens danakj@orodu.net
f317ceea
add get functions for all the client properties
Dana Jansens danakj@orodu.net
d8fc08f3
add all functions for getting and setting window properties
Dana Jansens danakj@orodu.net
a5bd2bab
deiconify transient parents when a child is deiconified.
Dana Jansens danakj@orodu.net
64dac07d
no fuck that it was working fine
Dana Jansens danakj@orodu.net
cb444e37
make the TRAN_GROUP an unsigned long
Dana Jansens danakj@orodu.net
a6ce30cb
add MapRequest print
Dana Jansens danakj@orodu.net
e9d875cf
some smarter rules for focusing new window when focus_new is not set
Dana Jansens danakj@orodu.net
b3ed490e
use .los not .os
Dana Jansens danakj@orodu.net
09deadf7
install with libtool
Dana Jansens danakj@orodu.net
51e27c03
set up the atoms in cwmcc
Dana Jansens danakj@orodu.net
787cbcf6
buld fixes for the new libs
Dana Jansens danakj@orodu.net
d0e90156
add libcwmcc and libobcl
Dana Jansens danakj@orodu.net
c2983d1f
describe the code subdirs
Dana Jansens danakj@orodu.net
a6130b84
dont show the focus popup when theres no target client
Dana Jansens danakj@orodu.net
9bae1e31
rm debug print
Dana Jansens danakj@orodu.net
3d1c63bc
add override
Dana Jansens danakj@orodu.net
3331a2a9
add a test that maps an override redirect window
Dana Jansens danakj@orodu.net
71badb07
move config option loading for the kernel into config.c/h
add options for the number of desktops and the names of the desktops
Dana Jansens danakj@orodu.net
672f1de2
add the desktops options
Dana Jansens danakj@orodu.net
4efc6db7
better clickfocus friendliness
Dana Jansens danakj@orodu.net
63b0c561
check for focus before unfocusing
Dana Jansens danakj@orodu.net
c99bb4a0
add more options for focus fallback, use an enum for all the types of fallbacks.
Dana Jansens danakj@orodu.net
40bfb2b6
only cycle focus to normal windows
Dana Jansens danakj@orodu.net
bd5d4416
make stacked cycling the default
Dana Jansens danakj@orodu.net
7b5a51db
use a size not area for the label
Dana Jansens danakj@orodu.net
0272ef26
show a popup with the focus target while cycling
Dana Jansens danakj@orodu.net
f278ec41
fallback to transients' parents when possible.
return the Client* which was focused from focus_cycle
Dana Jansens danakj@orodu.net
fc325777
fallback focus while unmanaging the window
Dana Jansens danakj@orodu.net
8a30fa25
FocusRaise to be more clickfocus friendly too
Dana Jansens danakj@orodu.net
083f2f5d
add focusLast and focusLastOnDesktop options in the [focus] section of the rc3. allows more customizaton of the focus model. default to click-focus style. add handling for focus cycling when nothing on the desktop is focused.
Dana Jansens danakj@orodu.net
2dac2cc0
ignore inferior enternotifies
add anotehr focusdebug print
Dana Jansens danakj@orodu.net
5f53cd5f
check for new windows always being onscreen.
rename the client pointer to self in teh manage unmanage functions for consistancy
Dana Jansens danakj@orodu.net
7613d4d8
rm debug prints
Dana Jansens danakj@orodu.net
3e55e63f
dont check to make sure the window is on screen here
Dana Jansens danakj@orodu.net
d963ae89
add comment about the two different area Rects
Dana Jansens danakj@orodu.net
91f2c11a
add new HACKING!
warn about Client.transient_for
Dana Jansens danakj@orodu.net
a25b19a1
support for transients of groups
Dana Jansens danakj@orodu.net
e6cc69ca
support for transients of groups
Dana Jansens danakj@orodu.net
3cbf5bfa
missed one
Dana Jansens danakj@orodu.net
2eb4d793
put focus messages in ifdefs
Dana Jansens danakj@orodu.net
79ddf918
remove debug print
Dana Jansens danakj@orodu.net
e040fc1b
add the group.c
Dana Jansens danakj@orodu.net
5f42ecfa
track window groups
iconify all its transients when a window is iconified
Dana Jansens danakj@orodu.net
aaae49d6
look for masks in the right place. display the error with just the requested button name.
Dana Jansens danakj@orodu.net
2da1898f
install the buttons
Dana Jansens danakj@orodu.net
49f31c07
once in a window-cycle, don't fire any other key bindings
Dana Jansens danakj@orodu.net
db086ef3
put focus_cycle into focus.c, use it there in the action. improved it as well to handle odd cases like modal windows. added functions to client.c which are needed by the focus cycling routine.
Dana Jansens danakj@orodu.net
1f775fdd
grab the other device in Sync for button/key grabs
Dana Jansens danakj@orodu.net
a484ba5e
dont let windows be placed offscreen
Dana Jansens danakj@orodu.net
b15007ca
ifndef NOT IFNDEF GAH
Dana Jansens danakj@orodu.net
d498522a
dont toggle when no client was passed to teh action
Dana Jansens danakj@orodu.net
d43a109b
nm that, pointless...
Dana Jansens danakj@orodu.net
d1913d1d
disable keyboard and mouse input while ob is starting or exiting
Dana Jansens danakj@orodu.net
8ebf2b6a
Fix reduce color depth to not use original data
(and break parentrel)
Derek Foreman manmower@gmail.com
70e41381
print the error when the engine cant load
Dana Jansens danakj@orodu.net
56f6acce
add stdlib.h for exit()
Dana Jansens danakj@orodu.net
a119f704
stop using build/ dir configure shits all over itself for other people
Dana Jansens danakj@orodu.net
a2375590
add the openbox themes makefile
Dana Jansens danakj@orodu.net
86f1830d
build fixes for finding Xlibs and for setting vars based on found Xlib info and Xinerama info
Dana Jansens danakj@orodu.net
8a4e27bd
more build system fixups
Dana Jansens danakj@orodu.net
5d665673
fixes for build system. add themes to the install process. use the build/ dir for configures trash dump
Dana Jansens danakj@orodu.net
ee236804
clean up the module if load() fails
Dana Jansens danakj@orodu.net
8d08de4b
add function to give the minimum size of an appearance to fully render it's data
Dana Jansens danakj@orodu.net
852f3623
save the state at the start of a drag and use it throughout until the button is released
Dana Jansens danakj@orodu.net
c42314ec
add a coords popup for moving and resizing
Dana Jansens danakj@orodu.net
b31eb83f
add ()'s to the macros for more safety
Dana Jansens danakj@orodu.net
6016ff86
add the ability to render and size text labels for non-window-decorations
Dana Jansens danakj@orodu.net
af21cb13
add functions to the engine interface for rendering and sizing a text label
Dana Jansens danakj@orodu.net
2b120ec3
Remove woodblock's local changes :P
Scott Moynes smoynes@nexus.carleton.ca
2ec96443
Moved to DESIGN/
Scott Moynes smoynes@nexus.carleton.ca
747679b8
some thoughts on menu stuff
Scott Moynes smoynes@nexus.carleton.ca
6bec1de5
remove asserts pending sanity check.
Derek Foreman manmower@gmail.com
4260bfcb
added flakey parentrel for solids and some mean spirited asserts
Derek Foreman manmower@gmail.com
214fa871
added superb pseudo-color (8bpp) support
Derek Foreman manmower@gmail.com
26034c37
dont resize snap windows with size increments
Dana Jansens danakj@orodu.net
aa26b219
make NLIMC the default titlebar layout
Dana Jansens danakj@orodu.net
d6f9bc95
allow specifying that some focus events should be ignored for the focus order list
Dana Jansens danakj@orodu.net
ec4e24a4
stacked and linear cycling
Dana Jansens danakj@orodu.net
7ebc5c79
linear focus cycling of the gods
Dana Jansens danakj@orodu.net
69c9b621
add special shit for window cycling, grab the keyboard etc
Dana Jansens danakj@orodu.net
37788461
typo
Dana Jansens danakj@orodu.net
3d0ba381
put it back
Dana Jansens danakj@orodu.net
e38b27fc
make unfocus really unfocus everything
Dana Jansens danakj@orodu.net
36072a3e
add linear cycling for now
Dana Jansens danakj@orodu.net
9663ff83
rm the [foo] section
Dana Jansens danakj@orodu.net
3348ff49
update teh rc3 to reflect how the code works now
Dana Jansens danakj@orodu.net
3921ce30
dont default to NULL for the engine name
Dana Jansens danakj@orodu.net
06356d33
add engine options to the new rc file
Dana Jansens danakj@orodu.net
bd12517c
add focus options to the new rc file
Dana Jansens danakj@orodu.net
cbbf90a7
change how rc parsing will work. a=b will be parsed in any [section] and given to a separate parsing callback. no more general config infrastructure needed/
Dana Jansens danakj@orodu.net
88f8ebad
make tint signed
Dana Jansens danakj@orodu.net
ab3ef03a
typo
Dana Jansens danakj@orodu.net
d485e71b
rm the old mouserc shit
Dana Jansens danakj@orodu.net
41790dfe
add an rc3 which gets installed
Dana Jansens danakj@orodu.net
d60d7a06
make love
Dana Jansens danakj@orodu.net
e3aeb9ff
ignore more new shit
Dana Jansens danakj@orodu.net
50fba4bc
use Button<num> instead of just <num> for specifying buttons by number
Dana Jansens danakj@orodu.net
038e6119
better error msgs
Dana Jansens danakj@orodu.net
bca8082d
use a context enum instead of quarks
Dana Jansens danakj@orodu.net
831db744
add the mouse plugin to the build system
Dana Jansens danakj@orodu.net
d58799bc
not using quarks, using an array and a Context enum for contexts
Dana Jansens danakj@orodu.net
47cc1797
prefix key bindnigs with 'kbind'
Dana Jansens danakj@orodu.net
98c0c676
initialize all vars.
change warnings to messages
Dana Jansens danakj@orodu.net
d77ac21a
reorder startup so that grabs are set up before parsing teh rc
Dana Jansens danakj@orodu.net
c83ae0a2
wonr name in the glog domain
Dana Jansens danakj@orodu.net
7a651f9f
remove debug print
Dana Jansens danakj@orodu.net
68ff2eb3
add the keyboard plugin into the build systems
keyboard bindings are parsed from the rc file
Dana Jansens danakj@orodu.net
c8ff993e
clean up output
Dana Jansens danakj@orodu.net
896210a4
properly
Dana Jansens danakj@orodu.net
aeb6d817
add -DENABLE_NLS
Dana Jansens danakj@orodu.net
59621c4f
more using of new token struct
Dana Jansens danakj@orodu.net
e2c3582a
use new token structs. free token lists.
Dana Jansens danakj@orodu.net
5da14853
attempting to parse lists
Dana Jansens danakj@orodu.net
8dc158ac
reflect the current requirements for building/using cvs
Dana Jansens danakj@orodu.net
e9742080
allow '-' in identifiers
Dana Jansens danakj@orodu.net
c0f1e3ae
engine builds
Dana Jansens danakj@orodu.net
609a9925
build the resistance/placement plugins
Dana Jansens danakj@orodu.net
dd0304e0
remove some unneeded vars
Dana Jansens danakj@orodu.net
b66b0ef9
use the values from the yacc parser
Dana Jansens danakj@orodu.net
ce901a23
more build fixes, calling the other makefiles instead of including them
Dana Jansens danakj@orodu.net
2d81fb03
try accomidate more versions of bison
Dana Jansens danakj@orodu.net
ff113a7e
rm debug print
Dana Jansens danakj@orodu.net
9084ca41
more build fixes
Dana Jansens danakj@orodu.net
f0c7edec
make the parent depdir
Dana Jansens danakj@orodu.net
926074bf
use PACKAGE_FOO vars
Dana Jansens danakj@orodu.net
400003f4
double break statements :) oops
Dana Jansens danakj@orodu.net
43f1d3fa
add stuff that should be ignored at the toplevel
Dana Jansens danakj@orodu.net
6dc28dc0
some build fixes
Dana Jansens danakj@orodu.net
d447dc0f
new build system without automake
Dana Jansens danakj@orodu.net
28a4456c
comment stuff correctly for xresources
Dana Jansens danakj@orodu.net
b6b50119
rm the data dir
Dana Jansens danakj@orodu.net
c84b844e
BLEF HATE DIE
Dana Jansens danakj@orodu.net
9dd43bb2
bison doesnt use y.tab.*
Dana Jansens danakj@orodu.net
0a04c368
use bison not yacc
Dana Jansens danakj@orodu.net
67bbd697
rename the parse.yacc to parse.y
Dana Jansens danakj@orodu.net
fadc760c
make parse.h depend on y.tab.h
Dana Jansens danakj@orodu.net
87fbee96
this should seriously work
Dana Jansens danakj@orodu.net
089a7320
undo that
Dana Jansens danakj@orodu.net
c561ee4c
ignore new lex/yacc gen'd files
Dana Jansens danakj@orodu.net
8dd9a7c7
don't include the y.tab.h inside the yacc file
Dana Jansens danakj@orodu.net
fa741bc0
add y.tab.h to the headers so the yacc shit runs
Dana Jansens danakj@orodu.net
7820ca56
rm the generated files on clean
Dana Jansens danakj@orodu.net
8fe4e3e8
wrong .h for the make rule
Dana Jansens danakj@orodu.net
8887584e
deps the lex h on the c
Dana Jansens danakj@orodu.net
51ef6e3b
make the drag threshold and double click time into rc options
Dana Jansens danakj@orodu.net
71c8b0b7
create a generic tokenizer/sectionizer for the config file. pass off the token to functions registered for each section to parse them further. some fixes for the engine irt font shadows, and fixed a bug with rendering the iconify button when it was not in the layout
Dana Jansens danakj@orodu.net
4875ff5f
whitespace
Dana Jansens danakj@orodu.net
60204c43
kill debug print
Dana Jansens danakj@orodu.net
301c302e
use the tint properly for the shadow
Dana Jansens danakj@orodu.net
b10b31fe
rm debug print
Dana Jansens danakj@orodu.net
5ff6204e
ob_ prefix
Dana Jansens danakj@orodu.net
b0f7aa39
base the handle's layout on the grip's parentrelative state
Dana Jansens danakj@orodu.net
8cd8b1d0
will seg again
Dana Jansens danakj@orodu.net
170fa13d
stop copying. still segfault?
Dana Jansens danakj@orodu.net
cf4e1780
find the right offset in the source data for parent relative
Dana Jansens danakj@orodu.net
49eea471
default focus text color for titlebars is black
Dana Jansens danakj@orodu.net
4213b558
let there be parentrelative
Derek Foreman manmower@gmail.com
2517e307
catch button presses on the frame so that clicks on the side borders dont go through to the root window
Dana Jansens danakj@orodu.net
f1ba6ac9
more updates to current status
Dana Jansens danakj@orodu.net
5b323a93
add the shade button to the default layout
Dana Jansens danakj@orodu.net
168e75cf
add the Shade context to the comments
Dana Jansens danakj@orodu.net
4398c7c1
add a shaded button
Dana Jansens danakj@orodu.net
6e4c57b3
add some current states
Dana Jansens danakj@orodu.net
2e4c88ba
use merry's 7x7 bitmaps
Dana Jansens danakj@orodu.net
2b4a42e0
dont resist to windows which we're not touching
Dana Jansens danakj@orodu.net
abbb454a
only disallow shading when the function is not enabled, dont disallow unshading
Dana Jansens danakj@orodu.net
25198318
use the client's size instead of the frames size so the real size is used, not the size of the frame (avoids shaded window problem)
Dana Jansens danakj@orodu.net
a048c430
disallow resizing of windows which are shaded
Dana Jansens danakj@orodu.net
ace0beb9
unser drag_used when drag is unset too
Dana Jansens danakj@orodu.net
5daa08c6
80 col rule
Dana Jansens danakj@orodu.net
d75e0940
add a space where it belongs
Dana Jansens danakj@orodu.net
f99fe837
make realeases fire releases instead of presses. make drags prevent clicks only if there is something bound to the drag.
Dana Jansens danakj@orodu.net
a022c418
no drag events for keysrc..
Dana Jansens danakj@orodu.net
2881ed1e
use 'toggled' in the new button masks' resource names instead of 'pressed' to be more accurate to their use
Dana Jansens danakj@orodu.net
506c1aa0
change buttons masks so that there are masks for max and desktop buttons when their state changes but not for all buttons just when they are pressed
Dana Jansens danakj@orodu.net
0327c5a7
use the frame's position in the maximize function since they're converted to the client coords before getting to client_configure
Dana Jansens danakj@orodu.net
8d192068
was not using the pointer properly. leaving the value untouched
Dana Jansens danakj@orodu.net
8fbc68d4
set fullscreen and max positions properly for all gravities
Dana Jansens danakj@orodu.net
69552028
rm a no-longer-valid comment
Dana Jansens danakj@orodu.net
e6818c74
yet more haxes to make focus events work the way i want. this is rough shit.
Dana Jansens danakj@orodu.net
a8afa4d0
extraneous ! causing resistance to be snapping in one case. rm a debug print
Dana Jansens danakj@orodu.net
feb6bc63
use 'sans' as the fallback font instead of 'fixed'
Dana Jansens danakj@orodu.net
a6d9be4f
yet more focus fixings. RevertToPointerRoot could mess things up focusing a client and us ignoring the FocusIn of Pointer type. this is all handled now.
Dana Jansens danakj@orodu.net
71ade2a9
add support for foo.pressed.mask to load a different mask for pressed buttons
Dana Jansens danakj@orodu.net
2135d9e2
make SendToDesktop action work right, give the option of following
Dana Jansens danakj@orodu.net
4d5885d2
add pixmap_mask_copy, and add the data to the mask struct, since it is needed for allowing copies
Dana Jansens danakj@orodu.net
2b4ab675
better decribe bindings and list all the modifiers, was missing shift/control
Dana Jansens danakj@orodu.net
f9308410
add SendToDesktop to the comments. fix the type calling the Desktop action Desktops
Dana Jansens danakj@orodu.net
8a6a9710
use the number for sendtodesktop
Dana Jansens danakj@orodu.net
b6b514c4
rm a redundant actiondata struct
Dana Jansens danakj@orodu.net
2309520b
no //'s plz
Dana Jansens danakj@orodu.net
5c472be0
translate sendtodesktop actions
Dana Jansens danakj@orodu.net
36b90c32
use the top when snapping to the top
Dana Jansens danakj@orodu.net
56713e45
create the dirs for themes in ~/.openbox on startup
Dana Jansens danakj@orodu.net
b185f7d8
Add include path
Scott Moynes smoynes@nexus.carleton.ca
5b039d98
add focusing if clicked on the grips
Dana Jansens danakj@orodu.net
dbdb330a
use the bottom of the screen for botom snapping! :)
Dana Jansens danakj@orodu.net
a116f2c6
Menu data structures basically completed.
Need the engine support still, parser, and controllers.
Scott Moynes smoynes@nexus.carleton.ca
7f5514ae
rm the extra ;
Dana Jansens danakj@orodu.net
9d136ab7
add unshaderaise and shadelower actions from Mikachu
Dana Jansens danakj@orodu.net
f154f7b5
add a var to track errors
Dana Jansens danakj@orodu.net
475fb805
don't die when someone else has a key grabbed
Dana Jansens danakj@orodu.net
a61cecfe
add ToggleDecorations
Dana Jansens danakj@orodu.net
8ac5a603
rm client_disable_decorations.. it already had an action.
add the action to the action_from_string func
Dana Jansens danakj@orodu.net
8fb10d8d
add client_disable_decorations
Dana Jansens danakj@orodu.net
3e8ecbee
onlt raise the window when sending to a desktop it wasnt already on
Dana Jansens danakj@orodu.net
69177d87
FocusOut's are NOT ignored. thats bullshit. fixing comment.
Dana Jansens danakj@orodu.net
76943cdf
focus... works...? i have all cases of mozilla working, with RevertToPointerRoot sucking ass but.. working now.
Dana Jansens danakj@orodu.net
0fcd4c30
RevertToPointerRoot is the worse error case, so use it always
Dana Jansens danakj@orodu.net
4d65fe35
comment why NotifyAncestor is not ignored
Dana Jansens danakj@orodu.net
5895fa84
yet MORE focus events reworkings. mozilla behaves now too. woot
Dana Jansens danakj@orodu.net
cc813ed6
make the value boolean
Dana Jansens danakj@orodu.net
32808b53
more focus cleanups. ignored focusin's were not working right recursively.
also, when the focusin coming later is not for a valid window the fallback would not be called. both fixed.
Dana Jansens danakj@orodu.net
21442ab6
round down for size increments
Dana Jansens danakj@orodu.net
ca40e8b9
add resizing event
Dana Jansens danakj@orodu.net
1cbe8af5
resize resistance. size incs will fuck with it yet though.
Dana Jansens danakj@orodu.net
c3e80452
set lbutton from clicks
Dana Jansens danakj@orodu.net
663102cf
rm debug prints
Dana Jansens danakj@orodu.net
b749cd5e
was not moving the window between desktop focus lists sometimes. bad news. now i always do. yay!
Dana Jansens danakj@orodu.net
4bd18260
killa  debug print
Dana Jansens danakj@orodu.net
96a81e88
handle better the case of choosing the window to focus but it is already focused when switching desktops
Dana Jansens danakj@orodu.net
beb489fe
comment the new parameter
Dana Jansens danakj@orodu.net
92bea590
let a window be 'moved' to a new desktop without actually show/hiding it. useful for sending a window when following it, so theres no flash/flicker
Dana Jansens danakj@orodu.net
42bbf005
oops that worked before i borked it bad
Dana Jansens danakj@orodu.net
e1e3974c
frame is a pointer
Dana Jansens danakj@orodu.net
63bbbaef
dont die if a non-visible window is raised/lowered
Dana Jansens danakj@orodu.net
bb087efb
take borders into account for figuring clicks
Dana Jansens danakj@orodu.net
51c0c739
better prefix symbols to reduce clashes
Dana Jansens danakj@orodu.net
a5524747
ignore new shit
Dana Jansens danakj@orodu.net
883a38ee
split the render functions into obrender.c. rename all the src files to obfoo so no more conflicts with code elsewhere in the tree.
Dana Jansens danakj@orodu.net
66969a6b
make better?
Dana Jansens danakj@orodu.net
beb0fa81
use the new render interface, no area params for paint, rect in the struct instead
Dana Jansens danakj@orodu.net
ad406283
sync after focusing
Dana Jansens danakj@orodu.net
f8fb32b1
make these things one 'command' without braces
Dana Jansens danakj@orodu.net
3d6b970a
moved paint's arguments into the appearance struct
Derek Foreman manmower@gmail.com
69abb86c
dont lower below lower layers
Dana Jansens danakj@orodu.net
38c776bd
use the struts to size the window correctly for maximized windows
Dana Jansens danakj@orodu.net
91fed618
read struts properly
Dana Jansens danakj@orodu.net
175271a1
fix draw order in x_paint
Derek Foreman manmower@gmail.com
9a498534
black.  not white.  oops
Derek Foreman manmower@gmail.com
16b17599
black for parentrelative so we can test icons
Derek Foreman manmower@gmail.com
83508a2a
focus on middle click on client
Dana Jansens danakj@orodu.net
5e3ab28b
skip better
Dana Jansens danakj@orodu.net
1593473d
skip comments and empty lines
Dana Jansens danakj@orodu.net
e7d225b8
only use the initial_state shit when NOT starting and when managing the window
Dana Jansens danakj@orodu.net
045c4f03
rm a bunch of prints. make switching to an empty desktop not kill focus
Dana Jansens danakj@orodu.net
c7e818ab
dont focus !normal windows on enter events
Dana Jansens danakj@orodu.net
e094bd40
add send-tos with the mouse wheel
Dana Jansens danakj@orodu.net
ef3f83ca
free the themename properly
Dana Jansens danakj@orodu.net
fe2ec095
use the theme name only for the buttons dir
Dana Jansens danakj@orodu.net
c9d39edd
focus plugin is gone
Dana Jansens danakj@orodu.net
07a52aea
mor fabulous focus fixings.
RevertToNone so that when the fallback stuff goes the window wont already have focus cuz it has the pointer in to
Dana Jansens danakj@orodu.net
52d4433a
fallback focus in superior fashion
Dana Jansens danakj@orodu.net
6778db73
better var naming
Dana Jansens danakj@orodu.net
b23c66af
dont rm focus when i actually found something to fall back to with the pointer
Dana Jansens danakj@orodu.net
fe882632
parent relative for grips
Dana Jansens danakj@orodu.net
c3a2684e
watch for FocusIn's for unknown clients
Dana Jansens danakj@orodu.net
d54b8724
support parent relative titlebar elements
Dana Jansens danakj@orodu.net
6b52a86d
rm the focus plugin
Dana Jansens danakj@orodu.net
8e68958a
prep for parentrelative
Derek Foreman manmower@gmail.com
3139c3c7
missed the end of a comment
Dana Jansens danakj@orodu.net
bf32b376
handle focus in the kernel, no more plugin
Dana Jansens danakj@orodu.net
eee483bb
add code to fallback focus
Dana Jansens danakj@orodu.net
8cc7c8b4
focus a window on desktop switch
Dana Jansens danakj@orodu.net
047fe672
rm the focus plugin
Dana Jansens danakj@orodu.net
ebab4adb
add focus options
Dana Jansens danakj@orodu.net
2fc662aa
set the last time to CurrentTime for events that don't have time stamps
Dana Jansens danakj@orodu.net
e0170fe1
rm debug print
Dana Jansens danakj@orodu.net
1b20f591
use the right data when initially placing the frame. was fucking up the gravity calcs
Dana Jansens danakj@orodu.net
f29dd7e0
not using CurrentTime anywhere
Dana Jansens danakj@orodu.net
1d5fa24e
use CurrentTime again?
Dana Jansens danakj@orodu.net
78424735
bind C-g for the rset key
Dana Jansens danakj@orodu.net
4f101c1f
ungrab with currenttime
Dana Jansens danakj@orodu.net
106d5630
use the last event timestamp when focusing the focus_backup
Dana Jansens danakj@orodu.net
0d6bc131
negatives that work!
Dana Jansens danakj@orodu.net
6be319c2
document the options
Dana Jansens danakj@orodu.net
379ca159
better negatives
Dana Jansens danakj@orodu.net
e76057ec
allow negative numbers
Dana Jansens danakj@orodu.net
8055abe8
was reversing the keylist
Dana Jansens danakj@orodu.net
bb103dc0
subtract 1 from the given desktop number
Dana Jansens danakj@orodu.net
addbf691
make parsing more generic
Dana Jansens danakj@orodu.net
1fb5c4b5
free unused paths
Dana Jansens danakj@orodu.net
06f27af0
split up the relative functions.
make the parsing more generic, anything can have a string/numeric argument
Dana Jansens danakj@orodu.net
c473d5f8
remove an extraneous g_warning
Dana Jansens danakj@orodu.net
6d97bd51
split the relative functions
Dana Jansens danakj@orodu.net
46e54970
check for invalid keys properly
Dana Jansens danakj@orodu.net
dffe9600
comment that the relative move/resize amounts need to be set
Dana Jansens danakj@orodu.net
1a32ba56
split up the relative move/resize actions into horz/vert
Dana Jansens danakj@orodu.net
9eeb13ec
create actions from string names
Dana Jansens danakj@orodu.net
91ebde9e
load keybindings from keysrc
Dana Jansens danakj@orodu.net
59ad2e31
add exit/restart.
clarify which can be used for drag events
Dana Jansens danakj@orodu.net
b4d24116
dont let bind to actionexecute or desktop cuz they require a parameter
Dana Jansens danakj@orodu.net
f2a1e11e
dont let bind to actiondesktop
Dana Jansens danakj@orodu.net
a6d5d8bc
use the action_from_string helper
Dana Jansens danakj@orodu.net
68fdcde1
let a be null for action_free
Dana Jansens danakj@orodu.net
a6815038
use g_warning not printf
Dana Jansens danakj@orodu.net
ded198f7
properly restrict bindings for motion events
Dana Jansens danakj@orodu.net
f532a746
even beter
Dana Jansens danakj@orodu.net
2dc875f5
better comment parsing
Dana Jansens danakj@orodu.net
c0a69182
sep is not used any more
Dana Jansens danakj@orodu.net
01d92ca2
fix comment parsing
Dana Jansens danakj@orodu.net
232e0030
dont set fields if in a comment
Dana Jansens danakj@orodu.net
093c4cb7
kill the prints again for now
Dana Jansens danakj@orodu.net
d78f345b
rm the lex .c on clean
Dana Jansens danakj@orodu.net
ac735b64
dont print bad window errors
Dana Jansens danakj@orodu.net
cc844c57
put back map/unmap msgs
Dana Jansens danakj@orodu.net
9672ad0f
look for yacc
Dana Jansens danakj@orodu.net
d7b6c79c
fields must not start or end with '-'
Dana Jansens danakj@orodu.net
0c69d23c
dont let you got to numdesktops+1
Dana Jansens danakj@orodu.net
7c6c4984
rm the debug print
Dana Jansens danakj@orodu.net
a1e450ee
kill debug prints
Dana Jansens danakj@orodu.net
6d0b4012
XAllowEvents with a timestamp, otherwise we end up with a grab in place that we dont want
Dana Jansens danakj@orodu.net
b48c0e0b
oops
Dana Jansens danakj@orodu.net
f24116de
rm some debug prints
Dana Jansens danakj@orodu.net
059fa15a
use ungrab enter events
Dana Jansens danakj@orodu.net
135f1c61
add rgba icon support
Derek Foreman manmower@gmail.com
c0568cd7
rgba icon rendering
Derek Foreman manmower@gmail.com
e95cb2ac
add image.c to the build process
Derek Foreman manmower@gmail.com
fef5d0d9
use rgba icons for clients
Dana Jansens danakj@orodu.net
c9c72cbe
added "NoTexture" type
Derek Foreman manmower@gmail.com
634de719
document the options
Dana Jansens danakj@orodu.net
8470142e
only let bind Move and Resize to Drags
Dana Jansens danakj@orodu.net
9f064164
add the lexer
Dana Jansens danakj@orodu.net
647b4ff4
check for no client
Dana Jansens danakj@orodu.net
9b4c587c
filled out rgba
Derek Foreman manmower@gmail.com
2003bee6
set the position for all textures
Dana Jansens danakj@orodu.net
edf98ba1
parse a mouserc file for mouse bindings
Dana Jansens danakj@orodu.net
72ee5557
add new parsing shit
Dana Jansens danakj@orodu.net
3da09972
new output file from flex
Dana Jansens danakj@orodu.net
9eea0af2
wrong place
Dana Jansens danakj@orodu.net
37a9456f
usnig flex directly, renaming symbols so that theres no clash with other lexers
Dana Jansens danakj@orodu.net
a7ec81b7
look for flex
Dana Jansens danakj@orodu.net
5038e820
free the string for action_restart too
Dana Jansens danakj@orodu.net
2880e674
add a Rect to the textures for positioning them
Derek Foreman manmower@gmail.com
4840f7e8
print a warning when a module fails to open
Dana Jansens danakj@orodu.net
6401ceed
include appropriate header file for Rect
Derek Foreman manmower@gmail.com
384ba398
added position to the textures
Derek Foreman manmower@gmail.com
fede14d6
strdown the context name
Dana Jansens danakj@orodu.net
014384db
use names for mouse buttons, all case insensitive
Dana Jansens danakj@orodu.net
4f2696d3
case insensitive
Dana Jansens danakj@orodu.net
9be1d64d
dont change desktop when its out of range
Dana Jansens danakj@orodu.net
bcdef0b2
move the def'n of the KeyBindingTree
Dana Jansens danakj@orodu.net
95ffd99c
presses work when clicks dont on the frame around the titlebar..
Dana Jansens danakj@orodu.net
930891f1
translate "Control" and "Shift" for modifiers too
Dana Jansens danakj@orodu.net
5755a7a5
bettr font alignment, i think
Dana Jansens danakj@orodu.net
c8e55b8f
i fucked that one up
Dana Jansens danakj@orodu.net
e8a81e5a
add 'corner snapping' resistance
Dana Jansens danakj@orodu.net
c9a35f0b
typo
Dana Jansens danakj@orodu.net
5722e9e9
dont accept MapRequest's for !iconic windows
Dana Jansens danakj@orodu.net
bdf1662a
clarify using stacking_lower for restoring the stacking order
Dana Jansens danakj@orodu.net
d286702e
free the startup stacking order after using it
Dana Jansens danakj@orodu.net
e731042d
read in the stacking order on startup, and use it to restore windows back to the order they were in before
Dana Jansens danakj@orodu.net
990b74a4
dont change the stacking order hint while shuting down
Dana Jansens danakj@orodu.net
434ed8b0
add action.h for menu entries
Dana Jansens danakj@orodu.net
22be7458
you cant reference yourself as a type
Dana Jansens danakj@orodu.net
d56e90fa
use g_hash_table properly
Dana Jansens danakj@orodu.net
3443454f
Added some menu structure.
Scott Moynes smoynes@nexus.carleton.ca
3bbe8095
remove debug print
Dana Jansens danakj@orodu.net
c2684d31
make sure the ConfigureNotify is propogated even when there is no change
Dana Jansens danakj@orodu.net
c9ba6046
always send the event on a final configure even if there was no real move
Dana Jansens danakj@orodu.net
7beec94a
make sure windows which cant be moved or resized also can't be fullscreened
Dana Jansens danakj@orodu.net
0d84c43d
only configure the engine if something changed
Dana Jansens danakj@orodu.net
3fb9753f
proper height for shaded windows
Dana Jansens danakj@orodu.net
436c8557
only perform the actions necessary when performing an engine_adjust_area. pass whether the client has moved or resized
Dana Jansens danakj@orodu.net
2bdc37e9
double ptrs suck! yay shape!
Dana Jansens danakj@orodu.net
7567e3d7
handle shape events
Dana Jansens danakj@orodu.net
66dc1475
dont move/resize !normal windows
Dana Jansens danakj@orodu.net
44c55524
kill debug prints
Dana Jansens danakj@orodu.net
e238e4ac
kill debug print
Dana Jansens danakj@orodu.net
3b14b587
more focus improvements. everything seems to work!
Dana Jansens danakj@orodu.net
d82048b4
Time is declared in Xlib.h
Dana Jansens danakj@orodu.net
1dec895d
not.
Dana Jansens danakj@orodu.net
2bdccde5
focus seems to work when not remote too now
Dana Jansens danakj@orodu.net
137efd13
more focus fixes. i wish this could end.
Dana Jansens danakj@orodu.net
7bb829f8
no \n in g_message
Dana Jansens danakj@orodu.net
4a6e98ca
add restart and exit actions
Dana Jansens danakj@orodu.net
687559cb
yet more improvements to focus handling
Dana Jansens danakj@orodu.net
797d54d9
no enter events on decorations
Dana Jansens danakj@orodu.net
c3f9abaf
gl aint used yet
Dana Jansens danakj@orodu.net
4ec67b0a
export config values
Dana Jansens danakj@orodu.net
1560825d
dont need the bool
Dana Jansens danakj@orodu.net
6b79b47f
typo
Dana Jansens danakj@orodu.net
22f38541
make history placement optional
Dana Jansens danakj@orodu.net
cd32e79e
export its options and use them from the rc file
Dana Jansens danakj@orodu.net
77e09830
raise AND focus
Dana Jansens danakj@orodu.net
b52ec932
export focus options to the rc file
Dana Jansens danakj@orodu.net
f3153710
make the labels one bigger than the text on the top and bottom
Dana Jansens danakj@orodu.net
8fff73fa
seems to be better text placement than ever
Dana Jansens danakj@orodu.net
f2add3a5
found what seems to be a better vertical offset for the fonts
Dana Jansens danakj@orodu.net
12436b88
woops playing with the hash table left it in a half changed state here
Dana Jansens danakj@orodu.net
88097ba4
compare it to null like i do elsewhere
Dana Jansens danakj@orodu.net
d88f34e1
code optimization
Dana Jansens danakj@orodu.net
b18f5f1d
when adjusting the trasient lists, set them, dont leave them hanging into space
Dana Jansens danakj@orodu.net
fb893e8d
turn off all elements, would miss them randomly if titlebar was disabled before
Dana Jansens danakj@orodu.net
cf37170b
whitespace
Dana Jansens danakj@orodu.net
86a8d803
use gnew0 to make life easy
Dana Jansens danakj@orodu.net
5d7d6038
use the plugins' plugin_setup_config function
Dana Jansens danakj@orodu.net
5f44c45f
dont render gradients that are missing
Dana Jansens danakj@orodu.net
80c7f145
add the plugin_setup_config function
Dana Jansens danakj@orodu.net
fdf4265a
kill debug print
Dana Jansens danakj@orodu.net
e7e2a69f
handle multiple maprequests graciously
Dana Jansens danakj@orodu.net
08a70966
oops
Dana Jansens danakj@orodu.net
d1de946a
move windows when the number of desktops changes and they arent on a desktop anymore
Dana Jansens danakj@orodu.net
b2c508d9
set focus_order back to null on shutdown so g_renew would work
Dana Jansens danakj@orodu.net
6adb3d44
add more size checks
Dana Jansens danakj@orodu.net
39946832
rm the themerc stuff
Dana Jansens danakj@orodu.net
85238a1e
rm themerc.[ch]
Dana Jansens danakj@orodu.net
d8268296
better parsing errors
Dana Jansens danakj@orodu.net
9ff6ea27
load config values right. load the bool shadow option too now.
Dana Jansens danakj@orodu.net
6cebd348
add booleans
Dana Jansens danakj@orodu.net
ddb5d43e
properly parse comments!
parse booleans
Dana Jansens danakj@orodu.net
0f25fd6f
no \n in g_message
Dana Jansens danakj@orodu.net
3cc402bd
add descriptive names and long descriptions to config var def'ns. set these for the kernel config options.
Dana Jansens danakj@orodu.net
30260ef6
make the default font Sans-7
Dana Jansens danakj@orodu.net
5bf68f76
make the openbox engine use the new config shit instead of the themerc shit.
order te startup so that plugins can set up their config shit before parsing the config, then the config is parsed, engine is loaded, and finally the plugins are officially started.
Dana Jansens danakj@orodu.net
4cc0d9b7
only load the system rc if the user rc didnt load
Dana Jansens danakj@orodu.net
9f68b120
load the engine out of the config shit. tho the ordering is fucked atm
Dana Jansens danakj@orodu.net
93783c2a
parse lines that start with '#' as comments
Dana Jansens danakj@orodu.net
2b1a11c6
let identifiers have '.' in them
Dana Jansens danakj@orodu.net
799fe5a8
give the filename to the parser for errors
Dana Jansens danakj@orodu.net
a26cd30b
remove debug print
Dana Jansens danakj@orodu.net
e5be9ad6
yah. fuck
Dana Jansens danakj@orodu.net
8b02e6b5
add a check for adding the same exact def'n twice
Dana Jansens danakj@orodu.net
94f2b4a7
config system fleshed out. many thanks to woodlbock for his code! yay!
Dana Jansens danakj@orodu.net
ce7aa15d
add const and inline checks for the compiler
Dana Jansens danakj@orodu.net
84a4e2ba
ignore cparse.c
Dana Jansens danakj@orodu.net
53882f76
didnt belong
Dana Jansens danakj@orodu.net
56dc0446
start the config system, add the config file parser
Dana Jansens danakj@orodu.net
4502cad5
check for stdio.h
Dana Jansens danakj@orodu.net
ff06051e
asserts in unmanage to try track a crash
Dana Jansens danakj@orodu.net
a5b371cf
blef
Dana Jansens danakj@orodu.net
9b514b3b
add the client_kill function, and the kill action, and bind it to the middle mouse button on the close button.
Dana Jansens danakj@orodu.net
d59db115
fix the ebox root cmd
Dana Jansens danakj@orodu.net
4a2a4aa9
add the ebox style
Dana Jansens danakj@orodu.net
3f0e69b8
add the buttons for the fieron theme
Dana Jansens danakj@orodu.net
96c8b7cc
add the buttons for the fieron2 theme
Dana Jansens danakj@orodu.net
4135ceb6
cast the pixmap data to a char* for the pixmap_mask_new
Dana Jansens danakj@orodu.net
74256472
load bitmap button masks for themes
Dana Jansens danakj@orodu.net
c3628a36
history placement works. loads. saves. woot.
Dana Jansens danakj@orodu.net
63360f74
look for sys/stat.h
Dana Jansens danakj@orodu.net
2487e74d
move and resize the plate window at the same time
Dana Jansens danakj@orodu.net
0a9ef759
make the shadow offset 1
Dana Jansens danakj@orodu.net
78aa056e
make the ~/.openbox dir on startup
Dana Jansens danakj@orodu.net
dd6e27f2
rename the res_name and res_class members to name and class
Dana Jansens danakj@orodu.net
ba1e0615
dont raise on client clicks
Dana Jansens danakj@orodu.net
a2ffabb1
use $(datadir)
Dana Jansens danakj@orodu.net
b7b4abe0
install the menu in $(datadir)
build from $(srcdir)/menu.in
Dana Jansens danakj@orodu.net
1565ef4f
use the SED command
Dana Jansens danakj@orodu.net
0a69cfc6
add strict ansi compliance
Dana Jansens danakj@orodu.net
b10548f0
find sed
Dana Jansens danakj@orodu.net
0603b502
clean up configure.ac a bit
Dana Jansens danakj@orodu.net
b7c583cd
rm the c/Makefile
Dana Jansens danakj@orodu.net
e103f90c
look for kernel/openbox.c instead of src/main.cc
Dana Jansens danakj@orodu.net
ff97498e
include gettext.h from the right place
Dana Jansens danakj@orodu.net
ab44e44a
ignore the openbox3 binary
Dana Jansens danakj@orodu.net
624d277f
build 'openbox3' instead of 'ob3'
Dana Jansens danakj@orodu.net
359ef290
build the binary called 'openbox3'
Dana Jansens danakj@orodu.net
b2babc8b
rm the obsetroot tool and the wrap shit from swig
Dana Jansens danakj@orodu.net
a52a6d96
rm the old code including the .pys and the c++ shit
Dana Jansens danakj@orodu.net
a36c7543
rm the python api docs
Dana Jansens danakj@orodu.net
327a0b3d
always adjust the frames size and position together, so there is no more weird resizing before moving and edge flickering when resizing from the top/left
Dana Jansens danakj@orodu.net
a822cbe1
dont focus anything in the kernel from showing-the-desktop mode
Dana Jansens danakj@orodu.net
c5e902a7
focus windows when entering/leaving enter-the-desktop mode
Dana Jansens danakj@orodu.net
00123383
add an xlock binding
Dana Jansens danakj@orodu.net
90cc2b2b
better comment for Event_Client_Moving
Dana Jansens danakj@orodu.net
178fdf25
choke on invalid options on the cmd line
Dana Jansens danakj@orodu.net
94d871a3
dont check for != NULL before freeing. pointless.
Dana Jansens danakj@orodu.net
d4601cd0
don't check for != NULL before freeing. pointless
Dana Jansens danakj@orodu.net
d33dce48
defn vars at the top of funcs
Dana Jansens danakj@orodu.net
cd1694cd
dont reposition windows who know what they want
Dana Jansens danakj@orodu.net
9a4ccc91
add the client_set_focused function.
make focus state be changed internally immediately after calling the X functions to make it so, basically, assume their success. this elimiates races all over the place with our state vs the server's state.
Dana Jansens danakj@orodu.net
5034073d
use the client_set_focused function when getting FocusIn/Out events
Dana Jansens danakj@orodu.net
a3c9271c
init the focus_client ptr in startup
Dana Jansens danakj@orodu.net
b3507a09
dont focus !normal clients under the mouse
Dana Jansens danakj@orodu.net
0cb6f812
dont use the client's colormap if it is set to None!
Dana Jansens danakj@orodu.net
c2cbef62
add a dispatched event for interactively moving a window.
move window snapping/resistance out of the kernel.
make the action_move dispatch the new event.
Dana Jansens danakj@orodu.net
1c7c9461
rm debug print
Dana Jansens danakj@orodu.net
c9510275
optimization!
Dana Jansens danakj@orodu.net
00d8c8d3
syntax error!
Dana Jansens danakj@orodu.net
921a711d
don't snap to non-visibles
Dana Jansens danakj@orodu.net
1418e9ed
dont snap to self
Dana Jansens danakj@orodu.net
23ee7b9a
rm the edge_resistance option.. just dont load the plugin!
Dana Jansens danakj@orodu.net
dabcb558
make the event function static!
Dana Jansens danakj@orodu.net
34ab5a1f
add a window resistance plugin
Dana Jansens danakj@orodu.net
1f8f4ffe
rename event() to place_event()
Dana Jansens danakj@orodu.net
6216c4be
rename event() to place_event()
Dana Jansens danakj@orodu.net
39046996
snap window-to-window
Dana Jansens danakj@orodu.net
05e9cb73
focus new windows
Dana Jansens danakj@orodu.net
a3012eaf
rm debug prints
Dana Jansens danakj@orodu.net
b23c6536
rm debug print
Dana Jansens danakj@orodu.net
db75d406
rm the focused member from the client struct, it was redundant with the focus_client variable around
Dana Jansens danakj@orodu.net
ca45916f
update engine last for focus events
Dana Jansens danakj@orodu.net
0edc14a4
set up the history place stuff's files
Dana Jansens danakj@orodu.net
a648c05a
kill the c dir
Dana Jansens danakj@orodu.net
474f6891
start and stop the history plugin
Dana Jansens danakj@orodu.net
d38855a0
dont set the restart path to "", load the placement plugin
Dana Jansens danakj@orodu.net
7287ae73
dont skip enter events
Dana Jansens danakj@orodu.net
29e37486
add a window placement plugin
Dana Jansens danakj@orodu.net
eb6ef353
disable warping on desk switch
Dana Jansens danakj@orodu.net
6cb4d8bc
skip events more smarter
Dana Jansens danakj@orodu.net
4f427471
kill all enter events on a desktop switch
Dana Jansens danakj@orodu.net
e8ed8b3c
show windows before hiding when switching desktops
Dana Jansens danakj@orodu.net
0a2aa089
alt bindings
Dana Jansens danakj@orodu.net
d2b4e7dd
skipping the right number of enters now i think
Dana Jansens danakj@orodu.net
bb742742
skip all enter events for now.. need a clever tactic for this..
Dana Jansens danakj@orodu.net
35c09501
add -help -version -sync and -rc cmd line options
Dana Jansens danakj@orodu.net
17cc975c
add the binary and urls to the Makefile and -D's
Dana Jansens danakj@orodu.net
bf707e72
add RECT_CONTAINS
Dana Jansens danakj@orodu.net
45f6d527
save decor and functions per client for fullscreening!
Dana Jansens danakj@orodu.net
f76b26e4
lock the size/position of maximized and fullscreen clients
Dana Jansens danakj@orodu.net
2725bb5d
fallback super intelligently with focus when the focused
Dana Jansens danakj@orodu.net
ba2c6a23
lock the position/size of maximized windows
Dana Jansens danakj@orodu.net
87582714
restart and catch errors appropriately
Dana Jansens danakj@orodu.net
26f66bc9
init the GError to NULL
Dana Jansens danakj@orodu.net
396d559b
can restart now
Dana Jansens danakj@orodu.net
de307661
added depth reduction and startup for true color visuals
16bpp should now work
Derek Foreman manmower@gmail.com
c1e69912
restart will work soon
Dana Jansens danakj@orodu.net
6321d286
no \n in g_messages
Dana Jansens danakj@orodu.net
44889c3c
MapRequest needs to activate the window
Dana Jansens danakj@orodu.net
515f8d87
dont raise the window on a titlebar drag either
Dana Jansens danakj@orodu.net
1588c852
add a drag threshold
Dana Jansens danakj@orodu.net
e442c6cc
snap windows when moving them
Dana Jansens danakj@orodu.net
5b5ab040
add code for snapping windows to screen edges
Dana Jansens danakj@orodu.net
029f35d6
use the grab.h funcs to grab keys and buttons
Dana Jansens danakj@orodu.net
bcca5bb9
add funcs to grab buttons and keys
Dana Jansens danakj@orodu.net
080b36cf
export the NumLock and ScrollLock masks
Dana Jansens danakj@orodu.net
89142ea6
dont need a mask_list here
Dana Jansens danakj@orodu.net
fd9dc6f9
grab all lock keys
Dana Jansens danakj@orodu.net
32a17b31
fewer context lookups
Dana Jansens danakj@orodu.net
90e65413
break, dont return
Dana Jansens danakj@orodu.net
0c16988d
add code to make net_active_window events work
Dana Jansens danakj@orodu.net
75ee81d9
add focusraise
Dana Jansens danakj@orodu.net
78e64a0a
add click on client binding. XAllow when clicking on the client
Dana Jansens danakj@orodu.net
d42335e5
put the comment where it belongs
Dana Jansens danakj@orodu.net
4fbc127a
on shutdown: destroy the net support window. clear a few more properties we dont want across restart. select NoEventMask on root.
Dana Jansens danakj@orodu.net
16787d0a
oops
Dana Jansens danakj@orodu.net
152c638e
destroy the focus_backup
Dana Jansens danakj@orodu.net
bd9846e6
erase the openbox_pid hint on the root window when we shutdown
Dana Jansens danakj@orodu.net
a7705024
all the old ob2 mouse bindings are workin
Dana Jansens danakj@orodu.net
9ca9bcc1
add mbinds for shading windows on the titlebar
Dana Jansens danakj@orodu.net
4732930e
ignore !normal crossing events
Dana Jansens danakj@orodu.net
5c53055e
simply out the events we dont need no more
Dana Jansens danakj@orodu.net
49a70012
free the right pixel data yay!
Dana Jansens danakj@orodu.net
4ee425c1
free the pixel data
Dana Jansens danakj@orodu.net
59be9ae1
start with 0 desktops, so the focus_order stuff all gets initialized properly
Dana Jansens danakj@orodu.net
8428becf
the focus_order shit is init'd by the screen_startup setting the number of desktops
Dana Jansens danakj@orodu.net
9a5f1d7b
shutdown everything before closing the display
Dana Jansens danakj@orodu.net
c95a4e60
can fit on one line
Dana Jansens danakj@orodu.net
7bd74738
initialize texture to NULL if theres no textures. use g_memdup to copy it
Dana Jansens danakj@orodu.net
4bceaaf1
comment what funcs is
Dana Jansens danakj@orodu.net
0a855f3e
close the channel by unref'ing it
Dana Jansens danakj@orodu.net
60cbb9ee
kill the const, use g_new instead of malloc, g_free the font in font_close()
Dana Jansens danakj@orodu.net
a7582969
kill the const
Dana Jansens danakj@orodu.net
812b9b03
clean up comments regarding alpha
Dana Jansens danakj@orodu.net
ff39eb9b
strdup the database string, dont return it directly
Dana Jansens danakj@orodu.net
ef43db32
rm the comments pointer bindings stuff, thats in a plugin now
Dana Jansens danakj@orodu.net
b3817126
add new windows to the back of the focus order list
Dana Jansens danakj@orodu.net
648c55b8
move the focus_order lists into the kernel
Dana Jansens danakj@orodu.net
597fad9d
add focus actions
Dana Jansens danakj@orodu.net
7ea5ffea
add sloppy focus
Dana Jansens danakj@orodu.net
917c5c93
add sloppy focus
Dana Jansens danakj@orodu.net
6d400ac0
end drags
Dana Jansens danakj@orodu.net
e4fe6da4
dont clean up nulls
Dana Jansens danakj@orodu.net
83e86fa0
not using the KeyAction stuff no more
Dana Jansens danakj@orodu.net
4bcd03b2
mouse and key bindings plugins work. segfault somewhere still on shutdown
Dana Jansens danakj@orodu.net
51b93d9c
reset focus to root before exiting
Dana Jansens danakj@orodu.net
33a6fde9
ignore shit
Dana Jansens danakj@orodu.net
fa405398
add the mouse plugin
Dana Jansens danakj@orodu.net
6dd06740
grab the keyboard not the server!
Dana Jansens danakj@orodu.net
838f76cd
use the grab_server function
Dana Jansens danakj@orodu.net
7d215bd2
add 'grab_server' for grabbing .. the .. server!
Dana Jansens danakj@orodu.net
598c5d6c
provide functions for grabbing and ungrabbing the keyboard and pointer
Dana Jansens danakj@orodu.net
3dfe9f4e
set the log domain for each plugin properly
Dana Jansens danakj@orodu.net
65abaf0d
warp the pointer on a workspace change to the focused window
Dana Jansens danakj@orodu.net
a91a6f97
kill some whitespace
Dana Jansens danakj@orodu.net
77a46782
kill a comment
Dana Jansens danakj@orodu.net
20a5dd47
focus fallback works when nothing is focused
Dana Jansens danakj@orodu.net
77bd0166
dont set the focused client if it's already set
Dana Jansens danakj@orodu.net
6e29605d
send the right client for unfocus events
Dana Jansens danakj@orodu.net
002bf5e7
send unfocus events after focus events
Dana Jansens danakj@orodu.net
d4c1ed1e
generic domain
Dana Jansens danakj@orodu.net
ad44e8a7
add actions for key/mouse bindings etc
Dana Jansens danakj@orodu.net
a86421d7
add the new objects
Dana Jansens danakj@orodu.net
739c958a
keyboard bindings are functional
Dana Jansens danakj@orodu.net
eeba4572
dont need process.h, yay glib
Dana Jansens danakj@orodu.net
9c0fc100
add process.h
Dana Jansens danakj@orodu.net
c5789fea
add cvsignores
Dana Jansens danakj@orodu.net
bfea000a
add a keyboard plugin
Dana Jansens danakj@orodu.net
9185ca5c
focus new windows and focus windows on workspace change
Dana Jansens danakj@orodu.net
4ed3fb89
plugins work.
start a focus plugin.
Dana Jansens danakj@orodu.net
cb73f209
dont put \n's at the end of g_message
Dana Jansens danakj@orodu.net
46322435
use the render depth/visual for creating windows
Dana Jansens danakj@orodu.net
b8de0b48
use the dispatch stuff to get mouse button events
Dana Jansens danakj@orodu.net
8886f110
make sure theres always a client for client events
Dana Jansens danakj@orodu.net
ccc5f020
oops missing a */
Dana Jansens danakj@orodu.net
21c1cd4c
fix comments
Dana Jansens danakj@orodu.net
df3d926c
rming almost all the old python stuffs
Dana Jansens danakj@orodu.net
75b07a2b
all events are dispatched
Dana Jansens danakj@orodu.net
033bd73e
kill the debug print
Dana Jansens danakj@orodu.net
7abaa532
add the plugins dir
Dana Jansens danakj@orodu.net
9b33f7de
stop using python internally. add an event dispatcher
Dana Jansens danakj@orodu.net
055b459c
add the headers
Dana Jansens danakj@orodu.net
fbdd3764
kill the timestamps
Dana Jansens danakj@orodu.net
453cbbf9
my rant..
Dana Jansens danakj@orodu.net
0c2f9567
pass the x,y,w,h to font_draw.
draw the text in the "right" place for now.. no justification yet
Dana Jansens danakj@orodu.net
6abd9fe8
set the size of the label properly
Dana Jansens danakj@orodu.net
9a2699fa
place at 0,0 if the window is too big
Dana Jansens danakj@orodu.net
a4838c74
measure the font's height instead of listening to Xft
Dana Jansens danakj@orodu.net
5d62948c
*** empty log message ***
Dana Jansens danakj@orodu.net
698b9a09
dont skip ungrab corssing events
Dana Jansens danakj@orodu.net
577038b2
if the window is as big/bigger than the screen with random placement, place it at (0,0)
Dana Jansens danakj@orodu.net
32ec1d1e
solids should now work with offsets
Derek Foreman manmower@gmail.com
6bcd6ddd
add keybinds for switching workspaces
Dana Jansens danakj@orodu.net
46e2060f
more random pokery
Derek Foreman manmower@gmail.com
4b9556c0
use the unfocused label when not focused
Dana Jansens danakj@orodu.net
e659f955
either offsets work, or I've broken lots of things.
Derek Foreman manmower@gmail.com
a0a55d57
pass x,y to paint()
Dana Jansens danakj@orodu.net
ab68bcfb
more changes wrt passing x, y, w, h to render
Derek Foreman manmower@gmail.com
fdabd3da
paint gets more parameters
Derek Foreman manmower@gmail.com
e9a7fc91
apparently my variable names were too verbose.
Derek Foreman manmower@gmail.com
31475076
offsets in planar surfaces
Derek Foreman manmower@gmail.com
1fae0f4d
declare variables first!
Dana Jansens danakj@orodu.net
2870457b
decalre variables before code!
Dana Jansens danakj@orodu.net
7f561a6a
make client_showhide a static function
Dana Jansens danakj@orodu.net
216a04bd
speed up workspace switching by causing the minimal number of expose events (none for the hiding windows!)
Dana Jansens danakj@orodu.net
432ac098
give engines mouse event notifications. make the openbox engine display pressed buttons
Dana Jansens danakj@orodu.net
9a3459e9
get rid of the 'sep' variable
Dana Jansens danakj@orodu.net
5270b1dd
replaced one too many bevels
Dana Jansens danakj@orodu.net
9dc2a917
properly layout the titlebar, with proper separatation
Dana Jansens danakj@orodu.net
b6ad1076
load and set the titles justification
Dana Jansens danakj@orodu.net
3cb562fe
added justification to textureText
Derek Foreman manmower@gmail.com
9c2b0666
kill some whack extra whitespace
Dana Jansens danakj@orodu.net
3b0b41ba
pixmap button masks work (hardcoded)
Dana Jansens danakj@orodu.net
26a3563a
dont need those includes no more
Dana Jansens danakj@orodu.net
f1db2721
in keeping with my tradition of committing untested code, here is the
pixmap mask rendering code ported from the old otk dirs
Derek Foreman manmower@gmail.com
57314ce5
move pixmap_mask typedef
add stub for draw_mask
Derek Foreman manmower@gmail.com
b824e6ad
add funcs to create/free pixmap_masks
Dana Jansens danakj@orodu.net
14f17c96
add glib.h for guint
Dana Jansens danakj@orodu.net
05145e15
include Xlib.h for Pixmap
Dana Jansens danakj@orodu.net
5f5b45a9
add mask.[ch]
Dana Jansens danakj@orodu.net
1f63f7b3
add a struct for pixmap masks
Dana Jansens danakj@orodu.net
cce97081
hack so text shows up
Derek Foreman manmower@gmail.com
3232247b
dont delete the pixmap until after changeing the visible one
Dana Jansens danakj@orodu.net
717c0fa6
trying to render text!
Dana Jansens danakj@orodu.net
1f289469
add missing include, pass right args to font_draw
Derek Foreman manmower@gmail.com
f8ad321e
malloc.  yeah.
Derek Foreman manmower@gmail.com
bb3e654e
will draw fonts when stop segging
Dana Jansens danakj@orodu.net
9b1943f1
copy textures in appearance_copy
Derek Foreman manmower@gmail.com
8c8c40e2
try to render fonts
destroy pixmaps and xftdraws in appearance_delete
Derek Foreman manmower@gmail.com
4672adbf
font changes
Derek Foreman manmower@gmail.com
99b226f3
remove printf and stdio.h
Derek Foreman manmower@gmail.com
88a8bc41
add font_draw
Derek Foreman manmower@gmail.com
ea8d450e
add font_draw
move font def'n to render.h
Derek Foreman manmower@gmail.com
7f590e53
pointer's variables are config vars
Dana Jansens danakj@orodu.net
74c683ee
font.h and font.c
Derek Foreman manmower@gmail.com
9ecdf13b
added font_startup
Derek Foreman manmower@gmail.com
6682d070
filled out font texture
Derek Foreman manmower@gmail.com
aa68e45b
added some font stuff
Derek Foreman manmower@gmail.com
f8a47de5
merge the C branch into HEAD
Dana Jansens danakj@orodu.net
8ba0586b
use the new config system.. a bit..
Dana Jansens danakj@orodu.net
feaf3ac4
time to refactor shit hard
Dana Jansens danakj@orodu.net
1dac42d9
catch button presses on the client border (the plate's border)
Dana Jansens danakj@orodu.net
d2a893c0
make the version printf just a debug message
Dana Jansens danakj@orodu.net
2df4d8c7
map to the highest possible desktop if a desktop too large is requested
Dana Jansens danakj@orodu.net
fb1c1a81
only map on a requested desktop if its not out of range
Dana Jansens danakj@orodu.net
c29a1f14
nick's no longer the site designer
Dana Jansens danakj@orodu.net
11184551
add mention of being OSI Certified Open Source Software
Dana Jansens danakj@orodu.net
296dacb0
Added the much sought after horizontal gradient
Derek Foreman manmower@gmail.com
2ffeaf1e
labels are higher than buttons too
Dana Jansens danakj@orodu.net
89a5c973
surface's have a size not a width()/height()
Dana Jansens danakj@orodu.net
65e91ac3
labels are not the size of buttons
Dana Jansens danakj@orodu.net
dfd3f12c
make labels' parent relative actually work :>
Dana Jansens danakj@orodu.net
1e47e17d
make parentrelative decorations work
Dana Jansens danakj@orodu.net
04494f10
dont assume only 5 mouse buttons.
dont need to track them all either, kill the queue, and watch one at a timesmarter
Dana Jansens danakj@orodu.net
299f7ad2
position is a function
Dana Jansens danakj@orodu.net
56d2f942
position relative to the window properly
Dana Jansens danakj@orodu.net
d2a1ecb1
let any number of mouse buttons work
Dana Jansens danakj@orodu.net
d647de97
add the new '-remote' option. let the dispatchEvents loop work in 'local' or 'remote' mode.
Dana Jansens danakj@orodu.net
d8429b31
add new options for placement of the motion coords popup.
use a parentless label.
Dana Jansens danakj@orodu.net
cf977332
use the new desktopNames()
Dana Jansens danakj@orodu.net
0a93178b
let you create a parentless label
Dana Jansens danakj@orodu.net
b3a87e3a
a few optimizations to layouts/rendering
Dana Jansens danakj@orodu.net
503638db
typo!
Dana Jansens danakj@orodu.net
781495e2
oops messed up centered
Dana Jansens danakj@orodu.net
14813743
add a POPUP_CENTERED option
Dana Jansens danakj@orodu.net
ed55720b
make the highlighted button high a white border
Dana Jansens danakj@orodu.net
21999227
make button text white in the default style
Dana Jansens danakj@orodu.net
a1a606d4
watch for case where we think one button is pressed but it isnt anymore, making Click events get missed
Dana Jansens danakj@orodu.net
ccb58d37
adjust to the new format for otk::Proeprty::get() functions (no nelements)
let the user specify if it is a 'final' move for a window or not, and the client will only be sent a ConfigureNotify if it is.
Dana Jansens danakj@orodu.net
232092fa
provide a function to return all the desktop names instead of one at a time.
adjust to the new format for otk::Proeprty::get() functions (no nelements)
Dana Jansens danakj@orodu.net
60cd451a
keep track of if the move is the final move or not, and pass it along
Dana Jansens danakj@orodu.net
109c5896
focus does not return anything now, cuz its just the function which sends a focus event
Dana Jansens danakj@orodu.net
3c82ae88
screeninfo and display are no more
Dana Jansens danakj@orodu.net
ec575f22
use the new sexy additions to the python classes
Dana Jansens danakj@orodu.net
971e227b
set teh xinerama stuff even when not compiled with the xinerama extension so code can use it always
Dana Jansens danakj@orodu.net
3f80d431
swig cares about (void) it seems :\
Dana Jansens danakj@orodu.net
729506e1
calcDefaultSizes is protected
Dana Jansens danakj@orodu.net
bc8d855b
use "fixed" as the fallback font always
Dana Jansens danakj@orodu.net
59d51998
rename getRenderControl to the more precise createRenderControl
Dana Jansens danakj@orodu.net
b9a7d8f9
nelements is not passed anymore, its simply a return value. get() will grab the entire property.
Dana Jansens danakj@orodu.net
590e5e23
nelements is not passed anymore, its simply a return value
Dana Jansens danakj@orodu.net
2f95a7e0
'final' cleanup for the new otk wrapper .i's
Dana Jansens danakj@orodu.net
45341519
split up the otk stuff into separate files.
wrap otk::Property properly with typemaps so that it is usable.
wrap otk::Timer properly so that you can use it with a python callback
Dana Jansens danakj@orodu.net
1741bdde
only return as many as was requested
Dana Jansens danakj@orodu.net
956ada07
oops nevermind
Dana Jansens danakj@orodu.net
3de18ef7
prevent people from using timers except as pointers
Dana Jansens danakj@orodu.net
3240c1d9
check for no screens before asserting
Dana Jansens danakj@orodu.net
916b58f9
ignore NUM values in enums
Dana Jansens danakj@orodu.net
fbfa2798
dont need preprocessor shit for swig
Dana Jansens danakj@orodu.net
8bf56a28
allocate colors right away instead of delaying it, since they get allocated out of the rendercontrol, and it will never fail.
Dana Jansens danakj@orodu.net
716ab805
remove some include/import we dont need.
include all the headers we do need before each code fragment
Dana Jansens danakj@orodu.net
c217a730
split the ob module into separate .i's
cleanly define the interface, add functions for modifying the objects (via client messages)
Dana Jansens danakj@orodu.net
0dd7ebcb
add support for the openbox_restack_window message.
use the state_add/remove/toggle values from otk::Property::atoms
Dana Jansens danakj@orodu.net
c15dced3
this has been moved to wrap/
Dana Jansens danakj@orodu.net
dee0170b
add openbox_restack_window, and the state_add/remove/toggle values
Dana Jansens danakj@orodu.net
b3879a23
s/False/false/
Dana Jansens danakj@orodu.net
c6930ae2
rm the SWIG ifdefs
Dana Jansens danakj@orodu.net
36130371
kill the typedef
Dana Jansens danakj@orodu.net
d2adccbe
80 cols
Dana Jansens danakj@orodu.net
a7d17188
return a Python list of Client*'s when a std::list<Client*> is returned
Dana Jansens danakj@orodu.net
5fc7db1c
allow cycling without a modifier in the binding
Dana Jansens danakj@orodu.net
31d41a7a
defualt START_WITH_NEXT to true for desktops too
Dana Jansens danakj@orodu.net
671230f8
add the new cycle module with super snazzy new Cycle classes. yay KatanaLynx!
Dana Jansens danakj@orodu.net
136c9c07
support for pixmap icons, kwm_win_icon and the icon in wmhints
Dana Jansens danakj@orodu.net
0c2f0e0b
keep track of the kwm_win_icon property
Dana Jansens danakj@orodu.net
42fbb46a
add the kwm_win_icon atom
Dana Jansens danakj@orodu.net
6354e771
cleanup
Dana Jansens danakj@orodu.net
93ea4c4d
supply more information about errors when running scripts
Dana Jansens danakj@orodu.net
16a952c3
adjust how the config is loaded. it is not loaded at all during the screen's constructor, it is loaded afterwards and applied, but before windows are managed
Dana Jansens danakj@orodu.net
893faed7
order things to work correctly for now, with the python loading and the the config setting
Dana Jansens danakj@orodu.net
2cbb95c3
change the default titlebar layout
Dana Jansens danakj@orodu.net
5cd8680f
make them const
Dana Jansens danakj@orodu.net
dfe7f46b
provide == and != for DialogButtons
Dana Jansens danakj@orodu.net
c8789ccd
execute files such that i can track if an exception was thrown in it
Dana Jansens danakj@orodu.net
8ed79248
when python_exec fails on user.py:
  a) remove all the bindings
  b) exec defaults.py
  c) show a dialog message
Dana Jansens danakj@orodu.net
8cbabdcb
import the config module properly.
shit all over stderr and exit when something from the config module couldn't be loaded
Dana Jansens danakj@orodu.net
bb4990af
dont wrap pointerassassin
Dana Jansens danakj@orodu.net
8269fc2b
set the gravity to center the dialog.
size it off the minSize which is already calculated, not off the size() with is nto
Dana Jansens danakj@orodu.net
e07ea848
only fire the clickHandler if the button is released with the cursor over it
Dana Jansens danakj@orodu.net
bbd9cb99
rm the warnings for now
Dana Jansens danakj@orodu.net
cee0482c
make DialogButtons take char*'s meaning that the label will always be Utf-8
Dana Jansens danakj@orodu.net
213df281
only hide the dialog if a default button exists when enter is hit
Dana Jansens danakj@orodu.net
c71738f3
let you .focus() a messagedialog
Dana Jansens danakj@orodu.net
010e12c4
only show() if the dialog is not already visible
Dana Jansens danakj@orodu.net
7a41f773
add otk::MessageDialog
Dana Jansens danakj@orodu.net
f325abe4
use the current size, which will get capped by max/mins
Dana Jansens danakj@orodu.net
33e87b39
dont forget borders/bevels
Dana Jansens danakj@orodu.net
afe1d9e3
still draw the background when no text will fit
Dana Jansens danakj@orodu.net
c7d4901f
set the style
Dana Jansens danakj@orodu.net
532697b2
put the desktop names in the right variable
Dana Jansens danakj@orodu.net
a89166a1
cleaner while loop
Dana Jansens danakj@orodu.net
73a58498
Fixed a bug in grab handling for chains
(wasn't updating _grabbed or the current binding tree position in some cases)
Derek Foreman manmower@gmail.com
fd766894
dont provide a default icon in the python stuff, itll come from the style
Dana Jansens danakj@orodu.net
d2dcef46
initialize _font
Dana Jansens danakj@orodu.net
7fe3301e
Add the "obsetroot" tool. Use it to set the root background.
Dana Jansens danakj@orodu.net
299dc47a
rm shit that no longer applies
Dana Jansens danakj@orodu.net
f65e21ce
use ctdio
Dana Jansens danakj@orodu.net
0d59a002
sync before changing the ignore_errors state
Dana Jansens danakj@orodu.net
e3f6e0ff
make reduceDepth set the im->data member, with newly allocated data, so the pixelData in the surface isn't reduced
Dana Jansens danakj@orodu.net
53b5c60a
check if the window is focused before unfocusing it
Dana Jansens danakj@orodu.net
7393a17b
use the same alogo to pick a color in allocateColor as in reduceDepth, break it off into an inline function.
Dana Jansens danakj@orodu.net
f78761c8
just because we think we're focused doesnt mean we actually are, so send the focus change to the xserver anyways.
Dana Jansens danakj@orodu.net
4a90b1b4
better default icon, same thing, placed better
Dana Jansens danakj@orodu.net
29d030cc
use an icon smaller than the surface if possible
Dana Jansens danakj@orodu.net
0b466d71
kill debug prints
Dana Jansens danakj@orodu.net
01a37dfe
allocate colors in pseudocolor from the map we allocate in the rendercontrol
Dana Jansens danakj@orodu.net
49974f69
dont put DEBUG: in the printf
Dana Jansens danakj@orodu.net
50002f2c
add a default icon
Dana Jansens danakj@orodu.net
e936cba5
rm debug print
Dana Jansens danakj@orodu.net
2f2d6e73
layout the titlebar right, was adding too much space when buttons were removed from the titlebar
Dana Jansens danakj@orodu.net
059bc4dc
add a Config class with config data from the scripts.
set up the functions for loading a style from a file.
use the Config class throughout instead of reading out of the python namespace all the time.
Dana Jansens danakj@orodu.net
1431cd19
8bpp pseudo color.  it's horrid code.  the graphics are horrid.
I have done many terrible things and I'm so very very sorry. :(
Derek Foreman manmower@gmail.com
238355f1
put the Python.h header in the .cc
Dana Jansens danakj@orodu.net
54e85b25
only keep fullscreen windows in the top layer when they or a relative is focused
Dana Jansens danakj@orodu.net
8446eaed
scale images down to the available surface size
Dana Jansens danakj@orodu.net
576f03f6
don use gradient for titlebar.. waste of cycles
Dana Jansens danakj@orodu.net
e71fb6c6
| NOT & YOU BASTARD
Dana Jansens danakj@orodu.net
07305ec7
display icons in the frame titlebar!
Dana Jansens danakj@orodu.net
1e58c863
render images properly, minus the scaling
Dana Jansens danakj@orodu.net
afd47769
uncomment the _NET_WM_ICON property
Dana Jansens danakj@orodu.net
af27d7b7
doc _layer.
add an Icon struct
Dana Jansens danakj@orodu.net
939e7887
notify the frame when the desktop changes
Dana Jansens danakj@orodu.net
23cc9e05
show state with the alldesktops and max buttons
Dana Jansens danakj@orodu.net
f8983146
buttons press!
Dana Jansens danakj@orodu.net
c88451f0
readd titlebar buttons. but they dont press yet
Dana Jansens danakj@orodu.net
3e504ae5
rm a stupid bb format
Dana Jansens danakj@orodu.net
329de788
add _created
Dana Jansens danakj@orodu.net
ea20fcc2
only free allocated colors
Dana Jansens danakj@orodu.net
15f22082
borked the build
Dana Jansens danakj@orodu.net
dca8c61a
free the colors on shutdown
Dana Jansens danakj@orodu.net
68482ff5
no segfault plz tnx
Dana Jansens danakj@orodu.net
0ebf6a17
only store what we need to in the class
Dana Jansens danakj@orodu.net
e451c08a
alloc colors only when needed, and free them properly on destruction
Dana Jansens danakj@orodu.net
8ad1d0bb
clear the stringlist before populating it
Dana Jansens danakj@orodu.net
7c32ac2b
proper order for headers
Dana Jansens danakj@orodu.net
ec2113ca
move comment
Dana Jansens danakj@orodu.net
7a2a4615
only store what we need to in the class
Dana Jansens danakj@orodu.net
dd898115
alloc colors.. i think!
Dana Jansens danakj@orodu.net
6b1381d6
add mising ()s
Dana Jansens danakj@orodu.net
a0738a01
more efficient/nicer way to get the XColor values
Dana Jansens danakj@orodu.net
044c8ae4
start of pseudo init
Dana Jansens danakj@orodu.net
5e0fc865
start of pseudocolor init
Dana Jansens danakj@orodu.net
325a909d
move printf..
Dana Jansens danakj@orodu.net
fe1473bc
use the frame's area() properly
Dana Jansens danakj@orodu.net
51606622
use the frame's area not the client's
Dana Jansens danakj@orodu.net
9faca110
kill all the old commented vars in rendercontrol.hh
add some preliminary vars in pseudorendercontrol.hh
Dana Jansens danakj@orodu.net
72ff846d
make all the rendering code in RenderControl. use true/pseudo RenderControl classes just for reducing the pixel32 data to the appropriate bitdepth.
Dana Jansens danakj@orodu.net
f30b2a89
can draw icons in truecolor!
Dana Jansens danakj@orodu.net
e1473968
increment x
Dana Jansens danakj@orodu.net
3147ad1a
start on the rendering images code
Dana Jansens danakj@orodu.net
555facb9
free the surfaces' pixeldata after rendering it
Dana Jansens danakj@orodu.net
aceea3c0
add skeleton for RenderControl::drawImage
Dana Jansens danakj@orodu.net
2808ab5b
add RenderControl::drawMask
Dana Jansens danakj@orodu.net
58847af2
store the pixel32 data in the surface so it can be reused
Dana Jansens danakj@orodu.net
e429ce39
new key code with keyboard grabs and such, thanks to ManMower. Kills the "key leak" bug, and makes everything work better and faster! woot
Dana Jansens danakj@orodu.net
4eaa6551
add ABOUT-NLS
Dana Jansens danakj@orodu.net
71f9b6cf
proper check for modifiers being released, not caring about added.
Dana Jansens danakj@orodu.net
7112755c
add a comment regarding the client.area() being not-what-you-want
Dana Jansens danakj@orodu.net
15c2e7e2
add the icons app
Dana Jansens danakj@orodu.net
0e06aab5
make the icons program a C app.
Dana Jansens danakj@orodu.net
c735d499
add an app to display the icons for a window
Dana Jansens danakj@orodu.net
6ae8608a
make stacked cycling work without a modifier-key binding, i think. cleaner checking for modifiers in motion and stackedcycle.
Dana Jansens danakj@orodu.net
5af39507
better include_icons selection, add INCLUDE_ICONS_ALL_DESKTOPS
Dana Jansens danakj@orodu.net
b18959e1
provide access to the desktop names
Dana Jansens danakj@orodu.net
d993bcd9
include the desktop name if cycling on all desktops is enabled
Dana Jansens danakj@orodu.net
9676a677
change the exception message
Dana Jansens danakj@orodu.net
4ffa9585
remove unused apply
Dana Jansens danakj@orodu.net
783b4dac
add W-d to toggle show-desktop-mode by default
Dana Jansens danakj@orodu.net
33c0058f
add callbacks to show/hide the desktop
Dana Jansens danakj@orodu.net
22b5d645
initialize the net_showing_desktop hint
Dana Jansens danakj@orodu.net
63646b38
make some of otk::property work
Dana Jansens danakj@orodu.net
1e46a39d
more user friendly net_showing_desktop support
Dana Jansens danakj@orodu.net
ba9b0617
smarter focus restoring
Dana Jansens danakj@orodu.net
5d47526b
focus the desktop when entering show-desktop-mode, and refocus what was focused before when leaving
Dana Jansens danakj@orodu.net
265cf6c9
show desktop mode works!
Dana Jansens danakj@orodu.net
f305e7f1
rm some old commented code
Dana Jansens danakj@orodu.net
81c164bb
add support for desktop layouts specified by pagers
Dana Jansens danakj@orodu.net
29bd1c97
rm a debug print
Dana Jansens danakj@orodu.net
dd088e72
kill a warning
Dana Jansens danakj@orodu.net
30cef0ce
add _NET_DESKTOP_LAYOUT and _NET_SHOWING_DESKTOP
Dana Jansens danakj@orodu.net
f789d4a6
remove debug print
Dana Jansens danakj@orodu.net
82d147b5
better skipping of focus events while stackedcycling, fixes bug where esc would still change the order.
Dana Jansens danakj@orodu.net
4ef15148
stop using a desktop number for iconic windows. woot!
Dana Jansens danakj@orodu.net
12108e16
keep track of struts for each desktop
Dana Jansens danakj@orodu.net
a5ea4b04
add DONT_DUPLICATE option
Dana Jansens danakj@orodu.net
544bc20a
rm debug prints
Dana Jansens danakj@orodu.net
43c1f2a8
modal works like a charm now
Dana Jansens danakj@orodu.net
43f95899
use a solid color for the default background
Dana Jansens danakj@orodu.net
a4c8a839
layout fixes, give widgets a default texture, etc.
Dana Jansens danakj@orodu.net
c26e5ea7
set the _text
Dana Jansens danakj@orodu.net
ebdfbdab
keep things in min/max bounds properly
Dana Jansens danakj@orodu.net
5673ab7e
use parentrelative when theres no texture set
Dana Jansens danakj@orodu.net
07a7f6a3
mention that 2.9x is not supported
Dana Jansens danakj@orodu.net
115fedf4
use the c++ std cheaders
Dana Jansens danakj@orodu.net
74cfb1b4
signed ints instead of unsigned ints again. less pain. pain bad.
Dana Jansens danakj@orodu.net
9e05db95
remove includes for widgetbase.hh. fix bug with circular modal pointer.
Dana Jansens danakj@orodu.net
c54d92b7
this is no longer used
Dana Jansens danakj@orodu.net
e4fa1c5a
split the move and resize on the client window
Dana Jansens danakj@orodu.net
ef231de5
mad optimizations
Dana Jansens danakj@orodu.net
ee9eaed6
highlight the popup
Dana Jansens danakj@orodu.net
a81b9674
grab early in the cycle so that we dont miss the modifier release
Dana Jansens danakj@orodu.net
188e5cd5
udpate to new api
Dana Jansens danakj@orodu.net
f51f1c77
stacked cycling menu works now. add a highlighted flag to otk widgets
Dana Jansens danakj@orodu.net
e72d9d90
make stacked cycling work with new otk widgets.. not highlighting in the list yet though
Dana Jansens danakj@orodu.net
b555cd12
rm the headers that are no longer existing
Dana Jansens danakj@orodu.net
6a88803b
formatting
Dana Jansens danakj@orodu.net
17b02669
No longer using otk widgets for the frame decorations.
The titlebar no long has any buttons, in preparation for a new button system.
Using otk::Size for sizes, and unsigned ints (*PAIN*) we'll see..
Dana Jansens danakj@orodu.net
1c97e9fb
some updatesto match changes to otk. Many more needed..
Dana Jansens danakj@orodu.net
5adb8c82
updated wrappers around the new otk widget system and style system
Dana Jansens danakj@orodu.net
f9659acd
add the new size class' header
Dana Jansens danakj@orodu.net
99cd843f
Brand spankin new widgets for otk (Label and Button).
Add a new Size class.
Rect, Point, and Size are immutable classes.
Size uses *UNSIGNED* ints. This is causing me headaches * a bajillion right now, so we'll see about that.
Dana Jansens danakj@orodu.net
d2df4096
compress motion events better
Dana Jansens danakj@orodu.net
7359d4d7
compress config req's
Dana Jansens danakj@orodu.net
4f711edc
move marius from active developers to contributors :\
Dana Jansens danakj@orodu.net
7b8c5c89
catch exception if the file doesnt exist
Dana Jansens danakj@orodu.net
c3e4f97d
make "make dist" work, compiler flags cleanups
Dana Jansens danakj@orodu.net
37050803
rm this thing
Dana Jansens danakj@orodu.net
2e7bb615
include the .i's in the dist
Dana Jansens danakj@orodu.net
8cc27160
supply the same interface with optional arguments as before. increment callback functions when they are registered.
Dana Jansens danakj@orodu.net
3ca451fc
use the new atoms global
Dana Jansens danakj@orodu.net
f26ebce5
only show prints for debug builds
Dana Jansens danakj@orodu.net
7c8c9e99
new swig build system. much better. yay.
Dana Jansens danakj@orodu.net
ffea5b55
you need swig at least 1.3.14
Dana Jansens danakj@orodu.net
b23ed19a
install the scripts as python, so they get compiled
Dana Jansens danakj@orodu.net
bdbbfd6c
missing a )
Dana Jansens danakj@orodu.net
04d08398
require automake 1.7.1 for py-compile
Dana Jansens danakj@orodu.net
67fbe835
dont make wrap a subdir of otk
Dana Jansens danakj@orodu.net
7d94983b
give output when building a cvs release
Dana Jansens danakj@orodu.net
1d4cff7d
move the otk swig module into its own lib/directory
Dana Jansens danakj@orodu.net
863c04cb
add py-compile
Dana Jansens danakj@orodu.net
423367e8
move the otk wrapper stuff into its own dir
Dana Jansens danakj@orodu.net
a5a712f9
provide pkg-config info for libotk
Dana Jansens danakj@orodu.net
59ef3022
ignore the latex dir
Dana Jansens danakj@orodu.net
5072931b
use bevel width on the top/bottom too
Dana Jansens danakj@orodu.net
871e777e
use the widget's bevel width
Dana Jansens danakj@orodu.net
69d12b5e
use a focuslabel
Dana Jansens danakj@orodu.net
cdd260ab
don't wait for x events if any timers fired
Dana Jansens danakj@orodu.net
64ac7d05
80 cols
Dana Jansens danakj@orodu.net
53bed5e5
80 cols
Dana Jansens danakj@orodu.net
635af8c3
make sure windows aren't doing things they aren't allowed when their allowed actions changes.
remaximize windows when their decorations are changed
Dana Jansens danakj@orodu.net
bc099a5f
mention the swig wrapper warnings
Dana Jansens danakj@orodu.net
a612136b
various fixes to the otk widgets
Dana Jansens danakj@orodu.net
3b5d2d1b
add latex to the doc build process. fix namespace comments again.
Dana Jansens danakj@orodu.net
8df1670b
add an adjustable event mask
Dana Jansens danakj@orodu.net
f6ea9902
fix up the otk description
Dana Jansens danakj@orodu.net
4f837954
remove docs from old blackbox
Dana Jansens danakj@orodu.net
5688fbbc
ignore the wrappers
Dana Jansens danakj@orodu.net
bd971ede
ignore the wrappers
Dana Jansens danakj@orodu.net
6e2f3f9f
not needed, the .in is commited
Dana Jansens danakj@orodu.net
58336526
add operator==
Dana Jansens danakj@orodu.net
b8735c75
enforce a min size
Dana Jansens danakj@orodu.net
9e6b0d5a
update children first
Dana Jansens danakj@orodu.net
0bc098ca
dont include config.h from ..
Dana Jansens danakj@orodu.net
9dd156ce
add the headers, and install them
Dana Jansens danakj@orodu.net
a1740a50
add the headers
Dana Jansens danakj@orodu.net
fc4885a3
compile fix
Dana Jansens danakj@orodu.net
df0447ce
watch for bad actions and contexts
Dana Jansens danakj@orodu.net
f28550dc
add an assert to catch bad stuff from the python
Dana Jansens danakj@orodu.net
83327641
cleaner syntax
Dana Jansens danakj@orodu.net
cc050a4e
oops, missing a data.
Dana Jansens danakj@orodu.net
7d66a2a4
add some safety checks
Dana Jansens danakj@orodu.net
cb5eb0d5
store pointers instead of window id's. this lets us use them directly instead of having to look them all up all the time. this is possible now because we watch for new/close window events.
Dana Jansens danakj@orodu.net
76525992
update comment
Dana Jansens danakj@orodu.net
dddac554
remove quotes from comment
Dana Jansens danakj@orodu.net
21e9453c
add more comment
Dana Jansens danakj@orodu.net
8ee2603a
add a comment
Dana Jansens danakj@orodu.net
ffe214dc
missed some "'s
Dana Jansens danakj@orodu.net
02b63185
missed one capitalization
Dana Jansens danakj@orodu.net
220b5c40
make python config variables very visible by making them all capitals. cleaner nicer documentation in the py modules. make public functions more visible.
Dana Jansens danakj@orodu.net
7e3a0b22
don't raise the window when reverting from Escape
Dana Jansens danakj@orodu.net
9ae12978
simple possible bugfix? meh
Dana Jansens danakj@orodu.net
c0b0c004
keep iconic windows at the bottom of the cycling list always
Dana Jansens danakj@orodu.net
b001e857
watch for when theres no clients and avoid exceptions, just don't do shit all
Dana Jansens danakj@orodu.net
77ba3702
better comment
Dana Jansens danakj@orodu.net
7c8fa47e
add commented stuff for doing linear cycling
Dana Jansens danakj@orodu.net
8a05ae26
split out the linear cycling into focuscycle.py.
some better comments about what options can be used.
Dana Jansens danakj@orodu.net
00978e67
wrong scoping
Dana Jansens danakj@orodu.net
106883ee
force a binding with a modifier
Dana Jansens danakj@orodu.net
741aecf8
make Escape abort cycling
Dana Jansens danakj@orodu.net
a04d9fc2
add comments
Dana Jansens danakj@orodu.net
84dfca1c
remove debug prints
Dana Jansens danakj@orodu.net
51a41b9b
all new stacked cycling code. so much sexy.
add an openbox_active_window client message that lets you specify if you want the window to be raised and/or unshaded.
Dana Jansens danakj@orodu.net
f6085d78
rm debug prints
Dana Jansens danakj@orodu.net
981876ca
remove prints
Dana Jansens danakj@orodu.net
a765df7f
call getState() before updateTransientFor(), don't need to initialize _modal separately then
Dana Jansens danakj@orodu.net
4ddb8181
make this focus shit not buggy again..
Dana Jansens danakj@orodu.net
1da8531a
initialize _modal, its used before the window's type is checked
Dana Jansens danakj@orodu.net
046df3e7
update the client list's order after doing a stacked cycle
Dana Jansens danakj@orodu.net
4de57876
ignore the bins
Dana Jansens danakj@orodu.net
1cd253f4
handle modal windows better (bugfixes).
handle client-installed colormaps.
Dana Jansens danakj@orodu.net
5dfd87b0
add a focused() member
Dana Jansens danakj@orodu.net
02b9d474
dont let maximizing occur if the window cant move or resize
Dana Jansens danakj@orodu.net
92bc846c
add some tests
Dana Jansens danakj@orodu.net
c9389a89
support for modal children, both in the focus code and in the raise/lower code
Dana Jansens danakj@orodu.net
e44c0cba
set the desktop number before the number of desktops
Dana Jansens danakj@orodu.net
9f8253a0
fix a signed/unsigned thing
Dana Jansens danakj@orodu.net
6cc8d62e
find modal children and focus them
Dana Jansens danakj@orodu.net
d64505cf
logic error for modal focus
Dana Jansens danakj@orodu.net
edd53942
add function to focus modal children
Dana Jansens danakj@orodu.net
cda0b1b8
rm a XXX that we cant do anything about, and wont break things anyhow
Dana Jansens danakj@orodu.net
586cbd93
dont let kde override-redirect windows be moved or resized
Dana Jansens danakj@orodu.net
5bf70002
support the kde override_redirect hint, to make a window decor-less
Dana Jansens danakj@orodu.net
05a8e51f
add comments
Dana Jansens danakj@orodu.net
88a4e59f
always get the first focused screen
Dana Jansens danakj@orodu.net
ef48bd3d
only watch for events on our window.
rm a XXX
Dana Jansens danakj@orodu.net
2472004b
watch for windows on desktops being removed, and change desktops if on one being removed
Dana Jansens danakj@orodu.net
c0082933
rm a XXX
Dana Jansens danakj@orodu.net
4147215a
rm a XXX.. comment it out :)
Dana Jansens danakj@orodu.net
0571837e
maximizing fixes and simplification
Dana Jansens danakj@orodu.net
16df4538
fix compile err
Dana Jansens danakj@orodu.net
8b7373cf
rm a XXX
Dana Jansens danakj@orodu.net
7dbc6db0
remove a XXX
Dana Jansens danakj@orodu.net
afb8a281
support pseudocolor and greyscale displays by, using solid colors instead of gradients
Dana Jansens danakj@orodu.net
e6bfddf8
add pseudorendercontrol
Dana Jansens danakj@orodu.net
e0eaee86
include stdio
Dana Jansens danakj@orodu.net
f06b9449
Client::move moves the client to the position so that its *frame* will be at the given coordinates
Dana Jansens danakj@orodu.net
20ca8270
rm a print
Dana Jansens danakj@orodu.net
a0c28724
just a comment fix
Dana Jansens danakj@orodu.net
9223bfdd
let the client be moved to a position specified for the *frame*
Dana Jansens danakj@orodu.net
f5904cda
delete the openbox class, to shut things down properly!
Dana Jansens danakj@orodu.net
478f240c
fix the HOOOGE mem leak! YAY MANMOWER!
Dana Jansens danakj@orodu.net
ba872843
move windows based on their *frame* not the client
Dana Jansens danakj@orodu.net
8332db58
dont snap back, properly
Dana Jansens danakj@orodu.net
dec0760d
dont let this run past the buffer edge
Dana Jansens danakj@orodu.net
fcfda534
dont snap back onto the screen for resistance
Dana Jansens danakj@orodu.net
e2069b57
move the restart into main.cc, so the openbox class can clean up properly before the restart
Dana Jansens danakj@orodu.net
96a949ec
off-by-one
Dana Jansens danakj@orodu.net
4d4e17d1
to the bottom
Dana Jansens danakj@orodu.net
1814947e
move restart and exit to the top
Dana Jansens danakj@orodu.net
95a11f35
make restart's parameter optional
Dana Jansens danakj@orodu.net
da0c7355
change the default edge resistance
Dana Jansens danakj@orodu.net
3a8af58b
change commented code
Dana Jansens danakj@orodu.net
de4a388a
show the resize coords after moving them
Dana Jansens danakj@orodu.net
6eae9223
show the widget after moving it
Dana Jansens danakj@orodu.net
fd96ddd8
add a snap variable..
Dana Jansens danakj@orodu.net
a527c30f
formatting
Dana Jansens danakj@orodu.net
51628bae
dont decref this dictionary
Dana Jansens danakj@orodu.net
c2527df8
make the param optional
Dana Jansens danakj@orodu.net
b9ac2d30
add an exit callback
Dana Jansens danakj@orodu.net
8d99c55c
new merry theme updates
Dana Jansens danakj@orodu.net
8287fb28
check before deleting
Dana Jansens danakj@orodu.net
17a3f1e2
rm configuration class
Dana Jansens danakj@orodu.net
2fe0c0ee
rm this shit
Dana Jansens danakj@orodu.net
d73d4247
no more configuration.hh
Dana Jansens danakj@orodu.net
aaf297a1
delete the surface in destructor
Dana Jansens danakj@orodu.net
f1c0beee
make ignoring optional only for history placement
Dana Jansens danakj@orodu.net
76896e9a
dont include old configuration.hh
Dana Jansens danakj@orodu.net
d22a6c6c
capitalization
Dana Jansens danakj@orodu.net
abaaed47
add comment for configuration
Dana Jansens danakj@orodu.net
ca91ebe2
initialize the _single variable
Dana Jansens danakj@orodu.net
889cb888
GRAMMAR HAMMER
Dana Jansens danakj@orodu.net
5beb28df
add comments
Dana Jansens danakj@orodu.net
75a5004d
rm builtins.py
Dana Jansens danakj@orodu.net
8a7bff7a
let clients be remaximized to adjust to new surroundings/struts
Dana Jansens danakj@orodu.net
83bfa01b
remaximize windows when the strut changes
Dana Jansens danakj@orodu.net
5802cf61
add operator==
Dana Jansens danakj@orodu.net
a7c7ae09
dont let a resize get moved into a new increment by our little tricks
Dana Jansens danakj@orodu.net
6d1c4110
indent right
Dana Jansens danakj@orodu.net
d0c90fcc
dont let you ignore requested positions for !normal windows
Dana Jansens danakj@orodu.net
5d672875
add cascade placement
Dana Jansens danakj@orodu.net
dbfdd0fe
scroll workspaces on root without alt
Dana Jansens danakj@orodu.net
e390e277
use the windowmanagement ignore option
Dana Jansens danakj@orodu.net
ccef0308
allow random placement to override window placements
Dana Jansens danakj@orodu.net
9fb4c0b6
use history place by default
Dana Jansens danakj@orodu.net
28a08b7d
allow a callback to determine if a window should be history-placed
Dana Jansens danakj@orodu.net
41a03629
better historyplacement
Dana Jansens danakj@orodu.net
b18e83e0
always call the placewindow routine
Dana Jansens danakj@orodu.net
e1e5293a
historyplacement!!
Dana Jansens danakj@orodu.net
fe9fb53a
fire Startup on startup, not shutdown
Dana Jansens danakj@orodu.net
3cca0784
maximizing without bugs! can it be? i think so!
Dana Jansens danakj@orodu.net
2a2f4306
maximizing!
Dana Jansens danakj@orodu.net
4527e71d
added compile time check for client endianness
Derek Foreman manmower@gmail.com
9a47b042
another attempt at fixing strange endian issues
Derek Foreman manmower@gmail.com
f92804ec
Get the bit shifts from the client, not server
Derek Foreman manmower@gmail.com
bbe129c4
properly support "cross endian" configurations
Derek Foreman manmower@gmail.com
2eccd90f
fieron default
Dana Jansens danakj@orodu.net
7db9c2c0
note about automake
Dana Jansens danakj@orodu.net
45972ed5
update to new interface for toggle all desktops. use the new values for state_ calls.
Dana Jansens danakj@orodu.net
2c710b86
missing a break
Dana Jansens danakj@orodu.net
4a79f7c4
no options for the callbacls
Dana Jansens danakj@orodu.net
d11291df
doc the state functions better
Dana Jansens danakj@orodu.net
785957de
add comment
Dana Jansens danakj@orodu.net
536d54f9
import config
Dana Jansens danakj@orodu.net
ff94208c
typo
Dana Jansens danakj@orodu.net
3d8a035a
try appending our shit to the path, and not import config in the cc
Dana Jansens danakj@orodu.net
05aad313
doc the functions at the top
Dana Jansens danakj@orodu.net
3afcc0bb
fix comment
Dana Jansens danakj@orodu.net
f32ddbbf
use fitString to size the move coords box
Dana Jansens danakj@orodu.net
9c0ef038
break out _focusable() function to make the test if a window can be focused reusable code
Dana Jansens danakj@orodu.net
0833d51e
changes to the MERRY style
Dana Jansens danakj@orodu.net
2d669868
add functions to set the skipTaskbar/Pager state
Dana Jansens danakj@orodu.net
9e894362
add functions to give the skipTaskbar/Pager state
Dana Jansens danakj@orodu.net
8934a553
formatting of comment
Dana Jansens danakj@orodu.net
e0c8eae0
typos
Dana Jansens danakj@orodu.net
027e974e
let you optionally avoid focusing windows which have specified to not be displayed in taskbars
Dana Jansens danakj@orodu.net
1d94cd52
don't put windows in the focus cycling list if they are set to not show up in the taskbar
Dana Jansens danakj@orodu.net
31ae81b3
changeState after a setState request
Dana Jansens danakj@orodu.net
04c16882
focus windows on all desktops too
Dana Jansens danakj@orodu.net
a0389d0c
dont fux up the _dx and _dy for resizing
Dana Jansens danakj@orodu.net
61095002
don't move the client if it isnt going anywhere
Dana Jansens danakj@orodu.net
5de35ba1
update the strut when a client is unmanaged
Dana Jansens danakj@orodu.net
c0446bba
rm debug prints
Dana Jansens danakj@orodu.net
f7a0eb76
grab the keyboard during move/resize to make sure the popup doesnt get left onscreen if the modifiers are released before the button
Dana Jansens danakj@orodu.net
3409b046
add motion.py, which provides funtions for moving/resizing a window interactively
Dana Jansens danakj@orodu.net
bb6ac36d
working popups for moving/resizing
Dana Jansens danakj@orodu.net
225d4302
popups for moving and resizing
Dana Jansens danakj@orodu.net
38345bf3
make parents dirty when a widget resizes
save the fixed_width/fixed_height when doing an internalResize
Dana Jansens danakj@orodu.net
3b398048
add a Release MouseAction for python hooks
Dana Jansens danakj@orodu.net
c2c21e95
blef
Dana Jansens danakj@orodu.net
496c185f
dont shade without a titlebar.
more correct configurenotifies
Dana Jansens danakj@orodu.net
1c61a333
add debug print
Dana Jansens danakj@orodu.net
705d70b0
remove debug print
Dana Jansens danakj@orodu.net
f4c91c54
missing a )
Dana Jansens danakj@orodu.net
a692d5c4
check if the client wants focus before adding to list
Dana Jansens danakj@orodu.net
ef0e907e
add windows on all-desktops to the cycle list
Dana Jansens danakj@orodu.net
88662942
FIERON default
Dana Jansens danakj@orodu.net
b2896c3e
Change the order of the color components in a pixel32 on big endian
Derek Foreman manmower@gmail.com
6ab3dc5c
smaller font
Dana Jansens danakj@orodu.net
edcd9726
add merry's style as an option
Dana Jansens danakj@orodu.net
03faa497
finally set up handle right based on max/min sizes
Dana Jansens danakj@orodu.net
6cf79c8f
make a .py rule
Dana Jansens danakj@orodu.net
6584ed21
make .py rule
Dana Jansens danakj@orodu.net
a7ccc544
dont show a handle if it cant be resized at all
Dana Jansens danakj@orodu.net
34ed8c17
dont show a handle if it cant be resized
Dana Jansens danakj@orodu.net
81144d93
check for endian order
Dana Jansens danakj@orodu.net
359218b6
fix compiling bug
Dana Jansens danakj@orodu.net
98f05a5c
let the user remove client decorations.
Dana Jansens danakj@orodu.net
6236b523
update the list of src files with translations.
Dana Jansens danakj@orodu.net
44d653e3
make struts get added to the screen when mapping a window. let the user disable window decorations.
Dana Jansens danakj@orodu.net
5f89f11d
include shit in the dist
Dana Jansens danakj@orodu.net
1677fe84
include the openbox.1.in in the dist
Dana Jansens danakj@orodu.net
ee356f42
remove LICENSE from the dist files
Dana Jansens danakj@orodu.net
7f6dfe5c
dont install buttons we dont use
Dana Jansens danakj@orodu.net
3e889e72
adjust default click-focus model a bit
Dana Jansens danakj@orodu.net
88c4eecd
make the echo more noticable
Dana Jansens danakj@orodu.net
9f39dc13
make pwd work
Dana Jansens danakj@orodu.net
88a82090
echo a message about where to find the generated docs
Dana Jansens danakj@orodu.net
2e08c6ce
describe -sync better
Dana Jansens danakj@orodu.net
aef05c77
add the doxygen configuration
Dana Jansens danakj@orodu.net
6c5c7fd0
don't manage override_redirect windows.
don't manage windows for whome get attributes fails.
validate the client before managing it.
Dana Jansens danakj@orodu.net
39c6969d
allow for the client to be validated.
don't manage override_redirect windows.
don't manage windows for whome get attributes fails.
validate the client before managing it.
validate the client in functions that query stuff off it: propertyHandler and clientMessageHandler
Dana Jansens danakj@orodu.net
58dc93ab
make default focus model click-focus.
make middle-click focus the window
Dana Jansens danakj@orodu.net
1862fd05
ignore errors when proxying configurerequests
Dana Jansens danakj@orodu.net
0c05f5d9
allow for ignoring x errors.
Dana Jansens danakj@orodu.net
0f2bcee0
allow for ignoring x errors.
make grab() sunc immediately and ungrab() flush
Dana Jansens danakj@orodu.net
c5b2de2e
link the test apps properly
Dana Jansens danakj@orodu.net
aaaf22be
give the debian pkg names
Dana Jansens danakj@orodu.net
a20c78f7
add comment
Dana Jansens danakj@orodu.net
85706d99
grab the pointer when grabbing the keyboard to discard pointer events
Dana Jansens danakj@orodu.net
e767dd79
only ignore NotifyGrab again
Dana Jansens danakj@orodu.net
668b2866
comment unused variable
Dana Jansens danakj@orodu.net
a8a5b519
rm debug print
Dana Jansens danakj@orodu.net
01a76071
sync after sending focus
Dana Jansens danakj@orodu.net
530da070
ignore more focus events, and also crossing events from grabs
Dana Jansens danakj@orodu.net
02683653
destroy the list before ungrabbing
Dana Jansens danakj@orodu.net
3ec33ffb
handle weird cases where theres no more focused windows left gracefully (switching desktops)
Dana Jansens danakj@orodu.net
2a36b90e
add docs
Dana Jansens danakj@orodu.net
5559780c
add comments at the top for the functions
Dana Jansens danakj@orodu.net
98a13160
stacked_cycle_popup_list done
Dana Jansens danakj@orodu.net
289e5e74
fix bug in python when rming window while cycling
Dana Jansens danakj@orodu.net
3fa43baf
titlebar focus in the background of the popuplist
Dana Jansens danakj@orodu.net
5e24320b
add margins, and limit title lengths
Dana Jansens danakj@orodu.net
ff0f2bd3
focus cycling list
Dana Jansens danakj@orodu.net
d3baca52
move the font up in the file so its generated before renderstyle
Dana Jansens danakj@orodu.net
2a195d71
include gettext.h from ../src
Dana Jansens danakj@orodu.net
674f2609
include gettext from ../src
Dana Jansens danakj@orodu.net
395a0af9
add version for automake
Dana Jansens danakj@orodu.net
619864a1
a little reordering.. useless really
Dana Jansens danakj@orodu.net
5de751b1
setStyle in the constructor
Dana Jansens danakj@orodu.net
3f784100
support the aspect ratio hints in the WMNormalHints
Dana Jansens danakj@orodu.net
25b85266
font use the same ifdefs as label.hh
Dana Jansens danakj@orodu.net
1eb12ca4
adjust chicldren relative to self, not root
Dana Jansens danakj@orodu.net
99999226
setStyle in the constructor of each child widget
Dana Jansens danakj@orodu.net
f55419c1
rm an old stdio include
Dana Jansens danakj@orodu.net
dd275c8a
describe -DSWIG_GLOBAL
Dana Jansens danakj@orodu.net
8c5e8ab9
otk should not be including anything in src/
Dana Jansens danakj@orodu.net
d600bf8d
openbox scripting works again! config too!
Dana Jansens danakj@orodu.net
340c4c95
add new shit
Dana Jansens danakj@orodu.net
49394f1e
use a built-in module to replace libswigpy
Dana Jansens danakj@orodu.net
5face4c6
use otk objects in the ob scripts by importing otk
Dana Jansens danakj@orodu.net
5168a8ad
new scripts for new script structure
Dana Jansens danakj@orodu.net
be18a7c3
add alt-tab to the default bindings
Dana Jansens danakj@orodu.net
997f94cf
new/better/cleaner scripting interface
Dana Jansens danakj@orodu.net
02d63621
change include path to not include otk/
Dana Jansens danakj@orodu.net
5807ca8d
add path to include
Dana Jansens danakj@orodu.net
b760c466
remove these at last
Dana Jansens danakj@orodu.net
edcbed44
Added diagonal and crossdiagonal gradients
Derek Foreman manmower@gmail.com
3682df8e
include widgetbase not widget
Dana Jansens danakj@orodu.net
d69061e2
add some design ideas for a glue layer between the wm and the scripts
Dana Jansens danakj@orodu.net
084d6f4e
some intermediate stage. stacked focus cycling is very broken. dont try it. going to have to change how the python stuff works i think!
Dana Jansens danakj@orodu.net
91c7e5c3
allow python to grab the keyboard. have release events go to the grabs callback. remove the modifier from teh state when a modifier key is the one being released
Dana Jansens danakj@orodu.net
73a776ee
add all teh steps
Dana Jansens danakj@orodu.net
127c3cf9
add instructions for CVS compiling
Dana Jansens danakj@orodu.net
3a5d404a
wrapper changes
Dana Jansens danakj@orodu.net
747c089a
dont focus on A-Left
Dana Jansens danakj@orodu.net
f9249a35
put back the font
Dana Jansens danakj@orodu.net
02e81075
fix a comment
Dana Jansens danakj@orodu.net
80a42d2b
bold non-shadowed font
Dana Jansens danakj@orodu.net
9da1f717
smaller, non-bold font
Dana Jansens danakj@orodu.net
3e21214a
don't make dock type windows auto-omni-present.
add some debug prints
Dana Jansens danakj@orodu.net
f7f5f3d0
add printf for when a window requests its desktop
Dana Jansens danakj@orodu.net
ab2968b3
add an UrgentNotify callback type. fire it when a window becomes "urgent"
Dana Jansens danakj@orodu.net
39f19f42
watch for multiple map requests on the same window. ignore after the first.
Dana Jansens danakj@orodu.net
406c79ae
out with the blackbox source
Dana Jansens danakj@orodu.net
f1951eaa
rm all the bb shit
Dana Jansens danakj@orodu.net
f2e005f4
remove the old blackbox bullshit
Dana Jansens danakj@orodu.net
104c1a16
wrap around right for focus cycling
Dana Jansens danakj@orodu.net
d4e4e25e
Added color reduction for 16bpp displays
Derek Foreman manmower@gmail.com
47fb66e5
blef
Dana Jansens danakj@orodu.net
ff98438a
keep a list of clients in the order that they have been focused
Dana Jansens danakj@orodu.net
f4b87e04
be smart about skipping focusing a window from unmap events, watch the unmap_ignore
Dana Jansens danakj@orodu.net
38396b8a
remove client_buttons
Dana Jansens danakj@orodu.net
b6defb3c
cleanups for how we display iconic state in the hints, and choose it in the mapping process. make things work with gnome-panel's restore-to-native/current-workspace
Dana Jansens danakj@orodu.net
bb303c74
use the proper screen area, which excludes area taken up by struts
Dana Jansens danakj@orodu.net
8b4004ac
make docks and desktops always on all desktops
Dana Jansens danakj@orodu.net
ea902741
put this back mostly.
Dana Jansens danakj@orodu.net
a9e39af4
make A-1 mouse focus
Dana Jansens danakj@orodu.net
64fd3c34
those adds werent a mistake.. :P
Dana Jansens danakj@orodu.net
709c747a
add iconifying!!!!
also cleanup the map process a bit, the close action wasn't being set in the allowed actions.
Dana Jansens danakj@orodu.net
9583bb6c
add comment, and reformat
Dana Jansens danakj@orodu.net
8d4fe416
maprequests do not come here once the window is managed any more. they go to the plate. make events on the plate go to the client for handling, and dont bother looking for clients in the maprequesthandler anymore
Dana Jansens danakj@orodu.net
4c5671ee
remove unused old handlers
Dana Jansens danakj@orodu.net
73026adf
put back the background
Dana Jansens danakj@orodu.net
18ab2453
cycling by any number of windows
Dana Jansens danakj@orodu.net
707f7068
linear focus cycling
Dana Jansens danakj@orodu.net
9a64438a
set the root window, to a color for now
Dana Jansens danakj@orodu.net
bf3a40ad
fixed incredibly embarassing cut'n'paste error in highlight
Derek Foreman manmower@gmail.com
b45a68cc
Fixed corners of bevels
Derek Foreman manmower@gmail.com
312db4ca
Added bevels
Derek Foreman manmower@gmail.com
28b8f675
remove the word "sticky" from everywhere, and replace with "all desktops". change the titlebar layout to use D instead of S for the all-desktops button
Dana Jansens danakj@orodu.net
7b7ae097
make the 'toggle all desktops' button work
Dana Jansens danakj@orodu.net
7b9d92b2
add decor_sticky to the default decorations list
Dana Jansens danakj@orodu.net
2c977ae7
remove the border on the handle
Dana Jansens danakj@orodu.net
ff3bb756
remove debug printfs
Dana Jansens danakj@orodu.net
b5963e0e
added borders to gradient backgrounds
Derek Foreman manmower@gmail.com
4dcb3093
remove debug printf
Dana Jansens danakj@orodu.net
bb5a07b3
check if the window exists before trying to focus it
Dana Jansens danakj@orodu.net
6266b9e0
use the fieron bitmap mask style
Dana Jansens danakj@orodu.net
741c68bb
include algorthm forstd::find
Dana Jansens danakj@orodu.net
bf24a3b7
dont use a const_iterator
Dana Jansens danakj@orodu.net
7048f64f
dont use a const_iterator
Dana Jansens danakj@orodu.net
f9818bff
add stdio.h
Dana Jansens danakj@orodu.net
c4427cc1
give access to _timeout for shitty compilers in TimerCompare
Dana Jansens danakj@orodu.net
8152d453
add stdio.h
Dana Jansens danakj@orodu.net
b99508df
bitmap masks return!
Dana Jansens danakj@orodu.net
e64d90be
new render system in effect. now ot make it look right
Dana Jansens danakj@orodu.net
46441f7d
starts.. then exits.
Dana Jansens danakj@orodu.net
dd6f9068
compiles with the new render subsystem...
Dana Jansens danakj@orodu.net
17d63184
 hardcode some bitmap masks
Dana Jansens danakj@orodu.net
11f59d79
render code fixes
Dana Jansens danakj@orodu.net
42fbe726
add the pixel to the cache
Dana Jansens danakj@orodu.net
1b5d52c7
save/load the pixel in the cache
Dana Jansens danakj@orodu.net
3fe7bded
increment the count 1 right off the start for the cache
Dana Jansens danakj@orodu.net
77882b46
break when no more widgets showing
Dana Jansens danakj@orodu.net
70e2ab80
show recursive.. recursively
Dana Jansens danakj@orodu.net
033e9843
otk using new render shit.. supposedly
Dana Jansens danakj@orodu.net
75e8fc27
hardcoded renderstyle
Dana Jansens danakj@orodu.net
c487295c
part of a hardcoded style done
Dana Jansens danakj@orodu.net
c8702ceb
REMOVE -fno-rtti. we use that!
Dana Jansens danakj@orodu.net
031da4f1
-fno-rtti as in cxxflags too!
Dana Jansens danakj@orodu.net
31c20197
added "pixel32" typedef for 32bit rgb data
added a single gradient texture type (vertical)
Derek Foreman manmower@gmail.com
e6c12f8f
Added a secondary color for gradients
Derek Foreman manmower@gmail.com
fabb6e8c
testing a gradient texture now
Derek Foreman manmower@gmail.com
9280f1b6
fix the stupid spelling
Dana Jansens danakj@orodu.net
ac48993e
add -fno-check-new -fno-execptions to the g++ cxxflags
Dana Jansens danakj@orodu.net
25f01511
drawSolidBackground seems to work :)
Dana Jansens danakj@orodu.net
68a6fce5
dont try free the widget's pixmap until it is no longer in use
Dana Jansens danakj@orodu.net
24e20d5e
add most of our style elements
Dana Jansens danakj@orodu.net
f329167e
specify projecting cap style
Dana Jansens danakj@orodu.net
25a5b729
add textures, render the textures color for now too!
Dana Jansens danakj@orodu.net
0348a2f3
add rendercolor class, with a cache of gcs for the colors
Dana Jansens danakj@orodu.net
cfd8f9a6
XClearArea on expose in widget
Dana Jansens danakj@orodu.net
d8d9b427
widegt using new render system
Dana Jansens danakj@orodu.net
0ba441fe
remove the XImage from Surface
Dana Jansens danakj@orodu.net
41e1810c
new authors. this is how we dooo iiiit...
Dana Jansens danakj@orodu.net
d953cfe7
use arrays instead of vectors for the screeninfos and rendercontrols.
Dana Jansens danakj@orodu.net
6871cff3
reorder how theyre destroyed, probably doesnt matter anyways.
Dana Jansens danakj@orodu.net
9b6e5f9c
provide RenderControls to all otk from the display class. initialize them all there. try use bitshifts instead of color tables in the TrueRenderControl class for finding correct rgbs. Move the image/pixmap/xftdraw into the surface class, and it maintains them, recreating them when it resizes.
Dana Jansens danakj@orodu.net
a4dd208a
use a bitshift on the rgb values instead of a color table
Dana Jansens danakj@orodu.net
e2607f61
add DESIGN from the openbox3 repository. add to that the render.dia, a design diagram for the new render code
Dana Jansens danakj@orodu.net
f8edbc90
add new shit
Dana Jansens danakj@orodu.net
23940f9e
add a new texture and style class
Dana Jansens danakj@orodu.net
02066c5d
starting to make render's interface
Dana Jansens danakj@orodu.net
e3eeac5b
colors are back
Dana Jansens danakj@orodu.net
9f705c02
*** empty log message ***
Dana Jansens danakj@orodu.net
2005c344
surface started
Dana Jansens danakj@orodu.net
4ac47a41
renders!!!!!!!!!!!!!
Dana Jansens danakj@orodu.net
3fa13524
blef
Dana Jansens danakj@orodu.net
e6d6a1b6
change the render() interface
Dana Jansens danakj@orodu.net
056c5b43
set the background pixmap
Dana Jansens danakj@orodu.net
5b52a8f5
blef
Dana Jansens danakj@orodu.net
1a5fb96b
.cvsignore is a cvs meta file that tells cvs not to include specific files
in its diffs, commits, or updates.  we use this to keep machine generated
files from showing up in diffs.

this commit adds truerendercontrol.lo, a libtool generated file, to the
.cvsignore file.

kthx bye! *^_^*
Derek Foreman manmower@gmail.com
d264dbca
compiles
Dana Jansens danakj@orodu.net
24b33ef8
fuc put it back
Dana Jansens danakj@orodu.net
67bb7f8c
move render()
Dana Jansens danakj@orodu.net
0dcbf985
start of new render code
Dana Jansens danakj@orodu.net
29f331b6
use otk::Property properly, and the right atoms
Dana Jansens danakj@orodu.net
9166d90f
include all the required libs
Dana Jansens danakj@orodu.net
00bc9937
correct a comment
Dana Jansens danakj@orodu.net
f94dc995
state the license. killall the old readme data
Dana Jansens danakj@orodu.net
d9d2e7a5
Some cleanups in the mapping procedure. Apply requested states during the process.
Add new function types for new netwm supported actions, i.e. Func_Shade and Func_Fullscreen.
Add support for the _NET_WM_FULLSCREEN state.
Dana Jansens danakj@orodu.net
08a28187
add new actions from the ewmh spec
Dana Jansens danakj@orodu.net
105e3524
add internal_move/resize and wrap them with move() and resize() which are for user use, and make sure that the window is allowed to be moved/resized.
add the allowed actions hint setting.
Dana Jansens danakj@orodu.net
8be45414
add frame.. wrapper changes.
Dana Jansens danakj@orodu.net
a1e6634a
do good math
Dana Jansens danakj@orodu.net
884ec58c
use frame.size()
Dana Jansens danakj@orodu.net
a767993e
add frame.hh to openbox.i's deps
Dana Jansens danakj@orodu.net
9e8f89b6
provide the strut for the frame's size instead of an area rect
Dana Jansens danakj@orodu.net
940247c3
make window placement not go off screen at all
Dana Jansens danakj@orodu.net
5cc40ecc
call the place routine after the window is grabbed
Dana Jansens danakj@orodu.net
48741b97
call the place window routine after the frame is created
Dana Jansens danakj@orodu.net
6f058162
add the Frame class
Dana Jansens danakj@orodu.net
d911b4b1
use the frame's area
Dana Jansens danakj@orodu.net
baaaed3d
add a drag threshold
Dana Jansens danakj@orodu.net
a38a8f0b
add drag_threshold
Dana Jansens danakj@orodu.net
6188650c
rm my lucid experiment
Dana Jansens danakj@orodu.net
58ff3f35
add commented code for future maybe
Dana Jansens danakj@orodu.net
f29a2e9b
add comment for bugfix
Dana Jansens danakj@orodu.net
6bcfd5d2
don't use XMoveResize, it doesn't work for StaticGravity windows?
Dana Jansens danakj@orodu.net
6a73cff1
get all the normal hints when mapping again, oops.
Dana Jansens danakj@orodu.net
2b089723
centered gravities lose one borderwidth when mapping too
Dana Jansens danakj@orodu.net
619ad666
add {}'s
Dana Jansens danakj@orodu.net
53001eeb
add whitespace
Dana Jansens danakj@orodu.net
b8ae2f39
try use the gravity in the WM_NORMAL hint, and fall back to the attribute
Dana Jansens danakj@orodu.net
4c2f4e75
add a getGravity function to get the gravity from the window attributes initially
Dana Jansens danakj@orodu.net
d17b86a4
s/SIGCLD/SIGCHLD/ that was Sysv4 shit
Dana Jansens danakj@orodu.net
f14d74a3
test for borders on static grav windows
Dana Jansens danakj@orodu.net
44358dfb
reap child processes when they die
Dana Jansens danakj@orodu.net
af1ac846
new raise/lower window code. only restacks 2 windows (1 move) at a time, ever. ManMower, u rulz.
Dana Jansens danakj@orodu.net
3a83fe7e
exec a requested new process via /bin/sh to allow for command line args, the same way otk::bexec does it.
Dana Jansens danakj@orodu.net
035f7d3f
use -export-dynamic when linking libpython.a
Dana Jansens danakj@orodu.net
50863470
add a todo comment
Dana Jansens danakj@orodu.net
c7e157e5
use otk::Property to get the atom values
Dana Jansens danakj@orodu.net
d8aff44a
redo otk::Property. make it static.
Dana Jansens danakj@orodu.net
8b0daa91
rm old bb shit that we dont use
Dana Jansens danakj@orodu.net
a7207b7d
make an optional bool param for ustring's other constructors
Dana Jansens danakj@orodu.net
0f7e3be6
make an optional bool param for ustring's default constructor
Dana Jansens danakj@orodu.net
a8e98570
dont allow resizing < 1 (based on increments)
Dana Jansens danakj@orodu.net
8eed9d64
stacking list on root is bottom to top
Dana Jansens danakj@orodu.net
3e829595
extern "C" the C headers
Dana Jansens danakj@orodu.net
e44d7697
add headers for select()
Dana Jansens danakj@orodu.net
d9a5620f
use the better defines for the xft version
Dana Jansens danakj@orodu.net
2a18a4b2
add comment
Dana Jansens danakj@orodu.net
21b5c602
check for XftGetVersion
Dana Jansens danakj@orodu.net
b2672614
just return if a valid widget isnt found, racey to assert
Dana Jansens danakj@orodu.net
219e18e7
display the build version as well as the runtime version of Xft
Dana Jansens danakj@orodu.net
231f4dad
no long used with our Timer-ng!
Dana Jansens danakj@orodu.net
a388c41d
dont need unistd for gettimeofday
Dana Jansens danakj@orodu.net
96a9196c
otk::Timer-ng!! thanks ManMower for this shizznit!
Dana Jansens danakj@orodu.net
0afb4316
rm the util directory
Dana Jansens danakj@orodu.net
b683a4e0
fix indenting
Dana Jansens danakj@orodu.net
7f2ee772
use the byte size for utf strings, not the character size
Dana Jansens danakj@orodu.net
ffb237bf
use the new global display var
Dana Jansens danakj@orodu.net
63a74632
add the global display variable
Dana Jansens danakj@orodu.net
3d012bcb
move the utf8_skip table into the .cc
Dana Jansens danakj@orodu.net
23686632
fix some bugs where looked up wrong offsets for characters in the utf8_skip table, move the table into the .cc
Dana Jansens danakj@orodu.net
784b879a
set the global 'display' var to the otk::Display in use
Dana Jansens danakj@orodu.net
b989ec13
set the ustring's utf type so that it matches what it appended to it
Dana Jansens danakj@orodu.net
4c71c71d
set the global display var
Dana Jansens danakj@orodu.net
cdcc526a
use the new non-static display
Dana Jansens danakj@orodu.net
c34f2a52
add ustring.i which wraps otk::ustring for to/from python conversions
Dana Jansens danakj@orodu.net
c97915f4
un-static otk::Display. add an operator* to it. make a global ob::display var.
Dana Jansens danakj@orodu.net
9e77a88d
move the Openbox::instance pointer to simply "openbox".
Dana Jansens danakj@orodu.net
4dba6998
dont use append, dont need to extend ustring!
Dana Jansens danakj@orodu.net
55f13818
ustring seems to be working! yay!
Dana Jansens danakj@orodu.net
ef02a0c8
almost done the ustring conversion
Dana Jansens danakj@orodu.net
5a90d2b6
otk using ustring for shit that draws. expended its inferface yet some more.
Dana Jansens danakj@orodu.net
4947902d
more conversion to ustring. added more members
Dana Jansens danakj@orodu.net
2aff07a2
show a warning if we fail to set the locale
Dana Jansens danakj@orodu.net
2594b98c
rm old comment
Dana Jansens danakj@orodu.net
7c9ba37f
keep the asserts for !debug builds..
Dana Jansens danakj@orodu.net
7fc226b6
proper code style
Dana Jansens danakj@orodu.net
120ed7a6
setup the locale on the X server on start
Dana Jansens danakj@orodu.net
8b73f6f0
begin conversion to ustring. add some more members.
Dana Jansens danakj@orodu.net
ecfac5f2
add more doxygen
Dana Jansens danakj@orodu.net
b5a05bc1
more shit
Dana Jansens danakj@orodu.net
711e499c
start on otk::ustring (unicode/utf8)
Dana Jansens danakj@orodu.net
bc99e6a4
remove userstring
Dana Jansens danakj@orodu.net
703ef4df
check for shutdown before waiting for timers
Dana Jansens danakj@orodu.net
2627b852
typo.. just PACKAGE
Dana Jansens danakj@orodu.net
88dbe7c2
use the UTF-8 codeset
Dana Jansens danakj@orodu.net
7a453b46
omg im relicensing this shit as gpl. nobody hurt me.
Dana Jansens danakj@orodu.net
f6be8c1e
s/atom_hh/property_hh
Dana Jansens danakj@orodu.net
805a5ddd
default to drawing as utf8
Dana Jansens danakj@orodu.net
a4d4aaec
default to 1 desktop if its not read from the configs
Dana Jansens danakj@orodu.net
eb752bc9
put userstring in otk::
Dana Jansens danakj@orodu.net
74061b4e
use "userstring" for all user viewable strings
Dana Jansens danakj@orodu.net
c03068ee
dispatch events before waiting for timers on startup
Dana Jansens danakj@orodu.net
bd39de60
use PyInt for vars not PyLong
Dana Jansens danakj@orodu.net
1b59ea59
dont show find errors
Dana Jansens danakj@orodu.net
de070682
add number_of_desktops
Dana Jansens danakj@orodu.net
bfa46e06
dont assert when given an out-of-range desktop
Dana Jansens danakj@orodu.net
718be4c9
add 'userstring', a std::string with a flag for UTF-8
Dana Jansens danakj@orodu.net
7bfe234d
clean up childrens' transient_for refs
Dana Jansens danakj@orodu.net
870f6cca
ignore focus changes from grabs always.
Dana Jansens danakj@orodu.net
fffcc1ee
Middle lowers
Dana Jansens danakj@orodu.net
157f6d5c
s/OB//
Dana Jansens danakj@orodu.net
87688e39
use new alias for mbuttons
Dana Jansens danakj@orodu.net
fc7ec94f
use new aliaes' for mbuttons
Dana Jansens danakj@orodu.net
2a6c730f
add aliases for mouse buttons
Dana Jansens danakj@orodu.net
cc86c196
dont need 2 of these comments
Dana Jansens danakj@orodu.net
77ab46d1
removing all prefixes completed
Dana Jansens danakj@orodu.net
f1b9e216
workaround for swig problem
Dana Jansens danakj@orodu.net
23c11a15
old bb shitz
Dana Jansens danakj@orodu.net
8f8acc24
rm prefixes for all elements in the otk namepsace
Dana Jansens danakj@orodu.net
684405ee
add \n's to errors
Dana Jansens danakj@orodu.net
261034b3
wrapper updates
Dana Jansens danakj@orodu.net
dc2f9ddc
set masks proprly
Dana Jansens danakj@orodu.net
7d3b12d9
set masks properly
Dana Jansens danakj@orodu.net
e8f5cf29
valgrind fixes, and fixes for writing shit all over the environment. yay~!!!!!!!
Dana Jansens danakj@orodu.net
bc88d310
fix \'s
Dana Jansens danakj@orodu.net
e2bf5433
add fieron2
Dana Jansens danakj@orodu.net
bd771e19
add masks
Dana Jansens danakj@orodu.net
ac06b3c5
rm debug prints
Dana Jansens danakj@orodu.net
c637f1ff
rm debug shit
Dana Jansens danakj@orodu.net
19bfac51
broken to all hell. oh no.
Dana Jansens danakj@orodu.net
1c70394c
rm a blank line at the end
Dana Jansens danakj@orodu.net
fd5369cd
only send configu notify if the window is mapped (has a frame)
Dana Jansens danakj@orodu.net
08dc1566
add some more AC stuff
Dana Jansens danakj@orodu.net
259f0283
used old vars
Dana Jansens danakj@orodu.net
6741d057
caps
Dana Jansens danakj@orodu.net
182cfb21
caps for giving the build target. show it at the end
Dana Jansens danakj@orodu.net
3f3f8a17
better ordering.. define te version before using it
Dana Jansens danakj@orodu.net
8c085754
check for cvs in the version properly
Dana Jansens danakj@orodu.net
1729df46
make compiling 'work' with XINERAMA. it doesnt do anything tho
Dana Jansens danakj@orodu.net
1a7d9771
no caps in the package name!
Dana Jansens danakj@orodu.net
0f16855a
cvs builds are always debug
Dana Jansens danakj@orodu.net
34615153
use the right lib
Dana Jansens danakj@orodu.net
02601c28
my newer better autoconf functions. woowoo
Dana Jansens danakj@orodu.net
54e4a15d
adding my autoconf functions. woowoo
Dana Jansens danakj@orodu.net
51ff1497
new autoconf shit woowoo
Dana Jansens danakj@orodu.net
af8b457f
send configure notify when moving a window
Dana Jansens danakj@orodu.net
76b795e9
add X_DEVEL and XFT_DEVEL m4 functions
Dana Jansens danakj@orodu.net
be56b6d1
create OB_DEBUG and OB_COMPILER_FLAGS m4 functionc
Dana Jansens danakj@orodu.net
7b20aad5
check for the python cflags and libs
Dana Jansens danakj@orodu.net
17ca0f50
bind the exec properly
Dana Jansens danakj@orodu.net
6f500e23
add an optional parameter to restart
Dana Jansens danakj@orodu.net
bcd808d0
add the BUTTONSDIR define
Dana Jansens danakj@orodu.net
d12e655d
load a global defaults.py if the user.py isnt loaded
Dana Jansens danakj@orodu.net
8d52c2b1
change the default style to fieron2
Dana Jansens danakj@orodu.net
6c4711cb
load buttons from the global dir if they arent found in the user dir
Dana Jansens danakj@orodu.net
151b6d41
rm shit that didnt belong
Dana Jansens danakj@orodu.net
cfead96b
some default bindings for if no user.py exists
Dana Jansens danakj@orodu.net
5c752e66
add defaults.py
Dana Jansens danakj@orodu.net
63c794a6
get the xft version from the library instead of from the headers
Dana Jansens danakj@orodu.net
3dde884d
dont bother making a copy of the event to change its type
Dana Jansens danakj@orodu.net
a0333b52
when i get a button press on the client window, i have to manufacture the release, because i never will get one from the x server
Dana Jansens danakj@orodu.net
7a95b5a9
don't grab for motion/releases on the client window, i don't get them anyways.
Dana Jansens danakj@orodu.net
15a7384d
add to comment
Dana Jansens danakj@orodu.net
6e41cef9
reword comment a bit
Dana Jansens danakj@orodu.net
0b12453c
updated wrappers
Dana Jansens danakj@orodu.net
1baea880
dont use a global var
Dana Jansens danakj@orodu.net
05039de1
add setup_fallback_focus() to handle focus when nothing is left focused
Dana Jansens danakj@orodu.net
52e881dc
add the random window placement algo
Dana Jansens danakj@orodu.net
fa34e01d
add a few functions for setting up default mouse behaviors
Dana Jansens danakj@orodu.net
007e17d3
dont define the 'display' global
Dana Jansens danakj@orodu.net
558b55b0
add OBDisplay_display()
Dana Jansens danakj@orodu.net
69f38b9f
undefine the scriptdir, thats not where otk.py will be going
Dana Jansens danakj@orodu.net
ec6951c2
dont build the otk wrappers for now
Dana Jansens danakj@orodu.net
d0c61ebf
dont need the otk initializer
Dana Jansens danakj@orodu.net
26d95a52
dont install otk.py for now
Dana Jansens danakj@orodu.net
88b7de4a
the openbox module has to include shit from otk that it uses, swigs shit doesnt work across modules in the shadow wrappers
Dana Jansens danakj@orodu.net
623de3b0
rm printf
Dana Jansens danakj@orodu.net
6d6082dc
add some comments to the procedure
Dana Jansens danakj@orodu.net
678bb521
stop including otk in the openbox module. makes the wm hooger for no good cause. simply import all the otk shit. add otk.hh
Dana Jansens danakj@orodu.net
a6f1d6b8
add a header for including everything for otk
Dana Jansens danakj@orodu.net
c8e246f8
include the all otk stuff into the openbox python module. rename widget.hh to stop conflicting with the one in otk/
Dana Jansens danakj@orodu.net
e0878c9f
typosnsuch
Dana Jansens danakj@orodu.net
915b171b
install the shadow wrappers
Dana Jansens danakj@orodu.net
385de86d
add the shadow class wrappers
Dana Jansens danakj@orodu.net
b67f5e70
new python interface! using the .py shadow wrappers from swig
Dana Jansens danakj@orodu.net
0d008279
include point and rect from otk so that they can have objects returned instead of strings
Dana Jansens danakj@orodu.net
345d957e
new python callbacks data, infrastructure. going to rework bindings code. cvs wont work for shit now. but thats life.
Dana Jansens danakj@orodu.net
b1739374
change what re-maprequest events do, just convert them to net_active_window messages. make net_active_window unshade/iconify
Dana Jansens danakj@orodu.net
e2274e0f
s/False/false
Dana Jansens danakj@orodu.net
3814c4fb
use default prefix.
better python library checks.
Dana Jansens danakj@orodu.net
4e6e0b8d
wrapper updates
Dana Jansens danakj@orodu.net
9dd52dfc
make close() and shade() private.
Dana Jansens danakj@orodu.net
ae0b364f
pass the right num of shit to the client msg
Dana Jansens danakj@orodu.net
8db3dc33
close windows with netwm messages
Dana Jansens danakj@orodu.net
04416613
use client msg's to toggle shaded
Dana Jansens danakj@orodu.net
cf686612
add state_shaded
rm debug print's
Dana Jansens danakj@orodu.net
cec568b0
state_above/below work now
Dana Jansens danakj@orodu.net
368d9812
add a -single argument which only runs on a single screen
Dana Jansens danakj@orodu.net
dbf58ef2
check for python errors a little better i think..
Dana Jansens danakj@orodu.net
93811226
ignore much fewer focus events. only ignore focusout's from activating a grab
Dana Jansens danakj@orodu.net
b8f89ee3
ignore focus events from grabs
Dana Jansens danakj@orodu.net
d5cff961
rm _focus, its no longer used
Dana Jansens danakj@orodu.net
fade5572
handle focus events SOO much more simply. and it works. fuck yes. at last. i think i can rest.
Dana Jansens danakj@orodu.net
bd748f74
rework focus event handling. does it basically like ob2 did now. and it seems to work too :>
Dana Jansens danakj@orodu.net
3b4d453f
rm old debug printfs
Dana Jansens danakj@orodu.net
9656d1e2
put unmanageWindow back how it used to be. no 'remap' argument
Dana Jansens danakj@orodu.net
34896278
add some comments
clean up the releasing of the client from the frame
Dana Jansens danakj@orodu.net
7e410364
rm old comment
Dana Jansens danakj@orodu.net
6bad7e67
map the window if it was reparented, on release
Dana Jansens danakj@orodu.net
f2fa99b3
make some funcs const, and don't try focus a client if it is not visible
Dana Jansens danakj@orodu.net
889df8a7
clarify an incorrect comment, and make some funcs const
Dana Jansens danakj@orodu.net
ada98dd5
*** empty log message ***
Dana Jansens danakj@orodu.net
2a40cebf
grab the server around key ungrab/grabs to prevent losing keys
Dana Jansens danakj@orodu.net
9bfc9778
make focus work without races.
Dana Jansens danakj@orodu.net
43c0dc42
fix typo
Dana Jansens danakj@orodu.net
bcc9f681
stop compressing enter/leave events.. this might be responsible for the focu sfuckups?
Dana Jansens danakj@orodu.net
0147a61f
move a comment
Dana Jansens danakj@orodu.net
cc36ecf2
don't reparent to root if the client has already reparented since unmapping
Dana Jansens danakj@orodu.net
f11bd1b0
better reparent handling, dont fux with the event stack..
Dana Jansens danakj@orodu.net
2ae5aaca
rm old junk
Dana Jansens danakj@orodu.net
1b13d34c
i think im handling reparent events correctly now, by unmanaging the window and then XMapping the client
Dana Jansens danakj@orodu.net
e5eb783a
ignore the right about of unmap notifies
Dana Jansens danakj@orodu.net
a2de94e9
in synch mode, chew up 100% cpu, cuz we cant select on the display's fd
Dana Jansens danakj@orodu.net
6062fe40
handle unmaps better. all thanks to acroread sending wacky unmap events
Dana Jansens danakj@orodu.net
f1ce4e66
send config req's to the master too
Dana Jansens danakj@orodu.net
19eb1367
abort() on X errors that aren't BadWindow errors
Dana Jansens danakj@orodu.net
13f1f39f
dont move frame if not frame exists while mapping
Dana Jansens danakj@orodu.net
a1329684
don't place the window magically if we're starting (the window was already placed)
Dana Jansens danakj@orodu.net
7990e6fc
add a PlaceWindow event hook type
Dana Jansens danakj@orodu.net
7ca4d1cf
add a check for ShapeBounding shape events
Dana Jansens danakj@orodu.net
6c3aec9e
dont unset focused client if it is still/already set, that causes bugs!
Dana Jansens danakj@orodu.net
dc532b76
change the unmanae ordeer around to have the callbacks fire last
Dana Jansens danakj@orodu.net
eccab56a
fixed condition that could cause 2 windows to look focused, and bad things to occur
Dana Jansens danakj@orodu.net
9d2ba820
sending windows to workspaces works. focus messes up on fast switching
Dana Jansens danakj@orodu.net
4c768d5d
use client messages to switch desktops/move windows between desktops
Dana Jansens danakj@orodu.net
85b0dc80
add comment for findScreen
Dana Jansens danakj@orodu.net
d833fb1e
add python.hh to the openbox.i deps
Dana Jansens danakj@orodu.net
ee0591bf
comment the new desktop functions
Dana Jansens danakj@orodu.net
130a1a2c
add change_desktop
Dana Jansens danakj@orodu.net
26bef30a
add startup and shutdown callback events for each screen
Dana Jansens danakj@orodu.net
66921633
add next/prev desktop, give them the no_wrap optional arg
Dana Jansens danakj@orodu.net
711a7d8c
supply python routines for next/prev workspace
Dana Jansens danakj@orodu.net
d7cc09ce
dont hide windows when switching to the current workspace
Dana Jansens danakj@orodu.net
7175ac2b
windows stay on their desktops
Dana Jansens danakj@orodu.net
f71a1fc7
grab SIGUSR1
Dana Jansens danakj@orodu.net
3d8ffcc2
dont reset focus to the unfocused window!
Dana Jansens danakj@orodu.net
33ddfc76
desktops
Dana Jansens danakj@orodu.net
e9b48d2f
move the shit from OBRootWindow into OBScreen
Dana Jansens danakj@orodu.net
00e2c5aa
keep track of desktops...
Dana Jansens danakj@orodu.net
07d835a0
no need for focusraise anymore
Dana Jansens danakj@orodu.net
40449e19
allow to bind multiple functions to everything
Dana Jansens danakj@orodu.net
1f8b8425
killa a debug printf
Dana Jansens danakj@orodu.net
a460f0bc
add comments for rming masks from the events
Dana Jansens danakj@orodu.net
f3865bb1
ignore num/caps/scroll lock in events
Dana Jansens danakj@orodu.net
dbf077a5
rm debugging comment
Dana Jansens danakj@orodu.net
cc398633
handle maprequests after mapped correctly. thus making gaim happy again
Dana Jansens danakj@orodu.net
043822f6
grab the first known window type
Dana Jansens danakj@orodu.net
1297c7c1
clean up transient's parent's reference in destructor
Dana Jansens danakj@orodu.net
34cd50ec
gets transients! woot. tested and such.. no groups still tho
Dana Jansens danakj@orodu.net
a93f06f5
keep track of transients. however not group transients yet
Dana Jansens danakj@orodu.net
c7b22b4f
transient window support..halfway
Dana Jansens danakj@orodu.net
b9a7f6fb
SIGHIP not SUGHUP
Dana Jansens danakj@orodu.net
eef665c6
only focus new 'normal' windows
Dana Jansens danakj@orodu.net
180cdd0e
dont restart on HUP. badness. restart on USR1.
Dana Jansens danakj@orodu.net
a5df374f
lameass comment from the past
Dana Jansens danakj@orodu.net
cef2672e
restart on HUP
Dana Jansens danakj@orodu.net
d13f021b
add support for wm_window_role
Dana Jansens danakj@orodu.net
69c257fa
add focusraise.
comment functions.
Dana Jansens danakj@orodu.net
bbb403aa
add buttons to the tree.rm stupid comments in Makefile.ams
Dana Jansens danakj@orodu.net
97019b8b
adding buttons for styles
Dana Jansens danakj@orodu.net
6ca5c589
rm the xftlsfonts manpage
Dana Jansens danakj@orodu.net
f816a2ad
line up text in --help
Dana Jansens danakj@orodu.net
fdb4e652
move the approproate code for map request handling to the client class. this will deiconify the window when requested.
Dana Jansens danakj@orodu.net
aef2ab75
if a dock has the 'below' state set, then it goes in the normal window layer
Dana Jansens danakj@orodu.net
9ec2da72
let the user set the above/below stacking layer easily
Dana Jansens danakj@orodu.net
056ff3b5
better focus passing around for now
Dana Jansens danakj@orodu.net
ee1130f8
dont move/resize desktop windows or dock windows
Dana Jansens danakj@orodu.net
7bae7943
support net_wm_strut's! nothing to do with them yet however
Dana Jansens danakj@orodu.net
58cd3958
decor and functions set set right for !normal windows
Dana Jansens danakj@orodu.net
b02c91ca
more ideas in comments
Dana Jansens danakj@orodu.net
a6f5b33a
configure request optimizations
Dana Jansens danakj@orodu.net
8735c12d
shape works again. updating the delete_window protocol update the decor.
Dana Jansens danakj@orodu.net
7ec03b89
move where transient shit will be
Dana Jansens danakj@orodu.net
dd7af241
use the correct size for buttons even when there is no iconify button in use. (oops)
Dana Jansens danakj@orodu.net
83ff31f8
when a window focused that was the last focused already (this happens from grabs), dont unfocus it, just let it be
Dana Jansens danakj@orodu.net
de07cce0
update comment
Dana Jansens danakj@orodu.net
5e5879a5
set the window's state so the hint always exists
Dana Jansens danakj@orodu.net
bf404e09
make the frame window override-redirect
Dana Jansens danakj@orodu.net
e3b50c2d
kill the printf
Dana Jansens danakj@orodu.net
1fd2c6c2
s/True/true/
Dana Jansens danakj@orodu.net
c33ccf60
make the frame window override-redirect
Dana Jansens danakj@orodu.net
abd44571
remove a print
Dana Jansens danakj@orodu.net
951ccd15
Check for XKB extension
Derek Foreman manmower@gmail.com
ed250c3b
basedisplay!! GAH NO FUCK OFF!@!(
Dana Jansens danakj@orodu.net
f1f4cf57
raise when focused with net_active_window message
Dana Jansens danakj@orodu.net
d9e7a7b8
shading works from epist
Dana Jansens danakj@orodu.net
5f34069a
separate off execute, since its not a callback function
Dana Jansens danakj@orodu.net
a84666e9
dont focus desktops and docks via enter events
Dana Jansens danakj@orodu.net
8d5bd298
set desktop names on startup
Dana Jansens danakj@orodu.net
0c96f0fc
add desktop_names
Dana Jansens danakj@orodu.net
1a879a4e
desktopnames is supported already, just desktops arent :>
Dana Jansens danakj@orodu.net
15d3efa6
epist alt-tab works now! i.e. NET_ACTIVE_WINDOW is working
Dana Jansens danakj@orodu.net
867d3d9a
rm consts that wont compile on some libfreetype's
Dana Jansens danakj@orodu.net
06eb14fb
better focusing. support for the take_focus protocol
Dana Jansens danakj@orodu.net
8c4357fc
keep track of the last input event time
Dana Jansens danakj@orodu.net
4dd8520e
set the net support atoms
Dana Jansens danakj@orodu.net
fcb0820d
add support for net_active_window and net_close_window messages
Dana Jansens danakj@orodu.net
126d9fc8
client and stacking list work
Dana Jansens danakj@orodu.net
f5f0a2c2
add some todo shit
Dana Jansens danakj@orodu.net
527697d6
add -shadow
Dana Jansens danakj@orodu.net
0ea5de62
window states persist across restarts
Dana Jansens danakj@orodu.net
7417e2b5
window shading
Dana Jansens danakj@orodu.net
e6ae9e51
no default reset key
Dana Jansens danakj@orodu.net
1455ab9c
print when loaded
Dana Jansens danakj@orodu.net
06388d73
restart works
Dana Jansens danakj@orodu.net
a9a5f0d7
put event bindings in OBBindings too
Dana Jansens danakj@orodu.net
a0350e27
allow "event bindings" via ebind() for new windows/window enter/leave
Dana Jansens danakj@orodu.net
86a2bed6
remove the block on shutdown
Dana Jansens danakj@orodu.net
4a07868e
more old bb shit to go
Dana Jansens danakj@orodu.net
f8ea5764
rm the old bb src
Dana Jansens danakj@orodu.net
660ad41c
s/reset/resetChains/
Dana Jansens danakj@orodu.net
376ce003
rm old bb shit, and the old xeventhandler
Dana Jansens danakj@orodu.net
c89a13d5
binding_s_.hh
Dana Jansens danakj@orodu.net
13f2930d
share code for raising/lowering windows
Dana Jansens danakj@orodu.net
89e6d5c0
add/lower work
Dana Jansens danakj@orodu.net
37c2e0f3
dont print every focus/crossing event
Dana Jansens danakj@orodu.net
105bd729
provide capabilities to execute a command
Dana Jansens danakj@orodu.net
a4a8d09f
titlebar layouts work
Dana Jansens danakj@orodu.net
3a65ca61
run builtins.py
Dana Jansens danakj@orodu.net
31e37b3e
cleanup naming in OBBindings
Dana Jansens danakj@orodu.net
7db3ffec
you can bind buttons already about, and itll replace them
Dana Jansens danakj@orodu.net
16560155
provide these functions for callbacks
Dana Jansens danakj@orodu.net
1965483b
add builtins
Dana Jansens danakj@orodu.net
808f11a6
got rid of premade funcs
Dana Jansens danakj@orodu.net
7071b1f0
add comment
Dana Jansens danakj@orodu.net
1c8090fa
clicks on the client work as they should
Dana Jansens danakj@orodu.net
ca3e4630
moving a window is possible once again
Dana Jansens danakj@orodu.net
b35dae95
new mouse button code is seeming to work. you can move windows
Dana Jansens danakj@orodu.net
579ed5aa
trasitioning for new button event handling
Dana Jansens danakj@orodu.net
4721c538
typo
Dana Jansens danakj@orodu.net
e05d5f79
kill button release events
Dana Jansens danakj@orodu.net
54da8e40
check for valid callback in bind()
Dana Jansens danakj@orodu.net
9823b821
no more gloabsl
Dana Jansens danakj@orodu.net
9ec1f7cd
fire the master first
Dana Jansens danakj@orodu.net
14cf42ff
run scripts before initializing screens. kill the globals.py. add the python_get_stringlist.
Dana Jansens danakj@orodu.net
6d58d84f
add new action types
Dana Jansens danakj@orodu.net
66a26917
new code for bindings/callbacks. much sexier. now passes python classes back to the callbacks, and the storage of the callbacks in the code is much more clear. huzzah.
Dana Jansens danakj@orodu.net
745e8405
load config options from the python environment
Dana Jansens danakj@orodu.net
1161a90a
add click_raise global var
Dana Jansens danakj@orodu.net
098fa0ce
revert def_motion
Dana Jansens danakj@orodu.net
6a80c577
typo
Dana Jansens danakj@orodu.net
30a96266
add comments/headers
Dana Jansens danakj@orodu.net
f7e3eb57
add some globals to modify the default scripting behavior
Dana Jansens danakj@orodu.net
103372b0
create some globals for use in the python scripts
Dana Jansens danakj@orodu.net
a6661d58
bindings work. now they have a reset key too.
Dana Jansens danakj@orodu.net
d7a30f93
so close to keybindings. wont link for now.
Dana Jansens danakj@orodu.net
db1fb534
bindings work again. yay
Dana Jansens danakj@orodu.net
7e9fb9fb
add a comment
Dana Jansens danakj@orodu.net
390d447d
add some const
Dana Jansens danakj@orodu.net
5f8e2b75
more debug output changes
Dana Jansens danakj@orodu.net
40f3dfba
still busted
Dana Jansens danakj@orodu.net
509e6a8f
fucked up shit
Dana Jansens danakj@orodu.net
dabac4f7
i dont get how the fuck the key tree is changing..
Dana Jansens danakj@orodu.net
d4853f10
all broken now. working on adding mouse binding support
Dana Jansens danakj@orodu.net
9bf95672
put anticipated more-often-used modifier names in front
Dana Jansens danakj@orodu.net
4e047f8b
nicer translate()
Dana Jansens danakj@orodu.net
d011a510
way sexier buildtree
Dana Jansens danakj@orodu.net
a826509b
remove some old comments
Dana Jansens danakj@orodu.net
87ed1124
key chains get built properly!
Dana Jansens danakj@orodu.net
3661e55f
print an error for invalid modifier keys
Dana Jansens danakj@orodu.net
6d59c9cc
dont try use invalid modifiers
Dana Jansens danakj@orodu.net
9be4ad12
parses the modifiers
Dana Jansens danakj@orodu.net
1369b32d
use the member var _tree
Dana Jansens danakj@orodu.net
35c3e996
the bindings tree might work now
Dana Jansens danakj@orodu.net
ee14d8a3
Trying to make an iterative assimilate()
Derek Foreman manmower@gmail.com
624a06fd
build fixes for member funcs
Dana Jansens danakj@orodu.net
656f2fbe
make some static functions members of OBBindings
Dana Jansens danakj@orodu.net
78a85881
nicer output
Dana Jansens danakj@orodu.net
349ac3f0
can build trees with modifiers
Dana Jansens danakj@orodu.net
c9ca0e79
lets make it compile at least
Dana Jansens danakj@orodu.net
98c4b4cf
keybindings underway. dont work yet
Dana Jansens danakj@orodu.net
b8653c3a
better comments for the frame and its widgets' adjust() method
Dana Jansens danakj@orodu.net
1e7c9071
add --force for autopoint
Dana Jansens danakj@orodu.net
d222c565
draw only when needed
Dana Jansens danakj@orodu.net
5fdd493d
buttons have their pixmaps!
Dana Jansens danakj@orodu.net
8bae1352
fix braces
Dana Jansens danakj@orodu.net
8c2dfe5d
deal with when nothing has focus anymore
Dana Jansens danakj@orodu.net
30e46517
dont seg on multiple root clicks!
Dana Jansens danakj@orodu.net
65670114
code style fix
Dana Jansens danakj@orodu.net
b2079b56
delete the rects
Dana Jansens danakj@orodu.net
cb718e2a
handle reparent events..hopefully :>
Dana Jansens danakj@orodu.net
c6454160
add an unregister_all for python callbacks
Dana Jansens danakj@orodu.net
2c908c30
add enter/leave
Dana Jansens danakj@orodu.net
3a4f91b5
enter/leave and focus events are working beautifully
Dana Jansens danakj@orodu.net
51f8b875
flush before waiting for timers
Dana Jansens danakj@orodu.net
e9ec2ce0
some focus improvements..
Dana Jansens danakj@orodu.net
8c0fe026
focus works
Dana Jansens danakj@orodu.net
236f6805
fix booge bug that makes widgets not change their background when changing from a texture to a color when a color had been set previously
Dana Jansens danakj@orodu.net
2b2f81b9
support the button pressed resources better
Dana Jansens danakj@orodu.net
5029fc97
add newish stuff
Dana Jansens danakj@orodu.net
e32610e7
better support for gettext
Dana Jansens danakj@orodu.net
150c2862
build fixes for evetdispatcher
Dana Jansens danakj@orodu.net
6935f346
removing generated file
Dana Jansens danakj@orodu.net
4d33c907
add gettextize here
Dana Jansens danakj@orodu.net
895cfc36
readd Makevars
Dana Jansens danakj@orodu.net
52fb0aea
remove shit generated by gettextize
Dana Jansens danakj@orodu.net
9f444b2f
make bootstrap generate this shit
Dana Jansens danakj@orodu.net
2ae2b257
might not compile... ob uses its own widgets now, which subclass only the base otk widget. working on compressing focus events and handling them etc.
Dana Jansens danakj@orodu.net
3c61812e
conflicts with python too :\
Dana Jansens danakj@orodu.net
881fd226
no -pedantic :\ it fucks up on the python headers. sigh.
Dana Jansens danakj@orodu.net
41bdbec9
set CXXFLAGS better
Dana Jansens danakj@orodu.net
0816364a
handle mouse clicks in the python scripts now
Dana Jansens danakj@orodu.net
b34824a4
global python scripts. client motion/resizing is all done via python now
Dana Jansens danakj@orodu.net
b9a2430d
dist up the style data
Dana Jansens danakj@orodu.net
3827c1a7
python with callbacks!
Dana Jansens danakj@orodu.net
f9107b5c
use the -I's in CFLAGS for swig
Dana Jansens danakj@orodu.net
27193f65
define the openbox variable
Dana Jansens danakj@orodu.net
375156c1
*** empty log message ***
Dana Jansens danakj@orodu.net
efc875f5
return a NULL instead of segfaulting when asserts are off
Dana Jansens danakj@orodu.net
bcb8de97
const cast to the python function
Dana Jansens danakj@orodu.net
053bb2d1
rm the old guile stuff. let the user specify the path for the startup script. dont hardcode it to my home dir.
Dana Jansens danakj@orodu.net
70aa4b20
dont try import shit for now it dont work
Dana Jansens danakj@orodu.net
bf49e764
python. no more guile. python.
Dana Jansens danakj@orodu.net
5a139f72
add the swig generated files
Dana Jansens danakj@orodu.net
5869cc29
wrap otk with swig/python
Dana Jansens danakj@orodu.net
2e273ae3
removing old python bullshit
Dana Jansens danakj@orodu.net
fe55bb84
python interface is working!
Dana Jansens danakj@orodu.net
fdd5338f
correctly remove client borders when mapping a window with NW gravity
Dana Jansens danakj@orodu.net
5f78b514
using python and swig for now.
Dana Jansens danakj@orodu.net
3cf5a8b6
remove python from our c++ objects. going to try out swig
Dana Jansens danakj@orodu.net
065c6efa
otktimer works. imagecontrol is underway!
Dana Jansens danakj@orodu.net
4c9bf6c9
so amateur
Dana Jansens danakj@orodu.net
4b443976
move the extern OtkRect_Type to the .h
Dana Jansens danakj@orodu.net
fed74a94
add the OtkRect_Type extern
Dana Jansens danakj@orodu.net
d5a96f6e
add rect
Dana Jansens danakj@orodu.net
2ab939a2
put the *'s in the right place for pointers
Dana Jansens danakj@orodu.net
ca94e7a3
whitespace
Dana Jansens danakj@orodu.net
57fec1ab
typesafety
Dana Jansens danakj@orodu.net
55b2aaf9
add font
Dana Jansens danakj@orodu.net
16e1192e
more typesafety
Dana Jansens danakj@orodu.net
0820c510
make rect a proper pyobject. use "typesafety"
Dana Jansens danakj@orodu.net
9e4d1bba
code reorganize
Dana Jansens danakj@orodu.net
0a4391e5
nicer
Dana Jansens danakj@orodu.net
cca7a676
shit to init the module
Dana Jansens danakj@orodu.net
925048fe
incref the Py_None before returning it
Dana Jansens danakj@orodu.net
2efea6f2
remove the debug shit
Dana Jansens danakj@orodu.net
187e7db9
a color cache to be proud of!
Dana Jansens danakj@orodu.net
59b65db2
it compiles.. does it work?
Dana Jansens danakj@orodu.net
607bf10d
it compiles.. does it worK? HEH
Dana Jansens danakj@orodu.net
79ce1307
color and gccache etc are like, half done
Dana Jansens danakj@orodu.net
8d3d9ae7
add rect
Dana Jansens danakj@orodu.net
e5c5b4bf
add screeninfo
Dana Jansens danakj@orodu.net
7f111a94
rm more annoying shit
Dana Jansens danakj@orodu.net
54524ace
better paths
Dana Jansens danakj@orodu.net
edc47eb5
some experimentin with C and python api. part 1.
Dana Jansens danakj@orodu.net
68194ce9
update to cleaned up otk api
Dana Jansens danakj@orodu.net
06de24ec
more api cleanups
Dana Jansens danakj@orodu.net
723739da
api cleanups
Dana Jansens danakj@orodu.net
711d4a34
more typesafety
Dana Jansens danakj@orodu.net
b12b1cb7
be a little more typesafe
Dana Jansens danakj@orodu.net
82f4efb4
make the root window an obwidget type
Dana Jansens danakj@orodu.net
506b5dbf
segfault no more on root clicks
Dana Jansens danakj@orodu.net
700984bd
python has begun!
Dana Jansens danakj@orodu.net
977ecf1f
link in python not guile
Dana Jansens danakj@orodu.net
caa595a0
check for python. not for guile.
Dana Jansens danakj@orodu.net
9e0ae7ec
resizing works and whatnot
Dana Jansens danakj@orodu.net
38f8155b
can resize now too. compress motion events.
Dana Jansens danakj@orodu.net
732bfd19
you can move windows!
Dana Jansens danakj@orodu.net
f4e2fc32
guileize
Dana Jansens danakj@orodu.net
104ccc57
add stuff i rm'd from cvs
Dana Jansens danakj@orodu.net
83727b8e
oops adding the other OB Widgets
Dana Jansens danakj@orodu.net
77a8e116
can tell where events are coming from!
Dana Jansens danakj@orodu.net
db23fe05
do need display then
Dana Jansens danakj@orodu.net
e25a69cc
dont need to include application here
Dana Jansens danakj@orodu.net
25d1e353
use OB Widgets for everything
Dana Jansens danakj@orodu.net
d49d0104
erm
Dana Jansens danakj@orodu.net
84d777e8
make shit protected
Dana Jansens danakj@orodu.net
62d719d6
dont pass a const
Dana Jansens danakj@orodu.net
e7bb9066
show all children on show()
Dana Jansens danakj@orodu.net
70eb03ad
add an OBBackgroundWidget and use it for setting colors so far.
Dana Jansens danakj@orodu.net
6bf858e4
autogenned
Dana Jansens danakj@orodu.net
9e971aa6
add --copy
Dana Jansens danakj@orodu.net
dd3decc3
fuck you basewidget
Dana Jansens danakj@orodu.net
d691094c
handle config req's in dispatcher properly.
no more basewidget again.
Dana Jansens danakj@orodu.net
699de036
store the delta x/y for a motion sequence
Dana Jansens danakj@orodu.net
52cb7bd1
PROPERLY HANDLE CLIENT BORDERS
PROPERLY HANDLE CLIENT GRAVITY
YES!#%&*#!#!
windows can be moved/resized now (and the frame will play along)!
Dana Jansens danakj@orodu.net
1cfc7657
reverting.. that was lame
Dana Jansens danakj@orodu.net
c187fbdf
move event handling into basewidget again <FLINCH>
add the basewidget class
Dana Jansens danakj@orodu.net
301adc8b
split up widget and basewidget
Dana Jansens danakj@orodu.net
4e0b5fde
some cleanups
make the OBActions instance not static
Dana Jansens danakj@orodu.net
7dc834cc
make setStyle() recursive
Dana Jansens danakj@orodu.net
772ff278
keep a queue of press/releases and the positions, so that the first motion event already has a position to base off of, so it is not lost!!
Dana Jansens danakj@orodu.net
777be62a
change the builtin testing font
Dana Jansens danakj@orodu.net
143d2df0
handle mouse motion too
Dana Jansens danakj@orodu.net
fbc51644
add suport for XMotionEvents
Dana Jansens danakj@orodu.net
a21c0c55
handle keyboard input
Dana Jansens danakj@orodu.net
73f7a0bd
enter/leave actions work!
Dana Jansens danakj@orodu.net
559a0c67
remove temp include
Dana Jansens danakj@orodu.net
90ae66cc
better double click processing
Dana Jansens danakj@orodu.net
0a15728b
simple change in initialization
Dana Jansens danakj@orodu.net
56d7b547
button press/releases WORK
Dana Jansens danakj@orodu.net
925262be
erase from the map more efficiently
Dana Jansens danakj@orodu.net
4f01802c
actions class can sorta handle mouse enter/leave and press/release events
Dana Jansens danakj@orodu.net
23a7f188
add a skeletal OBActions class for user actions
Dana Jansens danakj@orodu.net
24924367
put a header where it belongs
Dana Jansens danakj@orodu.net
fa05dc56
give the grips cursors
Dana Jansens danakj@orodu.net
bdc491cc
map and unmap work great now yay
Dana Jansens danakj@orodu.net
9860b76c
unmap works.. once
Dana Jansens danakj@orodu.net
22bd294c
unregister for events when destroyed
Dana Jansens danakj@orodu.net
1fa445c8
handle configure requests
Dana Jansens danakj@orodu.net
bbdfd8f1
scratch that
Dana Jansens danakj@orodu.net
52b83a9d
handle configurerequests when we cant find a target registered for them
Dana Jansens danakj@orodu.net
829ce05c
reverse the logic. makes more sense i think
Dana Jansens danakj@orodu.net
861c829e
make shape work with the titlebar and handle
Dana Jansens danakj@orodu.net
ee896d9d
no space on teh top or bottom of text..
Dana Jansens danakj@orodu.net
d8de17b5
apply gravity when positioning the frame
Dana Jansens danakj@orodu.net
b8687262
better xft checks. require xft version 2
Dana Jansens danakj@orodu.net
26adc885
label and focuslabel update their textures automatically on a style change
Dana Jansens danakj@orodu.net
f890d31d
make setStyle virtual
Dana Jansens danakj@orodu.net
948feddc
update the textures being used on setStyle() calls
Dana Jansens danakj@orodu.net
bf95658d
show the Xft version nicer
Dana Jansens danakj@orodu.net
0089719c
put an S on the stick button
Dana Jansens danakj@orodu.net
cac2131e
add otk_test
Dana Jansens danakj@orodu.net
646a10bc
labels use half the bevel width for text
Dana Jansens danakj@orodu.net
c6f228f3
xft2 works. and works good.
Dana Jansens danakj@orodu.net
f7750210
decorations work/line up/etc yay. now for fonts...
Dana Jansens danakj@orodu.net
36d8e0c6
i dont know what i fixed but here it is
Dana Jansens danakj@orodu.net
a77f0fb3
handle map requests with the root window class
Dana Jansens danakj@orodu.net
958df771
compress property changes a bit
Dana Jansens danakj@orodu.net
11de5db0
better compression, dont lose events
Dana Jansens danakj@orodu.net
7efcff07
more compressing
Dana Jansens danakj@orodu.net
786834ab
compress property changes into a single change
Dana Jansens danakj@orodu.net
dca0c9f5
add an OBRootWindow class that watches events/properties on root windows
Dana Jansens danakj@orodu.net
74cb09bb
handle map events with the Openbox class
Dana Jansens danakj@orodu.net
1eb79b9a
<shrug>
Dana Jansens danakj@orodu.net
fb384845
window decorations use "unmanaged" widgets now.
Dana Jansens danakj@orodu.net
fac1a658
typo in comment
Dana Jansens danakj@orodu.net
4d1a90b0
add a recursive flags to OtkWidget::show/hide
dont delet eshit in the style from button's destructor
Dana Jansens danakj@orodu.net
cb5dfe7c
more ignore fodder
Dana Jansens danakj@orodu.net
6f0b72e8
big nono
Dana Jansens danakj@orodu.net
1d897f43
add the config header and emacs comment to all the .cc's
Dana Jansens danakj@orodu.net
638d4e6f
change the style-load-error msg
Dana Jansens danakj@orodu.net
12a95bfd
add an OtkAppWidget which are "root windows", i.e. the managed child of root, to be shown on the display.
Exit when all the "root windows" are hidden.
Support the WM_DELETE protocol to hide a "root window".
Dana Jansens danakj@orodu.net
3bc1f374
better msgs
Dana Jansens danakj@orodu.net
34a9f87e
print a warning if more than one main widget is set
Dana Jansens danakj@orodu.net
81e19827
set the close protocol on the app's main widget
Dana Jansens danakj@orodu.net
77342413
change how the widgets' _dirty flag works so that all inheritence levels of the widget class can use it
Dana Jansens danakj@orodu.net
d4d15160
new button that is a focuslabel
Dana Jansens danakj@orodu.net
3ce8b540
add a Label class that doesnt change with focus
Dana Jansens danakj@orodu.net
bd06e896
actually add this shit. yay
Dana Jansens danakj@orodu.net
6b977b2d
add OtkFocusLabel
Dana Jansens danakj@orodu.net
804b8cc6
check to make sure the style config could be loaded
Dana Jansens danakj@orodu.net
6223b6a3
:
Marius Nita marius@cs.pdx.edu
7df3b620
use the timer queue manager
Dana Jansens danakj@orodu.net
36ed114f
add a constructor for strut that takes margin sizes
Dana Jansens danakj@orodu.net
cd91abfd
include the right .h
Dana Jansens danakj@orodu.net
6f5e60f0
fixed bugs, got otkapp to select on a fd, modded widget to make use of otkapp, press/release events on buttons
Marius Nita marius@cs.pdx.edu
0680daee
there
Marius Nita marius@cs.pdx.edu
a3d036f6
added otkapplication and event stuff, changed other files to accomodate for this, changed the test.
no idea if anything runs yet. it compiles =)
Marius Nita marius@cs.pdx.edu
e53fbcf0
event handling classes
Marius Nita marius@cs.pdx.edu
1210e6d6
more crap
Marius Nita marius@cs.pdx.edu
0eb66576
initial commit
Marius Nita marius@cs.pdx.edu
9f1facd3
hopefully caught stupid assert
Marius Nita marius@cs.pdx.edu
c0909555
heh
Marius Nita marius@cs.pdx.edu
5be13639
better fix for configure
Dana Jansens danakj@orodu.net
e8b74211
erm
Marius Nita marius@cs.pdx.edu
a3b2e7d9
made resizing sexier
Marius Nita marius@cs.pdx.edu
d55ede56
use the rect
Dana Jansens danakj@orodu.net
bcb7dddf
dont set dirty if not resizing
Dana Jansens danakj@orodu.net
8d397c0d
update headers to whats required
Dana Jansens danakj@orodu.net
d7848fac
updates dependancies
Dana Jansens danakj@orodu.net
62326fde
dont hide label
Dana Jansens danakj@orodu.net
30a23b64
it resizes now
Dana Jansens danakj@orodu.net
5a71f5b0
only do shit if the size changed
Dana Jansens danakj@orodu.net
0856b11d
resizes
Dana Jansens danakj@orodu.net
d97db164
button::updte sets _dirty back to false
Dana Jansens danakj@orodu.net
6d68ac22
smarter expose. stop when the window is found
Dana Jansens danakj@orodu.net
b7dba88a
try make drawing work better but its busted
Dana Jansens danakj@orodu.net
b3822fcf
make stuff draw on expose events
Dana Jansens danakj@orodu.net
ed4696f6
more deps
Dana Jansens danakj@orodu.net
5f436ee8
blef
Dana Jansens danakj@orodu.net
e6026ed9
build otk_test
Dana Jansens danakj@orodu.net
e40e3d68
use configure's xft flags
Dana Jansens danakj@orodu.net
379ccf45
add libtoolize
Dana Jansens danakj@orodu.net
29d504e7
oh no im being ANONYMOUS
Dana Jansens danakj@orodu.net
597f4d81
comment
Dana Jansens danakj@orodu.net
5a9f3b5d
button crap
Marius Nita marius@cs.pdx.edu
2efa2b32
blef
Marius Nita marius@cs.pdx.edu
0cb338e0
gotta iron out this pressed button crap
Marius Nita marius@cs.pdx.edu
9834a687
widget update fix
Marius Nita marius@cs.pdx.edu
b1695477
working button class (minus fonts)
Marius Nita marius@cs.pdx.edu
b33e8f66
adding vertical dynamic resize code
Marius Nita marius@cs.pdx.edu
f0a1bdd6
er
Marius Nita marius@cs.pdx.edu
23f33127
add focuswidget to the build
Marius Nita marius@cs.pdx.edu
9e1b2549
updated for the new MAD SEXY widget and focuswidget
Marius Nita marius@cs.pdx.edu
f6724de2
HOOGE improvements. now widgets calculate their size according to the sizes of their children, they stretch stretchable elements to fit a maximum size, take into account bevel width, and much more
Marius Nita marius@cs.pdx.edu
09fa1f3a
initial commit of focus widget
Marius Nita marius@cs.pdx.edu
0da967a8
remove the redundant _size property in OBScreen, and set the geometry root property properly.
add otk::Point::setPoint
Dana Jansens danakj@orodu.net
c4a1fac4
manages windows that exist before running.
Dana Jansens danakj@orodu.net
24dd636f
watch for when screens cant be managed
Dana Jansens danakj@orodu.net
e503323d
HRM manageExisting() isnt working!
Dana Jansens danakj@orodu.net
06a80ce2
manage and unmanage windows in OBScreen
Dana Jansens danakj@orodu.net
cee30524
not using any old blackbox classes anymore!
Dana Jansens danakj@orodu.net
fb0dd6cf
some small cleanups
make style not take a screen separate from the image control
make style::load() take a const ref
Dana Jansens danakj@orodu.net
590f7f58
unused include
Dana Jansens danakj@orodu.net
9c398557
fix some errs
Dana Jansens danakj@orodu.net
fcbb8277
mad wicked xft checks
Dana Jansens danakj@orodu.net
cf0823dc
look for xft
Dana Jansens danakj@orodu.net
1694901f
added missing header
Marius Nita marius@cs.pdx.edu
5c7aabd7
wattrib doesnt get init-ed correctly when called from assert()
Marius Nita marius@cs.pdx.edu
2fb94406
small test for OtkWidget
Marius Nita marius@cs.pdx.edu
a923a550
added new files to the build
Marius Nita marius@cs.pdx.edu
cbf9dd0c
beginnings of button class
Marius Nita marius@cs.pdx.edu
f0e2abf5
can now map windows and render textures
Marius Nita marius@cs.pdx.edu
6852efaa
added accessors for elements
Marius Nita marius@cs.pdx.edu
c220fbc9
include stdio
Dana Jansens danakj@orodu.net
18378aab
initial commit
Marius Nita marius@cs.pdx.edu
e828f140
get the size of the label properly
Dana Jansens danakj@orodu.net
9c6ce2a8
adding the new OBScreen class actually!
Dana Jansens danakj@orodu.net
2528b445
new OBScreen class is somewhat complete now i think
Dana Jansens danakj@orodu.net
b067510b
cleanups.
OBScreen almost ready for some action
Dana Jansens danakj@orodu.net
00b96c78
fixups
Dana Jansens danakj@orodu.net
c5e4a185
x() and y() should return values :)
Dana Jansens danakj@orodu.net
1eef416e
include the point header
Dana Jansens danakj@orodu.net
18645bf9
get rid of unsigneds
Dana Jansens danakj@orodu.net
bf160f21
make methods for Rect that use Point
Dana Jansens danakj@orodu.net
8693dd95
document the Point class
Dana Jansens danakj@orodu.net
5dc5cc32
add the otk::Point type
Dana Jansens danakj@orodu.net
73f6bb1a
move screen.cc/hh to bbscreen.cc/hh
Dana Jansens danakj@orodu.net
410a8264
more layout fixes for the decoration elements
Dana Jansens danakj@orodu.net
3762f3c8
pretty sure all frame elements are placed correctly now
Dana Jansens danakj@orodu.net
6e2593ca
handle events on all of the client's decor as for the client
Dana Jansens danakj@orodu.net
0b17bd83
add \n's to the signal printfs
make the hash of all clients destroy properly
Dana Jansens danakj@orodu.net
36579183
size/position fixes
Dana Jansens danakj@orodu.net
f4244710
frames' subemelents are created and positioned and everything
Dana Jansens danakj@orodu.net
633df648
add a comment
Dana Jansens danakj@orodu.net
9d5865a1
support for the shape extension works!
Dana Jansens danakj@orodu.net
209b7f21
some more things to happen when changing styles on a frame
Dana Jansens danakj@orodu.net
f257e4b0
position the client inside the frame correctly.
unmanage all clients on shutdown
Dana Jansens danakj@orodu.net
b9cac214
WINDOWS GET FRAMES FRAME SHOW UP THEY WORK HUZZAH SOON THEYLL BE LIKE OLD TIMES!
Dana Jansens danakj@orodu.net
f2ae1c3b
fully documented OBClient
Dana Jansens danakj@orodu.net
b0149ef3
add a bunch of documentation
add updateIconTitle
Dana Jansens danakj@orodu.net
8b041e2f
add updateIconTitle
Dana Jansens danakj@orodu.net
ab88b1b9
reverse the automake/autoconf order.. for fun
Dana Jansens danakj@orodu.net
2a26eddc
add XXX to a comment that deserves it
Dana Jansens danakj@orodu.net
ec4548a1
s/NULL/0/
Dana Jansens danakj@orodu.net
19699623
dont need to specify otk:: when already in the namespace
Dana Jansens danakj@orodu.net
9c82f941
seg fix
Marius Nita marius@cs.pdx.edu
746e55f7
ugh, misspelling
Marius Nita marius@cs.pdx.edu
29d640fd
moved em to otk
Marius Nita marius@cs.pdx.edu
37be3ef9
omg, fat commit
pulled the style crap out of screen, i think the reconfigure case needs to be handled still.
moved util and config into otk, changed everything else accordingly.
code compiles and runs
Marius Nita marius@cs.pdx.edu
35fcb62d
added style class, moved util and config to otk
Marius Nita marius@cs.pdx.edu
0cf6e32e
new binary name
Dana Jansens danakj@orodu.net
f7f3cd40
set the client's desired decoration and function flags
Dana Jansens danakj@orodu.net
9dc76e1b
support for the Mwm Hints
Dana Jansens danakj@orodu.net
8a198930
blef
Dana Jansens danakj@orodu.net
16c00e34
show badwindow errors again
Dana Jansens danakj@orodu.net
83322ce3
dont show badwindow errors
Dana Jansens danakj@orodu.net
395b9e15
generate an 'openbox3' binary
Dana Jansens danakj@orodu.net
378ed4f5
maps and unmaps windows!
Dana Jansens danakj@orodu.net
a0cc4a7f
windows map again!
Dana Jansens danakj@orodu.net
076d45d0
read protocols too in OBClient
Dana Jansens danakj@orodu.net
78a7593a
OBAtom/XAtom has been moved to otk::OBProperty
Dana Jansens danakj@orodu.net
9df8ba78
determine if the user/application requested its initial position or not
Dana Jansens danakj@orodu.net
aa8047d6
use INT_MAX for the default max sizes
Dana Jansens danakj@orodu.net
116c95b8
get the min/max sizes
Dana Jansens danakj@orodu.net
9b23dff1
when creating an OBClient class, get all the info on that class immediately.
print the info to stdout for now too!
Dana Jansens danakj@orodu.net
7b343db2
comment the _window member
Dana Jansens danakj@orodu.net
63233a1f
make the group a window
add a XXX for later
Dana Jansens danakj@orodu.net
d363f720
fix compiling with the new strut (new namespace)
and fix general errors that broke compiling.

make xeventhandler find the OBClient for most events..
Dana Jansens danakj@orodu.net
d3b7c84d
moving strut into its own .hh. adding OBClient class
Dana Jansens danakj@orodu.net
d017db67
client.cc compiles
Dana Jansens danakj@orodu.net
22c770d9
include algoritm
Dana Jansens danakj@orodu.net
c9f36d34
finish conversion to the new otk::OBProperty class with its new interface
Dana Jansens danakj@orodu.net
68016ac3
mode documentation updates
Dana Jansens danakj@orodu.net
c822c895
updated documentation
Dana Jansens danakj@orodu.net
d2c380fb
add OBProperty to otk, which was formerly known as ob::XAtom
it does have a few interface changes
Dana Jansens danakj@orodu.net
641bc819
convert XAtom to OBAtom
Dana Jansens danakj@orodu.net
f25252a4
updated doxygen documentation
Dana Jansens danakj@orodu.net
c3946be0
initialize the _doshutdown member
Dana Jansens danakj@orodu.net
62356a72
complete the change from window.cc/hh to bbwindow.cc/hh
Dana Jansens danakj@orodu.net
6f8b36ff
moving window.cc/hh to bbwindow.cc/hh since we'll have our own window class coming in to replace it slowly
Dana Jansens danakj@orodu.net
2f905c7e
deal with client events in the same way now
Dana Jansens danakj@orodu.net
45c2589e
xeventhandler can handle everything except client messages now.
blackbox is no longer the event handler
Dana Jansens danakj@orodu.net
7ebccbf3
new OBTimer interface
Dana Jansens danakj@orodu.net
578bedc2
fix for documentation
Dana Jansens danakj@orodu.net
d0b55be2
OBTimer is fully documented.
change how the timerqueuemanager makes timers fire recursively, so that OBTimer::halt could go away
Dana Jansens danakj@orodu.net
d557e816
include the right .hh!
Dana Jansens danakj@orodu.net
6bba50ef
include the timer manager class header
Dana Jansens danakj@orodu.net
98341d7d
make doxygen skip stuff inside
#ifndef DOXYGEN_IGNORE
#endif
blocks
Dana Jansens danakj@orodu.net
b0a532db
split the OBTimerQueueManager and TimerQueue into their own files
Dana Jansens danakj@orodu.net
d4d89ce0
documenting classes!
Dana Jansens danakj@orodu.net
e9085c3a
documented
Dana Jansens danakj@orodu.net
143a38f7
not using a custom stlyesheet anymore
Dana Jansens danakj@orodu.net
b5bff953
add doxygen to the project. 'make doc' builds the doxygen stuff. you need doxygen and graphviz installed to generate it properly
Dana Jansens danakj@orodu.net
cb71b2fb
stop using the Utf8 functions. will use them later for ONLY Utf-8 encoded strings!!
Dana Jansens danakj@orodu.net
f8f73b74
missing include
Dana Jansens danakj@orodu.net
9259ec57
new timer infrastructure. takes a function pointer for the timeout, with a void* parameter (useful for holding a class instance!)
Dana Jansens danakj@orodu.net
ad80ef0f
make it shutdown on signals
Dana Jansens danakj@orodu.net
42e406d0
read rc3 as the default file now
Dana Jansens danakj@orodu.net
373de009
new timers, timer manager
Dana Jansens danakj@orodu.net
c5f62494
fix compiling in display.
make the timer manager work in and of itself
Dana Jansens danakj@orodu.net
8ad26109
ue default scope timevals
Dana Jansens danakj@orodu.net
2bf55be0
add comment
Dana Jansens danakj@orodu.net
ace8c889
WE DONT USE BASE DISPLAY FOR ANYTHING ANY MORE!!@^!*@*!! YAY
Dana Jansens danakj@orodu.net
37e56007
move Rect and PointerAssassin into the toolkit
Dana Jansens danakj@orodu.net
fa8cefef
add an OBDisplay class and the old ScreenInfo class to the toolkit.
wrap the toolkit in the 'otk' namespace
it compiles. broke the timer cache tho.
Dana Jansens danakj@orodu.net
fcfb532d
include the new screeninfo.o
Dana Jansens danakj@orodu.net
dd7b8b67
split the screeninfo class out to its own files
Dana Jansens danakj@orodu.net
bbdca491
gettext is ready to rock and roll
Dana Jansens danakj@orodu.net
e5d63c07
updated with goals for 3.0
Dana Jansens danakj@orodu.net
643fbfa7
not using admin/ dir anymore
Dana Jansens danakj@orodu.net
356e4a02
stupid stuff
Dana Jansens danakj@orodu.net
a3b64aae
put 'cvs' in the version tag
Dana Jansens danakj@orodu.net
0eff3cc4
make strings in main.cc translatable
Dana Jansens danakj@orodu.net
b79c74fc
add cvs ignores for the new dirs
Dana Jansens danakj@orodu.net
6b905206
make gettext better. updates for autoconf
Dana Jansens danakj@orodu.net
45e8330c
dont have any languages yet
Dana Jansens danakj@orodu.net
d9c66049
add some text files..
dont have our own libintl
Dana Jansens danakj@orodu.net
90f24142
add gettext
change CXXFLAGS back to CPPFLAGS in the .am's
Dana Jansens danakj@orodu.net
b1cc4b4f
update configure.ac to newer rules
Dana Jansens danakj@orodu.net
4c05a620
libtool stuff
Dana Jansens danakj@orodu.net
f127273a
make compile again
Dana Jansens danakj@orodu.net
1824e6b1
add a cvsignore for otk.
make sexier automake shit
Dana Jansens danakj@orodu.net
bca71305
toolkit addition
Marius Nita marius@cs.pdx.edu
35462479
changed for toolkit
Marius Nita marius@cs.pdx.edu
90c5fdc2
changed to reflect toolkit change
Marius Nita marius@cs.pdx.edu
110a1eee
moved files into otk
Marius Nita marius@cs.pdx.edu
9247a7a6
oops
Marius Nita marius@cs.pdx.edu
85c41a1a
adding toolkit beginnings
Marius Nita marius@cs.pdx.edu
a7c71b36
no more epist compiling
Dana Jansens danakj@orodu.net
c796dccd
make bsetroot compile with the new codebase
Dana Jansens danakj@orodu.net
6b438d90
these files are generated by bootstrap
Dana Jansens danakj@orodu.net
eb19a6b6
make epist compile with the new code base
Dana Jansens danakj@orodu.net
54c96668
look for a CC to make automake happy
Dana Jansens danakj@orodu.net
19fa297a
configure script changed to .ac
Dana Jansens danakj@orodu.net
86bef745
big fat commit..
Dana Jansens danakj@orodu.net
75f84f95
add comment for later
Dana Jansens danakj@orodu.net
7bf96a91
compiles now. uses xft2
remove the nls remainders
Dana Jansens danakj@orodu.net
0caf2ba9
rmove old convert.awk
Dana Jansens danakj@orodu.net
4aaf063a
rming all the nls bullshit. gettext.
Dana Jansens danakj@orodu.net
db451d95
rename, remove bullshit. ya
Dana Jansens danakj@orodu.net
60b016b7
no more menus, at last. woop
Dana Jansens danakj@orodu.net
87e63d53
Take menu file from rc file if it isn't specified on the command line.
It doesn't act correctly when using reconfigure, but only because I am unsure what the correct behaviour is.
Scott Moynes smoynes@nexus.carleton.ca
9af642d2
Ignore dot files in the styles directory.
Scott Moynes smoynes@nexus.carleton.ca
be141c2a
take out useless(?) assert
Dana Jansens danakj@orodu.net
1e36acfd
Allow variable tinting of the shadow. Use *.xft.tint: integer
integer is a number -100 to 100 that specifies the alpha channel, with
negative numbers meaning lighten the background and positive being
darken.
Scott Moynes smoynes@nexus.carleton.ca
dc4957ee
bumped up version
Scott Moynes smoynes@nexus.carleton.ca
8b55442b
use drop shadow height in the font height.
honour rc file config option for drop shadows with new shadow code
Scott Moynes smoynes@nexus.carleton.ca
8552ba2a
xft drawing on offsets once and for all
Scott Moynes smoynes@nexus.carleton.ca
d974e00b
fixed the drop shadow window clearing bug in Basemenu
Scott Moynes smoynes@nexus.carleton.ca
ccf6cfad
Fix XFT redraw of text. Still needs slight work for the shadow in Basemenu
Scott Moynes smoynes@nexus.carleton.ca
402e229e
Allow for customizing of the dropShadows.
If xft.flags: shadow then you can specify the tint with xft.shadow.tint:
which should be a number 0 to 255. xft.shadow.offset: will specify how
many pixels to add in positioning.
Also, try to fix the inheritence in the pressed button borders. Need a
style to test this
Scott Moynes smoynes@nexus.carleton.ca
be127cb4
make an *xft.flags: shadow flag to have per style resource shadows
Scott Moynes smoynes@nexus.carleton.ca
b3b0926f
spit an error when no config file is found, to avoid confusing lex and the user.
Marius Nita marius@cs.pdx.edu
da0b7680
bugfixes update
Marius Nita marius@cs.pdx.edu
8ea3db57
more fixes, better sanity detection and error messages. it shouldn't hog the keyboard in any case now. it won't grab when modifiers or keys are borked.
Marius Nita marius@cs.pdx.edu
2037631f
Fixing the stupid case when an invalid key is given and epist would hog the keyboard
Marius Nita marius@cs.pdx.edu
5bb8616d
added user option to modify raise behavior when stackedCycling is on
Marius Nita marius@cs.pdx.edu
24d14b5f
fixed typo
Scott Moynes smoynes@nexus.carleton.ca
012d0e15
tyop
Scott Moynes smoynes@nexus.carleton.ca
ef3cec40
documentation for 2.2
Scott Moynes smoynes@nexus.carleton.ca
fa3fb793
oops. fix workspace warping merge buglet
Scott Moynes smoynes@nexus.carleton.ca
692bbfd3
updated changelog for 2.2 release
Scott Moynes smoynes@nexus.carleton.ca
ce89be6a
added documentation for the pressed focus/unfocus and fixed some minor
formatting errors
Scott Moynes smoynes@nexus.carleton.ca
987cf7cc
Added style resources for window.button.pressed.focus: and
window.button.pressed.unfocus:
Documentation to be added.
Scott Moynes smoynes@nexus.carleton.ca
efd6c59c
adding latvian translation
Scott Moynes smoynes@nexus.carleton.ca
1c0ddc84
Added latvian (lv_LV) translation from 2_1 branch
Scott Moynes smoynes@nexus.carleton.ca
080ba7f9
remove debug code in window menu placement
Scott Moynes smoynes@nexus.carleton.ca
72a2e987
merged with 2_1-merged-to-HEAD-2002-09-30
Scott Moynes smoynes@nexus.carleton.ca
783fac59
snap a window menu to the bottom of the screen if it is positioned too low.
Scott Moynes smoynes@nexus.carleton.ca
5b8ec886
fixed menu placement on menus with very small windows
Scott Moynes smoynes@nexus.carleton.ca
a0a31c3f
changes to reflect the improvements to the error reporting in the parser.
Marius Nita marius@cs.pdx.edu
05690be0
unignore yacc/lex generated files. we don't want to ignore these.
Marius Nita marius@cs.pdx.edu
c2afc72a
Fix small compile error on g++3.
Marius Nita marius@cs.pdx.edu
1852347f
Added titlebar layout documentation
Scott Moynes smoynes@nexus.carleton.ca
ed438533
fixed tyop
Scott Moynes smoynes@nexus.carleton.ca
9215a741
Documented bitmap buttons in manpage
Scott Moynes smoynes@nexus.carleton.ca
5c328c51
using std::* in #ifndef XFT
Scott Moynes smoynes@nexus.carleton.ca
e0d619e3
added a configure flag for enabling/disabling bitmap buttons
Scott Moynes smoynes@nexus.carleton.ca
c196ecd8
more bitmap merge fixes
Scott Moynes smoynes@nexus.carleton.ca
01732a20
Some bitmap bugfixes
Fixed parameters to XFillRectangle, remoced old debug code.
Scott Moynes smoynes@nexus.carleton.ca
d947f35d
bumped up version number after bitmap merge
Scott Moynes smoynes@nexus.carleton.ca
c2d992a3
merged bitmap buttons
Scott Moynes smoynes@nexus.carleton.ca
499b1620
added code that makes sure apps executed by epist don't die when epist is killed.
Marius Nita marius@cs.pdx.edu
d4b6232f
alt-rightclick resizing fix
Dana Jansens danakj@orodu.net
15ca6904
make alt-right click resizing work on the window handles
Dana Jansens danakj@orodu.net
185a1a6a
new bsetbg woop with bugfixes one command line arg handling
Dana Jansens danakj@orodu.net
6b1459e6
rename fieron to not have a cap letter
Dana Jansens danakj@orodu.net
edbe065e
add Fieron style
Dana Jansens danakj@orodu.net
82c414bb
Initial commit, for the Openbox 2.1.0 release
Marius Nita marius@cs.pdx.edu
6120b03e
add autom4te.cache
Dana Jansens danakj@orodu.net
ce531352
bindable/disableable root/workspace menus
Dana Jansens danakj@orodu.net
4128a725
add drop shadows
Dana Jansens danakj@orodu.net
3de15d05
default drop shadows to off
Dana Jansens danakj@orodu.net
70d93941
actually work for windows that dont specify the input hint
Dana Jansens danakj@orodu.net
7f001973
catch button presses on the window's frame window, else they end up passing up the heirarchy to the root window, and then that will do things like pop up the root menu by right clicking on the window's frame window.
Dana Jansens danakj@orodu.net
70fed8c9
dont draw borders past the end of a texture
Dana Jansens danakj@orodu.net
8d54452b
lighter shadow
Dana Jansens danakj@orodu.net
5e9f6a16
call the window's processEvent() directly instead of the screen's, since it didn't actually do anything with the event.
Dana Jansens danakj@orodu.net
01a6d810
increase the reported font size when it has a shadow
Dana Jansens danakj@orodu.net
2c01b1aa
drop shadow with color of text
Dana Jansens danakj@orodu.net
076ef8c1
better ropshadow?
Dana Jansens danakj@orodu.net
02c028d8
(optional) drop shadows for fonts
Dana Jansens danakj@orodu.net
a0537f89
state gnome 2 support
Dana Jansens danakj@orodu.net
c1e79a4a
back out the thick X button
Dana Jansens danakj@orodu.net
c891ad09
gnoem2 fixes for taskbar
Dana Jansens danakj@orodu.net
a575772f
new border code
Dana Jansens danakj@orodu.net
23aea9b4
better border support for stuff. add a borderColor resource, and allow borders with gradients. basically, they can only be used with flat stuff (not raised/lowered)
Dana Jansens danakj@orodu.net
1f5dd220
watch for sticky windows when mapping, let them show.
Dana Jansens danakj@orodu.net
18f704ed
better error reporting. epist now reports the line number and token a parser error occurs at, as well as invalid actions.
Marius Nita marius@cs.pdx.edu
37ccfef8
took out some debug messages
Marius Nita marius@cs.pdx.edu
0b72760c
some debug messages for bug testing
Marius Nita marius@cs.pdx.edu
7c101a50
add woodblock's sticky button shit
Dana Jansens danakj@orodu.net
2685eeb7
when trying to find a window on the screen to focus, dont use non-focusable windows
Dana Jansens danakj@orodu.net
42e00b1c
sync with 2.0 branch (fix auto-rasie with gtk issue)
Dana Jansens danakj@orodu.net
01db552d
add the cvsignore for this dir
Dana Jansens danakj@orodu.net
e93ce605
sync with the 2.0 branch (make XAtom::getValue not use an XGrabServer)
Dana Jansens danakj@orodu.net
923c381d
sync with the 2.0 branch
Dana Jansens danakj@orodu.net
e8116239
fixed debug flag being forced on.
Scott Moynes smoynes@nexus.carleton.ca
767e04e0
Added a optional omnipresent button, enabled using the title bar layout key "S".
Needs to be documented, and the drawing tweaked a bit.
Scott Moynes smoynes@nexus.carleton.ca
d139e299
cleanups and add a server grab in getValue
Dana Jansens danakj@orodu.net
d5c9224d
systray windows fix
Dana Jansens danakj@orodu.net
5033ce0a
proper mask t catch the unmap events on systray windows
Dana Jansens danakj@orodu.net
4d70603f
revert a change for where new windows go in the list
Dana Jansens danakj@orodu.net
b04f5a85
include the config.h header
Dana Jansens danakj@orodu.net
f5a1f592
fix shape support
Dana Jansens danakj@orodu.net
07e619eb
Added missing header for clearShape, which was breaking compilation
Marius Nita marius@cs.pdx.edu
0026b391
latest changessssshape changes, give vR credit
Dana Jansens danakj@orodu.net
9667f3a0
fix shape.
a) it didnt work when it added shape after mapping
b) removing shape wouldnt have worked right either
Dana Jansens danakj@orodu.net
53b6f16b
initial checkin
Marius Nita marius@cs.pdx.edu
bb9a37ec
Draw close button with line_width of 2.
Scott Moynes smoynes@nexus.carleton.ca
217488ee
dont change last active while cycling around in stacked mode
Dana Jansens danakj@orodu.net
48a45008
dont use an invalid iterator in handleKeypress, also, update _last_active is it needs to be
Dana Jansens danakj@orodu.net
b81dbf9a
update the active iterator after moving the active window to the front of the list
Dana Jansens danakj@orodu.net
bf575744
added config.h includes
Marius Nita marius@cs.pdx.edu
0116e2c4
dont use what could be an invalid iterator
Dana Jansens danakj@orodu.net
da8d6b3f
dont break the focused window iterator
Dana Jansens danakj@orodu.net
afbc5546
in stacked cycling mode, insert new clients at the front of the list
Dana Jansens danakj@orodu.net
eca8fd76
dont auto-raise sticky windows, theyre on the current workspace too
Dana Jansens danakj@orodu.net
656478e3
Added On/Off options to the grammar, for parameters.
Marius Nita marius@cs.pdx.edu
572acce5
Fixed a couple of glitches, added on/off values for boolean
Marius Nita marius@cs.pdx.edu
ba1a7156
add the options with default values
Dana Jansens danakj@orodu.net
9d280b87
Modified the way focus is handled so the focus window is always at the top of the stack when doing stacked cycling. yay or something.
Marius Nita marius@cs.pdx.edu
fa301a99
Fixed a boob mistake which was causing KeyRelease events to not be handled properly if keys were relased quickly.
Marius Nita marius@cs.pdx.edu
a95a6bd8
Fixed goof in config interface. All the functions are now named getValue(), since they have different signatures.
Marius Nita marius@cs.pdx.edu
afa215ef
sync with bb-cvs
Dana Jansens danakj@orodu.net
f763814b
dont limit how big a window can be resized.
dont let the user resize a window smaller than 0, which makes it wrap to a huge number
Dana Jansens danakj@orodu.net
38b124e1
Update to reflect the stacked cycling additions
Marius Nita marius@cs.pdx.edu
7ebe5041
updated to reflect the new changes in epist.[ly]
Marius Nita marius@cs.pdx.edu
a991c575
Epist now supports stacked cycling. :D/-< :D\-<
Added several functions and modified several other ones to grab/ungrab the keyboard, handle KeyRelease events, modified focus behavior in cycleWindow, and more.
Changed some calls for the new config format.
Marius Nita marius@cs.pdx.edu
d65127c2
Added functions for setting boolean parameters
Marius Nita marius@cs.pdx.edu
8857fa2c
Slight modification to make it use the new config class calling convention
Marius Nita marius@cs.pdx.edu
483b8496
Made case requirements less strict (you can now have "control" as well as "Control") and added True/False grammar rules for parameters.
Marius Nita marius@cs.pdx.edu
11e643f4
New and improved configuration management. It now handles bool, string and number types, and all conversions happen at initialization time, so retrieval is faster. (yay)
Marius Nita marius@cs.pdx.edu
a6d6f011
sync with blackbox
get rid of the default limit on window sizes
Dana Jansens danakj@orodu.net
85612861
don't limit how big a window can be resized
Dana Jansens danakj@orodu.net
d9c0cfed
unmanage desktop windows on shutdown
Dana Jansens danakj@orodu.net
3ad19e4a
format comment
Dana Jansens danakj@orodu.net
3a76276f
include config.h in cc's before including openbox headers
use bison instead of yacc
Dana Jansens danakj@orodu.net
3b15388c
config request with only resize honors window's gravity
Dana Jansens danakj@orodu.net
328b861d
use the window's gravity when handling a configureRequest event for a resize only
Dana Jansens danakj@orodu.net
e39c8377
add recent fixes
Dana Jansens danakj@orodu.net
9b6ac105
add toggleDecorations
Dana Jansens danakj@orodu.net
db3e93a3
actually check if a window has the function flags approproate before trying to perform an action. (i.e. dont let windows iconify if they arent supposed to, etc)
Dana Jansens danakj@orodu.net
45863e60
clean up the new focusing code for workspace switching
Dana Jansens danakj@orodu.net
3ee18e2f
explicitly set the focused window instead of waiting for the x server when changing workspaces, otherwise, if you move througha workspace before the xserver distributes your focus, you end up losing which window had the focus
Dana Jansens danakj@orodu.net
2c1ce308
dont add sticky windows to the stacking list more than once
Dana Jansens danakj@orodu.net
23e92e11
put !normal windows in the general client list too
Dana Jansens danakj@orodu.net
82bf5b55
put !normal windows in the stacking client list as well as the normal client list
Dana Jansens danakj@orodu.net
b1da899b
try see if this broke gnome-panel
Dana Jansens danakj@orodu.net
bf9ad028
add showRoot/Workspace menu plus a blurp about Openbox specific actions
Dana Jansens danakj@orodu.net
dd7ee168
Capitalization fix, adding documentation for options, 2-d workspaces, and toggleGrabs
Marius Nita marius@cs.pdx.edu
e9c1208f
Safari_Al's patch which fixes inconsistent capitalization in some actions.
Marius Nita marius@cs.pdx.edu
81cdff06
don't unmap/remap sticky windows on a workspace change, but still make sloppy focus work right.
Dana Jansens danakj@orodu.net
0f4737f0
put !normal windows in the screen window list
catch systray apps unmap/destroy events
Dana Jansens danakj@orodu.net
8344443c
handle systray apps closing..
Dana Jansens danakj@orodu.net
57a46b4f
default to line width of 0, which is more efficient than 1
Dana Jansens danakj@orodu.net
cbf4bb3d
use the snap offset as the margin for placing windows instead of a fixed value of 1
Dana Jansens danakj@orodu.net
8dc38853
dont autoraise when the window isn't going to get focused either. sdl-fullscreen bug fixed.
Dana Jansens danakj@orodu.net
d1b2c031
get default line width to 1, and make it a more easily used parameter in BPen
Dana Jansens danakj@orodu.net
469b9b30
give gc's/BPen's a width
Dana Jansens danakj@orodu.net
7cac1f19
toggleGrabs action added
Marius Nita marius@cs.pdx.edu
22e8615f
modified focus() to accept a no-raise parameter
Marius Nita marius@cs.pdx.edu
78a8ca9e
the comment more accurate
Dana Jansens danakj@orodu.net
33d2cecc
s/__openbox_version/OPENBOX_VERSION
Dana Jansens danakj@orodu.net
989db59a
adding the cvsignore file for the new nls dir
Dana Jansens danakj@orodu.net
a1b96061
sync with bb-cvs
Dana Jansens danakj@orodu.net
266a35a9
2.1.0 is our next target
Dana Jansens danakj@orodu.net
aa827d0c
fixed getStringValue failure case and compiler warnings
Marius Nita marius@cs.pdx.edu
4d0f46e5
dont use __ for variables.. its illegal. (thanks ppl for the patch.)
Dana Jansens danakj@orodu.net
a0448385
fixed unsigned/signed comparison warnings
Marius Nita marius@cs.pdx.edu
8a48fff7
support for showing the root and workspace menu with epist
Dana Jansens danakj@orodu.net
f44e3ed9
toggleDecorations!
Dana Jansens danakj@orodu.net
cc5bde6d
toggledecor almost done
some code cleanups/fixes
Dana Jansens danakj@orodu.net
d181f1ad
dont grab other windows while warping in opaque mode
Dana Jansens danakj@orodu.net
d7a65513
dont pass an unused parameter, and return an unused value
Dana Jansens danakj@orodu.net
75f124a2
warping is ruling!
Dana Jansens danakj@orodu.net
9d40660b
warping works!
Dana Jansens danakj@orodu.net
a9bfdcaa
making warping work.. hopefully.
fix for leaving !normal windows behind in the window list
Dana Jansens danakj@orodu.net
183cf03a
set a workspace and window number even for !normal windows
Dana Jansens danakj@orodu.net
aa9ade7a
add support for the kde-override hint, making the windows get no decorations.
also, read the window type as an array, as it is supposed to be read.
Dana Jansens danakj@orodu.net
13064214
added parameter to the move windows. it defaults to 1.
Scott Moynes smoynes@nexus.carleton.ca
9be80896
changeWorkspaceHorz() now cycles
Scott Moynes smoynes@nexus.carleton.ca
5c284ecc
cleaned up changeWorkspaceVert() a bit
Scott Moynes smoynes@nexus.carleton.ca
dfaa9c9f
added cycling to the grid stuff
Scott Moynes smoynes@nexus.carleton.ca
bd05f7ec
uber patch.
Added configuration options.
Added workspace grid changing.
Added keychain timeouts.
Fixed some whitespace.
Scott Moynes smoynes@nexus.carleton.ca
b1223a2a
change how the pointer is moved.. try make this more consistant when warping at high speeds.
Dana Jansens danakj@orodu.net
551a17d2
Fix send to menu, having deleted workspaces in it.
Fix workspace warping, move the mouse and window the same amount.
Fix workspace switching. Put old code back that worked better.
Dana Jansens danakj@orodu.net
2d114880
add -help and -version (thanks ppl)
Dana Jansens danakj@orodu.net
8839db04
fix indenting and caps
Dana Jansens danakj@orodu.net
24f64750
change default style to mbdtex
Dana Jansens danakj@orodu.net
5af33220
change the font to be nicer
Dana Jansens danakj@orodu.net
c5d10bd1
add the date
Dana Jansens danakj@orodu.net
8b5a616b
group next/prev commands together
Dana Jansens danakj@orodu.net
0fa43608
specify which parameters can be specifyed for cycling windows and workspaces
Dana Jansens danakj@orodu.net
2f0d10cc
ignore the new generated manpage
Dana Jansens danakj@orodu.net
7590b376
mention that options dont exist in epist yet
Dana Jansens danakj@orodu.net
e979c2ad
fix breaks/indents for the options section
Dana Jansens danakj@orodu.net
2f919fc7
add a .br
Dana Jansens danakj@orodu.net
7c841bbf
add a manpage for epistrc. Update the epist mapage a bit.
Dana Jansens danakj@orodu.net
8e50f87c
ignore the generated manpage
Dana Jansens danakj@orodu.net
6bf013e2
dont lose the last-focused window when all windows lose focus
Dana Jansens danakj@orodu.net
481fd73d
mention epist with bbkeys
Dana Jansens danakj@orodu.net
e5379ad5
add epist and xftlsfonts in teh see also.
s/BLACK/OPEN/
Dana Jansens danakj@orodu.net
4f30ee54
add authors for epist in manpage
Dana Jansens danakj@orodu.net
9af40759
add manpages for epist and for xftlsfonts
Dana Jansens danakj@orodu.net
963473ba
some new functions added to the rc file
Scott Moynes smoynes@nexus.carleton.ca
a2db09b8
ignore the EnterNotify for focusing when changing workspaces in an ACTIVE_WINDOW change, so that the right window gets focused, not the window under the mouse.
Dana Jansens danakj@orodu.net
544da8c7
set up a default rc file, and change teh user rc to ~./openbox/epistrc
Dana Jansens danakj@orodu.net
13cf497f
Added default rc file
Scott Moynes smoynes@nexus.carleton.ca
b660ebe8
add xft support
Dana Jansens danakj@orodu.net
0e9e17a2
authors updates
Dana Jansens danakj@orodu.net
99a38842
catch tge XFT define, from config.h
Dana Jansens danakj@orodu.net
a3f7fa32
add Xft support to all of the styles
Dana Jansens danakj@orodu.net
3a6e590d
proper scoping
Dana Jansens danakj@orodu.net
41a38bbd
basename() returns a string sometimes.. go shaleh. but this makes it work both ways.
Dana Jansens danakj@orodu.net
02d144a8
no more relavent
Dana Jansens danakj@orodu.net
f7604fbe
fix nls' that didnt build
Dana Jansens danakj@orodu.net
b19065cc
fix the ko_KR makefile so it builds
Dana Jansens danakj@orodu.net
dd6ccfd2
this file is generated,and not supposed to eb in cvs
Dana Jansens danakj@orodu.net
0479a9f2
build something when theres no xft support
Dana Jansens danakj@orodu.net
352163bd
make sure the increments are > 0.
Dana Jansens danakj@orodu.net
89bd8afd
build epist normally, dont link in stuff it doenst need to yet
Dana Jansens danakj@orodu.net
eb1f1b35
caps
Dana Jansens danakj@orodu.net
0612318a
add the paper theme
Dana Jansens danakj@orodu.net
bf418b36
had the wrong name in it
Dana Jansens danakj@orodu.net
083e9491
s/black/open
Dana Jansens danakj@orodu.net
a179ffb7
new 2.0 authors/contributors
Dana Jansens danakj@orodu.net
defd5e4c
add all the changes made for 2.0.0 to the changelog
Dana Jansens danakj@orodu.net
73cf4b15
sync with bb-cvs
Dana Jansens danakj@orodu.net
a0c7fe1f
sync with bb-cvs.
Add the if(sticky) check back into the changing-transient-state code.. test this with vanrijn/bbkeys/klaunch!
Dana Jansens danakj@orodu.net
2241f5c8
better track of the last window on a screen.
Dana Jansens danakj@orodu.net
f21fbf1d
sync with bb-cvs
Dana Jansens danakj@orodu.net
d856db56
oops. buglet. extra for loop
Scott Moynes smoynes@nexus.carleton.ca
b0164701
testing whether i caused a bug with this code
Dana Jansens danakj@orodu.net
74a4bc01
properly watch for windows on other workspaces when mapping.
Dana Jansens danakj@orodu.net
4bebd476
remove the net_wm_desktop/state hints from a window when we stop managing it, so that if an app reuses the window, we don't place it on the wrong workspace the second time.
Dana Jansens danakj@orodu.net
75b6a5a3
added the ability to have numeric arguments for the cycle window/workspace functions.
eg.
Control-Mod1-Down nextWorkspace 6;
Control-Mod1-Right nextWorkspace;
Would allow some form of relative workspace flipping. It might be much less useful for cycling windows.
Scott Moynes smoynes@nexus.carleton.ca
ef66d63b
dont let windows get initially mapped when they arent on the current workspace
Dana Jansens danakj@orodu.net
91b07843
don't actually focus windows when adding them to the current workspace. this is already handled elsewhere, ands the window probably isnt evenmapped yet
Dana Jansens danakj@orodu.net
1a145bba
resize with alt+right click in all the same places that alt+left click moves
Dana Jansens danakj@orodu.net
aa2ec5f2
don't make Decor_Close depend on MWM hints. Thats not part of them.
Dana Jansens danakj@orodu.net
6838ab25
fix whitespace
Dana Jansens danakj@orodu.net
f633c5f0
allow the user to specify the modmask used to mouse events on windows
Dana Jansens danakj@orodu.net
6e07a64d
add the FlatBorder texture type
Dana Jansens danakj@orodu.net
ff3d1217
when updating the client menu for windows that aren't in the client menu, just ignore the request gracefully
Dana Jansens danakj@orodu.net
175a7e5d
sync with bb-cvs
Dana Jansens danakj@orodu.net
0f710360
support the blackbox hints right and the blackbox attributes for decoration state
Dana Jansens danakj@orodu.net
35818cc2
reconfigure wont break decor highlighting now
Dana Jansens danakj@orodu.net
36db2d24
set a window's decorations based on mwm and window type. Ignore the different blackbox 'levels' since they arent ever used anyways. This makes toggling a window's decor always work right too!

Also, make XGrabServer calls while workspace warping ot make sure another window isnt grabbed in place of the one thats warping
Dana Jansens danakj@orodu.net
5b088be9
fixed spelling mistake
Scott Moynes smoynes@nexus.carleton.ca
bc3268b6
handle toolbars and utility windows proper. also, no more crashes from kpager (i really hope :P), at least not the same way
Dana Jansens danakj@orodu.net
01096f86
sync with blackbox-cvs
Dana Jansens danakj@orodu.net
2d5e1c55
don't let windows snap to themself
Dana Jansens danakj@orodu.net
652addd2
allow modifierless root keys
Dana Jansens danakj@orodu.net
7d72843f
adding egnerated files to cvs
Dana Jansens danakj@orodu.net
a9068215
watch for a failed opening of the X server!
Dana Jansens danakj@orodu.net
027dbd1c
watch for transient == ~0ul
Dana Jansens danakj@orodu.net
f3a54e41
use the old method for showing windows on workspace change
Dana Jansens danakj@orodu.net
97e86c91
A few bug fixes and change the config to case insensitive and be more
tolerant of errors.
Scott Moynes smoynes@nexus.carleton.ca
90ee16fc
better support for relative resizing
Dana Jansens danakj@orodu.net
d8967bd5
support better resizing a delta value instead of an absolute value
Dana Jansens danakj@orodu.net
20045e73
add the yacc/lex generated stuff
Dana Jansens danakj@orodu.net
e5e886bc
sendTo and goto workspaces both need to start at 0, not 1
Dana Jansens danakj@orodu.net
1f539dcc
fixed change workspace and indenting
Scott Moynes smoynes@nexus.carleton.ca
b0239459
drop the ""'s from actions' string arguments
Dana Jansens danakj@orodu.net
616fa39a
build the yacc/lex stuff
Dana Jansens danakj@orodu.net
0ca8cd6f
include the right header and cast to avoid warnings
Dana Jansens danakj@orodu.net
71f05fc2
fix std:: namespace problems
Dana Jansens danakj@orodu.net
4c10947b
subtract 1 from teh workspace number specified
Dana Jansens danakj@orodu.net
72c56d79
sync with blackbox
Dana Jansens danakj@orodu.net
aa06c07d
sync with bb-cvs
Dana Jansens danakj@orodu.net
4e84a99f
disable things in the placement menu when they dont have any effect for the selected placement type
Dana Jansens danakj@orodu.net
ab80aa49
bad patch
Scott Moynes smoynes@nexus.carleton.ca
3c4a0e5f
added the lex source file
Scott Moynes smoynes@nexus.carleton.ca
6d400020
Big fat merge for epist.
This adds a config parser, chaining, and a tonne of other stuff.
Still need to fix up build system for the lex and yacc stuff.
Scott Moynes smoynes@nexus.carleton.ca
00391787
perhaps fix a segfault here
Dana Jansens danakj@orodu.net
b8c0c7af
dont snap things around crazy with small windows in resistance mode
Dana Jansens danakj@orodu.net
a2a348c2
perhaps fix an infinate loop in here..
Dana Jansens danakj@orodu.net
08e28f38
add a sanity check for the snap offset, limiting it to 50
Dana Jansens danakj@orodu.net
dba5b809
change default resistance to 18
Dana Jansens danakj@orodu.net
b9e40b8b
add the resource for the window snapping offset
Dana Jansens danakj@orodu.net
b34a0d1c
save the window-to-window snapping right
Dana Jansens danakj@orodu.net
1ecf3b73
honor the snap_offset properly for windows, and for edges(?)
Dana Jansens danakj@orodu.net
22869af5
snap to windows/edges an optional offset away
Dana Jansens danakj@orodu.net
347baf0c
had an extra window placement menu
Dana Jansens danakj@orodu.net
50598700
keep the new menus on top of normal windows
Dana Jansens danakj@orodu.net
d8a81781
redraw menu checkmarks when needed, this was broken since they're on the opposite side of the menu now
Dana Jansens danakj@orodu.net
a16a2732
Enable corner snapping option for both snap types
Dana Jansens danakj@orodu.net
81b3cf40
add cvsignore file
Dana Jansens danakj@orodu.net
ea02ab8c
add config menu entries for all the new window snapping/resistance options
Dana Jansens danakj@orodu.net
3356db48
add rc options for window snapping/resistance
Dana Jansens danakj@orodu.net
b1a2c014
snapping/resistance is optional for window and edge snapping
Dana Jansens danakj@orodu.net
628a4ff3
snap to bottoms too =]
Dana Jansens danakj@orodu.net
39bd954b
window resistance complete
Dana Jansens danakj@orodu.net
c2b3dc9f
more resistance working. edge of screen works right now
Dana Jansens danakj@orodu.net
d94e8c50
stab #3. window-to-window works. window-to-screen doesnt
Dana Jansens danakj@orodu.net
6fd25435
second stab at resistance
Dana Jansens danakj@orodu.net
e9a5c715
first stab at window resistance instead of snapping
Dana Jansens danakj@orodu.net
ef0bacba
dont switch workspaces when focusing a sticky window
Dana Jansens danakj@orodu.net
98846134
replace frobozz with the original from kyle
Dana Jansens danakj@orodu.net
f139b457
add some new styles for 2.0 from miklos
Dana Jansens danakj@orodu.net
09918dc5
try make bootstrap work in one pass for other people..
Dana Jansens danakj@orodu.net
76451a13
make xft support default on
Dana Jansens danakj@orodu.net
79916c27
remove the "exec " from the command for running menu stuff so that normal shell things work right in the menu
Dana Jansens danakj@orodu.net
25a18140
remove sticky windows from other workspaces when unsticking. stop the abuse of stick()! dont just re-call it!
Dana Jansens danakj@orodu.net
a7515b6d
don't focus non-visible windows
Dana Jansens danakj@orodu.net
961d7eb5
since !isNormal windows cant focus from mouse enter events anyays, we don't need to unmap them/remap them on workspace changes, so we don't. this way they dont flash.
Dana Jansens danakj@orodu.net
06b160db
use a list of rects instead of windows for window-to-window snapping. Also, snap directly to the slit and toolbar, instead of snapping to the strut.
Dana Jansens danakj@orodu.net
d86284c0
make root scrolling customizable
Dana Jansens danakj@orodu.net
77c518f8
better sticky windows.
Dana Jansens danakj@orodu.net
f61a455e
get the window's title before adding it to the workspace, since the workspace menu wants that title
Dana Jansens danakj@orodu.net
03f9d617
sync with bb-cvs (fixes the java bug, plus menu prasing redone)
Dana Jansens danakj@orodu.net
9e7f5d22
added sticky windows in the wrong place, before the window was even fully initialized ont he workspace.
Dana Jansens danakj@orodu.net
d06cedce
keep a minimum menu height so that the pixmaps (checkmarks) draw right in them
Dana Jansens danakj@orodu.net
86af1224
dont assert for focusing !isNormal() windows
Dana Jansens danakj@orodu.net
5ec63388
fixes to make sticky windows work better. they appear in all workspace lists, they get focus when switching workspaces properly, their workspace menus show their focus properly.
Dana Jansens danakj@orodu.net
3816b6a2
when a window is uniconified, ensure its nothe 'last focused window' on some other workspace
Dana Jansens danakj@orodu.net
98c17f18
let normal windows be netizens again
Dana Jansens danakj@orodu.net
d2ab5864
sync with bb-cvs
Dana Jansens danakj@orodu.net
d7bf31c5
make the execute process better
Dana Jansens danakj@orodu.net
ca316865
remove debug cout
Dana Jansens danakj@orodu.net
83b6c9bf
sync with bb-cvs
Dana Jansens danakj@orodu.net
cd6c4ebc
add new binary
Dana Jansens danakj@orodu.net
462ccd7c
sync with bb-cvs
Dana Jansens danakj@orodu.net
6253730e
don't worry abou overlapping the toolbar if there is none.
Dana Jansens danakj@orodu.net
aab3c5df
add default workspace change bindings
Dana Jansens danakj@orodu.net
b065c29a
make what is output optional
Dana Jansens danakj@orodu.net
fb7b6b37
add the xftlsfonts utility
Dana Jansens danakj@orodu.net
97c3b159
dont focus more than one window when cycling!
Dana Jansens danakj@orodu.net
fa95bcda
wait for 20 seconds instead of 20 milliseconds for a netwm window manager to appear
Dana Jansens danakj@orodu.net
60f0d892
take out that goddamn stupid assert
Dana Jansens danakj@orodu.net
1e5bbca8
use the flag not the function
Dana Jansens danakj@orodu.net
0d209464
better focusing. don't set the focused window when its not really set yet, and don't uncheck windows as they lose focus when they are iconified
Dana Jansens danakj@orodu.net
fa34ea52
don't try pass focus off to windows that dont take it
Dana Jansens danakj@orodu.net
49c04eaf
fix capitalization
Dana Jansens danakj@orodu.net
d6cc0b61
document the current hardcoded key bindings
Dana Jansens danakj@orodu.net
33cce0d9
remove a debug cout
Dana Jansens danakj@orodu.net
ae86775d
make lastActiveWindow more intelligent
Dana Jansens danakj@orodu.net
0adf54b0
better window focusing
Dana Jansens danakj@orodu.net
746c37b2
smarter window cycling, behave with omnipresent windows
Dana Jansens danakj@orodu.net
d18f6a4b
dont unshade windows when they get focus
Dana Jansens danakj@orodu.net
8e38989e
remove some unneeded std::'s
Dana Jansens danakj@orodu.net
4652af7b
watch for case where not all screens get managed!
Dana Jansens danakj@orodu.net
28594da6
epist + multihead == <drool>
added next/prevWindowOnAllScreens
added next/prevScreen
Dana Jansens danakj@orodu.net
3792d283
make more clear
Dana Jansens danakj@orodu.net
f6a3cd61
cycle windows was looping forever!
Dana Jansens danakj@orodu.net
809f819e
dont ignore full maxed windows while they are shaded just because they are full maxed
Dana Jansens danakj@orodu.net
5cb2020b
make modal dialogs unmodal before reassigning focus when they are unmanaged
Dana Jansens danakj@orodu.net
733b4f4a
add comment
Dana Jansens danakj@orodu.net
9500c095
dont accept motion events with same_screen set to false
Dana Jansens danakj@orodu.net
64177665
indenting
Dana Jansens danakj@orodu.net
c6699031
no more segging when adding removing windows
Dana Jansens danakj@orodu.net
725e87a0
reorder the menu, put Workspace Warping beside the opaque moving option
Dana Jansens danakj@orodu.net
6747a451
add configmenu option for workspace warping
Dana Jansens danakj@orodu.net
be306f6b
add rc option for workspaceWarping
Dana Jansens danakj@orodu.net
a41a0c1a
fix a crash. when the window loses focus during its death, it uses the timer object, which was being deleted.
Dana Jansens danakj@orodu.net
ba9c665a
workspace warping. this needs to be optional! also motion events are retarded!
Dana Jansens danakj@orodu.net
fc792813
including wrong
Dana Jansens danakj@orodu.net
4c03637f
modal transients wouldnt throw their focus up to their arent cuz the parent didnt know the modal dialog was gone yet and would pass it back to them.
Dana Jansens danakj@orodu.net
b1874480
place large windows correctly instead of asserting
Dana Jansens danakj@orodu.net
1e19ccc2
snapping better to the xinerama regions
Dana Jansens danakj@orodu.net
a0f9b93d
indenting
Dana Jansens danakj@orodu.net
107e0911
check to make sure the workspaces is > 0 not != 0
Dana Jansens danakj@orodu.net
3a9f0752
much nicer hardcoded bindings! :)
Dana Jansens danakj@orodu.net
c15287a8
menu was off-by-one when no xinerama support was built in
Dana Jansens danakj@orodu.net
b73ff84f
make it real easy to change the modifier key used for mouse bindings
Dana Jansens danakj@orodu.net
fd903553
xinerama support where it shouldnt be
Dana Jansens danakj@orodu.net
e8f387ea
handle events on the right screen
Dana Jansens danakj@orodu.net
6268e2c4
run execs
Dana Jansens danakj@orodu.net
da67802b
add a xinerama support menu
Dana Jansens danakj@orodu.net
ccecab79
dont snap windows to rects they arent in for the screen regions (xinerama) or strut/screenarea
Dana Jansens danakj@orodu.net
debe8a2f
window snapping now has xinerama support
Dana Jansens danakj@orodu.net
98d4ac78
turn RectList into a vector
Dana Jansens danakj@orodu.net
47585423
default all xinerama support options to off
Dana Jansens danakj@orodu.net
47d7f62b
had an extra const in there
Dana Jansens danakj@orodu.net
270981e6
better cascade placement! also, it has xinerama support now!
Dana Jansens danakj@orodu.net
e943c31b
only say xinerama is active if we can find some regions for it
Dana Jansens danakj@orodu.net
c293fd65
xinerama support for maximizing windows
Dana Jansens danakj@orodu.net
b7ab0001
move an assert to its proper place
Dana Jansens danakj@orodu.net
e18ff901
xinerama support for window placement
Dana Jansens danakj@orodu.net
6ea8fb9a
function declaration for a function that no longer exists
Dana Jansens danakj@orodu.net
9fe6b282
get the right rects for the xinerama regions
Dana Jansens danakj@orodu.net
f7122039
make work without --enable-xinerama
Dana Jansens danakj@orodu.net
bcb14a3c
acquire and provide Xinerama information for the window manager. now we just gotta use it.
Dana Jansens danakj@orodu.net
a0cf45a0
handle all combinations of lock modifiers on keypress
this should be an rc file option
Scott Moynes smoynes@nexus.carleton.ca
f754eb0e
Handle all combinations of the lock modifiers on a keypress.
This should be a rc file option once we have one.
Scott Moynes smoynes@nexus.carleton.ca
296c12c0
add Xft-build-support and Xinerama-build-support to the -help output
add --enable-xinerama to configure
Dana Jansens danakj@orodu.net
0ee56605
dont use "exec " anymore cuz then stuff like && doesn't work
Dana Jansens danakj@orodu.net
728022e1
exec stuff with "exec " so the sh isnt left over in memory for each process
Dana Jansens danakj@orodu.net
df7120d5
new slit placement. yea its kinda weak. this can get improved late if people complain. slit is going away anyways for 3.0.
Dana Jansens danakj@orodu.net
bd7f9481
sync with bb-cvs.
Add option in config menu for disabling mouse input with scroll lock.
Remove compile-time flag for event clobbering since this solves that problem for now.
Dana Jansens danakj@orodu.net
54c495c8
add some cvsignore's
Dana Jansens danakj@orodu.net
66803e3a
add no_NO and ro_RO translations
Dana Jansens danakj@orodu.net
7d4a07cb
i put paths in here by accident ^_^
Dana Jansens danakj@orodu.net
3fd35d37
add another hardcoded binding :)
Dana Jansens danakj@orodu.net
7493785c
new windows on non-visible workspaces should follow the same focus rules as those on the visible workspace. if "Focus New Windows" is on, then they should get focus when the workspace becomes visible.
Dana Jansens danakj@orodu.net
c258a471
remove the add/remove/active_window debug cout's
Dana Jansens danakj@orodu.net
675d16c7
implement window resizing. using resizing incrememnts if the window has requested them!
Dana Jansens danakj@orodu.net
5b91573e
implement window resizing
Dana Jansens danakj@orodu.net
6595476d
keep track of window dimentions
use them for window moving
Dana Jansens danakj@orodu.net
54dfa44c
move the Strut struct from Screen.hh to Util.hh
Dana Jansens danakj@orodu.net
32ac5d9b
add action and design for resizing a window
Dana Jansens danakj@orodu.net
4aeca296
implement toggleMaximize(Vert|Horz|Full)
Dana Jansens danakj@orodu.net
f7a41999
implement moveWindowUp/Down/Left/Right
Dana Jansens danakj@orodu.net
a16ae873
changed teh builtin bindings.. :)
Dana Jansens danakj@orodu.net
aa34774d
now it opens on all possible screens
Dana Jansens danakj@orodu.net
6d403feb
let you specify the class for cycling windows per class
Dana Jansens danakj@orodu.net
7d67f855
make cycling by window class work properly, was using the app name instead of class
also, make the code gcc 2.95 friendly
Dana Jansens danakj@orodu.net
ffd7021d
add maximizing to the action enum
Dana Jansens danakj@orodu.net
843f9726
add execute command. add string to action class.
Dana Jansens danakj@orodu.net
f32096dc
exec works now
Dana Jansens danakj@orodu.net
bf3c87c8
added hardcoded bindings for changeWorkspace 1-4
Dana Jansens danakj@orodu.net
e8fcc69d
rename the sendTo action to sendToWorkspace
Dana Jansens danakj@orodu.net
6a8f5f44
added sendTo action
Dana Jansens danakj@orodu.net
5cb52056
add 'toggleomnipresent' action
Dana Jansens danakj@orodu.net
e01cab39
small change.
Dana Jansens danakj@orodu.net
92864e8d
add cycling of windows of the same class on all workspaces
Dana Jansens danakj@orodu.net
348c8bff
add cycling of next/prev window of class
Dana Jansens danakj@orodu.net
a9dfa043
add next/prev window on all workspaces
Dana Jansens danakj@orodu.net
faab750f
properly track the active workspace and the number of workspaces.
use these to cycle workspaces.
Dana Jansens danakj@orodu.net
c6234a4d
add iconifying
Dana Jansens danakj@orodu.net
b94699af
add raising and lowering
Dana Jansens danakj@orodu.net
5bf463ea
add the ability to close a window
Dana Jansens danakj@orodu.net
c9be3ee0
added window cycling
Dana Jansens danakj@orodu.net
8e601e4a
line up the vars
Dana Jansens danakj@orodu.net
b790e78e
make the returned action list a const reference
Dana Jansens danakj@orodu.net
8ec56b99
make the action list returned a const
Dana Jansens danakj@orodu.net
f693859b
remove some debug couts
Dana Jansens danakj@orodu.net
b4816f24
make shading work
Dana Jansens danakj@orodu.net
7d153b74
dont pass bound keys through to the application
Dana Jansens danakj@orodu.net
c517f511
some cleanups and such.
Dana Jansens danakj@orodu.net
b4411cb1
Added changeWorkspace() and a broken toggleShaded()
Scott Moynes smoynes@nexus.carleton.ca
a939bb6e
properly scope thse stl stuff please!
Dana Jansens danakj@orodu.net
be77122b
add file headers and couple fixups
Dana Jansens danakj@orodu.net
b9e5c705
no need to scope here
Dana Jansens danakj@orodu.net
bf21451f
add a count to the actions enum
Dana Jansens danakj@orodu.net
1ed841ef
make both for's work teh same way
Dana Jansens danakj@orodu.net
8cfa247c
insert some whitespace
Dana Jansens danakj@orodu.net
ba58f65d
added contructor for the actions
Scott Moynes smoynes@nexus.carleton.ca
a0e50e15
fix typos
Dana Jansens danakj@orodu.net
df61eecc
add ifdefs for config.h
Dana Jansens danakj@orodu.net
5d95d24d
use the _variable member naming convention
Dana Jansens danakj@orodu.net
a79513f3
make epist not build with the rest of the source tree
Dana Jansens danakj@orodu.net
37824505
screwed up the order in which hints were retrieved on windows. this actualy turns out to be important :)
Dana Jansens danakj@orodu.net
5862475f
make HUP reconfigure as in blackbox. make USR1 restart instead
Dana Jansens danakj@orodu.net
256bcbed
changing the number of workspaces in the rc does something without restarting now!
Dana Jansens danakj@orodu.net
f586e55a
Added an action class and started the even handler.
Scott Moynes smoynes@nexus.carleton.ca
0326ac96
don't try to show windows which are already shown. this also ends up fixing an elusive segfault.
Dana Jansens danakj@orodu.net
23da937e
only focus new transient windows if their parent has the input focus
Dana Jansens danakj@orodu.net
6b3f5abd
dont reconfigure during startup. thats a waste and screws up stuff!
Dana Jansens danakj@orodu.net
90239e2b
make the bullet, checkmark, and text, all the same color in the menu
Dana Jansens danakj@orodu.net
62d40248
updated todo. took out things we have done. added new goal for 3.0.
Dana Jansens danakj@orodu.net
ec5ea27e
select the focused window in the workspace menu
Dana Jansens danakj@orodu.net
3442c5ef
add cvsignore
Dana Jansens danakj@orodu.net
7972a75e
fix some capitalisations
Dana Jansens danakj@orodu.net
5b0751d5
move the checkmarks to the opposite side of the bullets. This means they still can be used in the workspace menu for the focused workspace.
Dana Jansens danakj@orodu.net
0a9da781
change the color used for the checkmark. match the text. dont check the current workspace in the workspace menu.
Dana Jansens danakj@orodu.net
f020fb58
new checkmark for the menus
Dana Jansens danakj@orodu.net
c804a5a0
added some notes about a config file format
Scott Moynes smoynes@nexus.carleton.ca
4b339891
reverse the if
Dana Jansens danakj@orodu.net
de6c4093
dont put non-normal windows in the stacking list. they dont show up in theclient list either.
Dana Jansens danakj@orodu.net
8db840cb
adjust goals for 2.0
Dana Jansens danakj@orodu.net
014a3330
add for ClickMousePlacement
Dana Jansens danakj@orodu.net
2dde696a
much awesome support for special windows like panels/desktops.
All 'non-normal' windows are treated equally now, with a fe wexceptionms for the desktop for stacking.
Fix some ClicmMousePlacement bugs while we're at it.
Dana Jansens danakj@orodu.net
41053a81
put the assert back. better solution in mind
Dana Jansens danakj@orodu.net
d5d02c45
taking out an assert that only causes problems
Dana Jansens danakj@orodu.net
daaac0df
Click Mouse Placement is BACK!#!#
Dana Jansens danakj@orodu.net
94d86896
add sendClientMessage
Dana Jansens danakj@orodu.net
ede324b4
screw that change. the next releaase will be 2.0.0!
Dana Jansens danakj@orodu.net
b03eccf8
change the version number back a bit. preparing for a testing release.
Dana Jansens danakj@orodu.net
315f1d10
switch workspaces if neccessary for a NET_WM_ACTIVE_WINDOW ClientMessage
Dana Jansens danakj@orodu.net
7427fe1b
make bbkeys' cycliong work right, how it used to. instead of working like supoprt for brokenass kwin does
Dana Jansens danakj@orodu.net
1d4391b0
dont reposition non-normal/dialog windows when they get focus, such as kde's kicker, if they are off screen. they are special and may be doing this on purpose
Dana Jansens danakj@orodu.net
fb613db2
dont let focus fall back to strange windows like panels, only to normal windows and dialogs
Dana Jansens danakj@orodu.net
5cf86b18
add options for ignoring shaded windows and full-maxed windows while placing new windows
Dana Jansens danakj@orodu.net
27fadda0
Don't install epist until it actually does something of value
Scott Moynes smoynes@nexus.carleton.ca
af0eced0
kde's 'desktop menu' now works just like a panel
Dana Jansens danakj@orodu.net
90dbcb27
properly handle workspace names, and changes to them.
Dana Jansens danakj@orodu.net
c6a826bf
fix case where the window group deletes itself. somehow missed this while syncing! :(
Dana Jansens danakj@orodu.net
3312a209
sych with blackbox
Dana Jansens danakj@orodu.net
1525520d
make arrows larger, match th size of the other bullets. make all bullets' sizes quickly/easily adustable
Dana Jansens danakj@orodu.net
8ff1b709
make sure the desktop names atom is set when setting a workspace name, even when it doesnt already exist (bug fix)
Dana Jansens danakj@orodu.net
8cb1108f
properly lower windows and keep desktop windows on the bottom.
Dana Jansens danakj@orodu.net
043e42a3
libgen.h is used by basename()
Dana Jansens danakj@orodu.net
0b198a00
update deps in the Makefile
Dana Jansens danakj@orodu.net
09591a9a
more actions
Dana Jansens danakj@orodu.net
129f5655
add a size specifier to the enum
Dana Jansens danakj@orodu.net
836d9362
removing now-unused files.
Dana Jansens danakj@orodu.net
24a1e215
epist now based on the BaseDisplay.
has the ability to be multiscreen!
Dana Jansens danakj@orodu.net
89d09297
some of the actions I came up with
Scott Moynes smoynes@nexus.carleton.ca
5112b627
gets a whole lotta window information now, and updtes when it changes!
Dana Jansens danakj@orodu.net
e8b6f651
add support for the WM_CLASS property.
make getValue for a string array return the right number in nelements.
Dana Jansens danakj@orodu.net
5fed16de
we now know for every window its state and its desktop
Dana Jansens danakj@orodu.net
b10d59da
some more notes
Scott Moynes smoynes@nexus.carleton.ca
0a9130b6
now we know the state of windows
Dana Jansens danakj@orodu.net
cf3d512a
add header for perror()
Dana Jansens danakj@orodu.net
31732c15
Initial notes on design and features
Scott Moynes smoynes@nexus.carleton.ca
17fbff7d
make the wheel mouse shade anywhere on the titlebar, and not press buttons. thanks woodlbock.
Dana Jansens danakj@orodu.net
0aae7241
epist now handles -display on the command line, and gets the client list and act
ive window
Dana Jansens danakj@orodu.net
7aea20d6
epist parses teh cpommand line for -display, and catches Property notify events. It knows about the client list and active window so far
Dana Jansens danakj@orodu.net
426b1ea2
open an X display
Dana Jansens danakj@orodu.net
c8d584f9
added signal handling
Dana Jansens danakj@orodu.net
06413d7e
add the copyright
Dana Jansens danakj@orodu.net
f04d2f0f
adding epist!
Dana Jansens danakj@orodu.net
26c5c405
-fno-inline when compiling in debug mode
Dana Jansens danakj@orodu.net
f320a023
clean up the systray and desktop lists
Dana Jansens danakj@orodu.net
cac80d06
restart the window manager on a SIGHUP
Dana Jansens danakj@orodu.net
9e99a9a1
sync with bb cvs
Dana Jansens danakj@orodu.net
b21cf8b3
add another return, and return a value for a non-void funtion.
Dana Jansens danakj@orodu.net
25f3456b
missing a ;
Dana Jansens danakj@orodu.net
66119f75
add some returns so the compiler doesnt get confused
Dana Jansens danakj@orodu.net
235d9e4c
use a BPen in the BFont class for drawing standard X fonts
Dana Jansens danakj@orodu.net
0c04fb52
synch with bb-cvs.
add window resize zones. the resource has been renamed from windowZones to resizeZones.
Dana Jansens danakj@orodu.net
8e34bfcf
keep iconified windows' workspace set to BSENTINEL, but set the NETWM hint to 0xffffffff (all desktops)
Dana Jansens danakj@orodu.net
f2ecfb62
when a window is iconified, set its workspace to 'all workspaces' so it shows up in taskbars still. otherwise its impossible to get back iconified windows. update teh stacking list when windows switch workspaces.
Dana Jansens danakj@orodu.net
20bc088a
add option to the rc file to use/not use AA for Xft fonts
Dana Jansens danakj@orodu.net
858af98b
add the korean translation dir to configure
Dana Jansens danakj@orodu.net
1618ecc8
extend the style format to use xft.(font|size|flags) to specify an xft font
Dana Jansens danakj@orodu.net
5ba3ee6e
make the Xft check actually work
Dana Jansens danakj@orodu.net
137a0c4e
allow style options in the rc file to override those found in the style
Dana Jansens danakj@orodu.net
32c13697
no need to call XrmInit outside of Config class. fix indenting.
Dana Jansens danakj@orodu.net
1da52876
dont need to XrmInit outside of the Config class. fix indenting.
Dana Jansens danakj@orodu.net
abb124bd
add .cvsignore for korean nls dir
Dana Jansens danakj@orodu.net
6d4aa1af
fix a debug print
Dana Jansens danakj@orodu.net
ed27f241
added korean translation
Dana Jansens danakj@orodu.net
e043f648
make Xft default to off, you have ot --enable-xft now
Dana Jansens danakj@orodu.net
ed3e5975
don't cast char*'s to string's needlessly
Dana Jansens danakj@orodu.net
300491ce
sync with bb-cvs
Dana Jansens danakj@orodu.net
b2997719
try make the ~/.openbox dir if it doesnt exist.
Dana Jansens danakj@orodu.net
b950402b
remove some debug fprintfs
Dana Jansens danakj@orodu.net
5282d92b
was ending up using the wrong cache items. now i find and release it every time a string is drawn
Dana Jansens danakj@orodu.net
6716bd33
sync with bb-cvs: re-add support for alt-button2, fix some off by 2's temorarily
Dana Jansens danakj@orodu.net
9d2f88e0
use the True/False as is the blackbox code standard.
Dana Jansens danakj@orodu.net
4abbbd9f
remove compiler warnings
Dana Jansens danakj@orodu.net
b3c31573
fix a memleak reported by valgrind
Dana Jansens danakj@orodu.net
6954842d
when placing a window, dont use its strut while placing itself.
Dana Jansens danakj@orodu.net
e15e4a9e
make iconified windows uniconify on an XMapRequestEvent.
sync with blackbox cvs.
Dana Jansens danakj@orodu.net
be2f4722
make the styles' doJustify methods stop returning the string length as this is no longer needed with the BFont class
Dana Jansens danakj@orodu.net
de868d58
look for the rigt function in the libxft
Dana Jansens danakj@orodu.net
08d793bb
add BFont class, with Xft support
Dana Jansens danakj@orodu.net
9aaf4f8d
some memory bugs from woodblock (thanks!)
Dana Jansens danakj@orodu.net
75a068cc
removing old Makefile.in, rolling back Makefile.am to before the mappable muse button bindings
Dana Jansens danakj@orodu.net
888c0bac
backing out all changes to make mouse button mapping's configurable
Dana Jansens danakj@orodu.net
ffa4c7f3
sync with bb. mostly cleanups in Window.cc
Dana Jansens danakj@orodu.net
18064df1
add capability to stick a window from input, and make close buttons work.
Dana Jansens danakj@orodu.net
351a0665
Configureable button mappings!
Dana Jansens danakj@orodu.net
b0d81f77
proper order for the stacking order list
Dana Jansens danakj@orodu.net
87160220
make desktop windows get lowered properly
Dana Jansens danakj@orodu.net
eb136b96
use the _NET_WM_DESKTOP_NAMES root property
Dana Jansens danakj@orodu.net
e9f582ae
make getting a list of strings work right
Dana Jansens danakj@orodu.net
578a5cc9
make fully max'd windows properly snap
Dana Jansens danakj@orodu.net
b2e9af88
add the functionality for window-window snapping
Dana Jansens danakj@orodu.net
f4c0547b
merge from netwm-merge2 to netwm-merge3. Basically, all of netwm that we intend to support is 'supported'. Just need to squash bugs now.
Dana Jansens danakj@orodu.net
1766453c
sync with blackbox-cvs
Dana Jansens danakj@orodu.net
8941da8e
change to match blackbox
Dana Jansens danakj@orodu.net
e90fafd2
fix off-by-ones in window-to-window snapping. move the property from the blackbox class to the screen class.
Dana Jansens danakj@orodu.net
aad50046
synched with bb-cvs. couple bug fixes.
Dana Jansens danakj@orodu.net
7a553233
syching with bb-cvs. rm .\#* on make dist-clean. nls updates.
Dana Jansens danakj@orodu.net
705ccbfd
documentation fixes
Dana Jansens danakj@orodu.net
a7db565c
window-to-window snapping is now a run-time option.
window-corner snapping added, and also is a run-time option.
Dana Jansens danakj@orodu.net
f0c2fa18
window-to-window corner snapping!
Dana Jansens danakj@orodu.net
39d598e5
backing out sticky transients change, this should go in the netwm branch
Dana Jansens danakj@orodu.net
1775e867
sync with bb-cvs
Dana Jansens danakj@orodu.net
4e0fde35
make all parents/transients that are related have the same sticky state.
Dana Jansens danakj@orodu.net
20bac077
on reconfigure, save all of the open submenus instead of just one, and then reopen them all as best as possible.
Dana Jansens danakj@orodu.net
e149ab6c
no need to try the same screen edge twice for snapping when full max is on
Dana Jansens danakj@orodu.net
9ccebf11
redecorating fixups. sync with bb cvs.
Dana Jansens danakj@orodu.net
c5c5a80c
fix bug from merging last netwm stuff
Dana Jansens danakj@orodu.net
5336c900
merge in netwm branch at tag netwm-merge2
Dana Jansens danakj@orodu.net
23640740
sync with bb cvs
Dana Jansens danakj@orodu.net
47877155
save the right number of workspaces to the rc when adding/removing one
Dana Jansens danakj@orodu.net
77cf8a6f
put webpage in the man page. Also, a couple fixes.
Dana Jansens danakj@orodu.net
53353465
fix so that FocusIn events for focus transer from root->client are used.
Dana Jansens danakj@orodu.net
b8ee3dbc
merging in netwm changes at merge point "netwm-merge1". This add the XAtom class, and sets the net_supported_wm_check related atoms.
Dana Jansens danakj@orodu.net
5ae928ff
updateing missed nls headerswq
Dana Jansens danakj@orodu.net
c9e1855b
updated cvsignore's to match nls changes
Dana Jansens danakj@orodu.net
12fcb33b
re-added UnderMouse Placement
added NLS support in the new configure system.
Dana Jansens danakj@orodu.net
b48e215c
updated nls to use openbox.cat
Dana Jansens danakj@orodu.net
8eb93055
disable the current workspace in the send-to menu
Dana Jansens danakj@orodu.net
46b2484e
let a window snap to more than one window at a time
Dana Jansens danakj@orodu.net
734a9673
window-to-window snapping
Dana Jansens danakj@orodu.net
0bf0d844
adding .cvsignore files to the repository to clean up the output whenever you commit some sort of cvs action
Dana Jansens danakj@orodu.net
b13452a0
when nothing is to be focused, give the root window focus instead of the toolbar (since the toolbar is not neccesarily mapped anymore!)
Dana Jansens danakj@orodu.net
57ac5e5b
sync with bb-cvs
Dana Jansens danakj@orodu.net
6284d4ef
fix bug where destroying the wrong windows in BlackboxWindow::positionButtons.
make util/ directory use the new config.h too
Dana Jansens danakj@orodu.net
62ea1c59
use config.h for configuration options instead of a bunch of -D's on the compile command lines
Dana Jansens danakj@orodu.net
5377e3fd
added "Hide Toolbar" option.
Dana Jansens danakj@orodu.net
b0f8eab0
make window menu behavior consistant. ignore !button1.
Dana Jansens danakj@orodu.net
341c4e04
mouse wheel support
custom titlebar layout
Dana Jansens danakj@orodu.net
c2ab9023
prevent (and if need be revert) shading if titlebar decor is toggled off
Dana Jansens danakj@orodu.net
f5f7c8fb
use the raw screen size not the strut adjusted size to determine max_height and width of a client
Dana Jansens danakj@orodu.net
59cea4f2
save workspace names properly with the new Configuration class.
Dana Jansens danakj@orodu.net
0305cbdc
add Configuration class for generic configuration data load/save-ing.
use Configuration class throughout code. no longer save rc file on exit, save when any options are changed.
Dana Jansens danakj@orodu.net
60b2990e
using configure.ac causes problems. switching back to configure.in
Dana Jansens danakj@orodu.net
0c7e8e40
fixed the geometry window not getting the proper pixmap.  This was caused by using a style with the window.label.focus set to parentrelative.  The window label's parent is the title bar but the geometry window's parent is root.  The code now detects the parentrelative and tries to use the window.title as intended.
Dana Jansens danakj@orodu.net
c04cb764
- raise the window during maximization if the user clicked the maximize button, but otherwise don't

- two fixes here.  1) only raise window in maximize if the window is focused, 2) remap window on reparent event
Dana Jansens danakj@orodu.net
2f65b653
make use of the --enable-clobber option
Dana Jansens danakj@orodu.net
d744d375
reindent version string
Dana Jansens danakj@orodu.net
e5d6ed91
reindent again. better now.
Dana Jansens danakj@orodu.net
ca5b573f
reindent the help/usage message
Dana Jansens danakj@orodu.net
99555fea
reusing the blackbox-cvs bsetroot. it did in fact work right now.
Dana Jansens danakj@orodu.net
b3737edc
use openbox/ dir for rc file and menu file. turn menu into a command line option instead of an rc file option
Dana Jansens danakj@orodu.net
e5bdc511
build a 'openbox' binary
Dana Jansens danakj@orodu.net
f70f3028
use our default style
Dana Jansens danakj@orodu.net
f992b34c
use our version string
Dana Jansens danakj@orodu.net
73e2192c
missed files from import of bb-cvs
Dana Jansens danakj@orodu.net
e65c4022
import from bb-cvs
Dana Jansens danakj@orodu.net
c2609fbe
removing useless files
Dana Jansens danakj@orodu.net
3531afa1
imprted new tools from bb-cvs
re-change bsetroot to work preperly regarding the root window atoms
Dana Jansens danakj@orodu.net
20063c22
import from bb-cvs
Dana Jansens danakj@orodu.net
8794d357
import from bb-cvs
added slit and enable-clobber defines back in Makefile.am
Dana Jansens danakj@orodu.net
e640ee15
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
57a228e4
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
d90c5e64
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
d1522965
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
ca96fe0e
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
74cd4c9f
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
a0d1898a
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
926bf375
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
136d4279
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
eb298511
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
840011db
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
278df533
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
0cd371c3
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
c8a59b3f
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
29914b7d
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
79c6511c
new nls from bb-cvs
Dana Jansens danakj@orodu.net
4b4249c5
new nls from bb-cvs
Dana Jansens danakj@orodu.net
03460568
new nls from bb-cvs
Dana Jansens danakj@orodu.net
65ffd88c
new nls from bb-cvs
Dana Jansens danakj@orodu.net
c2fee7f9
new nls from bb-cvs
Dana Jansens danakj@orodu.net
1743de85
new nls from bb-cvs
Dana Jansens danakj@orodu.net
7953f502
new nls from bb-cvs
Dana Jansens danakj@orodu.net
a5617f1d
new nls from bb-cvs
Dana Jansens danakj@orodu.net
b800483f
new nls from bb-cvs
Dana Jansens danakj@orodu.net
a8910a4e
new nls from bb-cvs
Dana Jansens danakj@orodu.net
8ba8f10e
new nls from bb-cvs
Dana Jansens danakj@orodu.net
935b35c6
new nls from bb-cvs
Dana Jansens danakj@orodu.net
6bb32292
new nls from bb-cvs
Dana Jansens danakj@orodu.net
e0828cb0
new nls from bb-cvs
Dana Jansens danakj@orodu.net
df8200e1
new nls from bb-cvs
Dana Jansens danakj@orodu.net
7ca4d987
new root dir based on bb-cvs
Dana Jansens danakj@orodu.net
18bdbfaa
better string get/set
Dana Jansens danakj@orodu.net
120d8e5a
updated -version output ot list myself
Dana Jansens danakj@orodu.net
bbbe226c
refix i18n for --disable-nls
Dana Jansens danakj@orodu.net
e7c332a5
missing an include
Dana Jansens danakj@orodu.net
6ed6a9d1
fix for compiling with --disable-nls
Dana Jansens danakj@orodu.net
ac62af41
fix compiling with --disable-nls
Dana Jansens danakj@orodu.net
d03852ad
fix compliling with --disable-slit
Dana Jansens danakj@orodu.net
a85c9a7c
added XAtom class, and it all now compiles.
Dana Jansens danakj@orodu.net
83347770
make work with new i18n
Dana Jansens danakj@orodu.net
67b4df1e
merge the sticky window fix from 1.2.
Dana Jansens danakj@orodu.net
a25b213a
updated goals
Dana Jansens danakj@orodu.net
fda410fd
fixed sticky windows!
Dana Jansens danakj@orodu.net
20d7381f
new versions of the X classes
added an Atom in XAtom and functionality in XScreen and XDisplay
Dana Jansens danakj@orodu.net
de712f85
XDisplay's nextEvent completed
Dana Jansens danakj@orodu.net
ae3dc273
new i18n class using overloaded operator() instead of getMessage()
Dana Jansens danakj@orodu.net
30136ab3
change next target version to 2.0.0!
Dana Jansens danakj@orodu.net
91a7ca7d
added the X classes to the build process though they aren't sued by anything else yet. They now compile too.
Dana Jansens danakj@orodu.net
c17256d7
removing pendantic. thats just crazy. -Wall -W will suffice.
Dana Jansens danakj@orodu.net
080c09da
adding --add-missing to automake call
Dana Jansens danakj@orodu.net
cc7cb82d
adding new X base classes which encapsulate all X server interation
Dana Jansens danakj@orodu.net
bd196c71
adding bootstrap which generates all the auto* files such as configure
Dana Jansens danakj@orodu.net
4f04dcaf
removing auto-generated stuff from cvs
Dana Jansens danakj@orodu.net
713c93d6
removed the fixed bug!
Dana Jansens danakj@orodu.net
ae093dba
make a new autoRaiseDelay value take effect without having to restart
Dana Jansens danakj@orodu.net
a4c9553c
increment version for next release
Dana Jansens danakj@orodu.net
63f8386d
make autoRaiseDelay load
Dana Jansens danakj@orodu.net
7f3d32e3
make auto-raise value load.
Dana Jansens danakj@orodu.net
927091ee
fix off-by-one window resizing bug
Dana Jansens danakj@orodu.net
fb0bd987
typos
Dana Jansens danakj@orodu.net
144e3e9b
readding aclocal. autoconf needs this thing
Dana Jansens danakj@orodu.net
5d6413d4
fix for slit direction menu not reconfiguring properly
Dana Jansens danakj@orodu.net
90e7db97
*** empty log message ***
Dana Jansens danakj@orodu.net
a3a23c28
moved menu from a rc file option to a command line option
Dana Jansens danakj@orodu.net
4f50d117
spelling error
Dana Jansens danakj@orodu.net
f6e80e0d
added future release goals to the TODO
Dana Jansens danakj@orodu.net
788754fe
better setting of atoms. plugged memory leak.
Dana Jansens danakj@orodu.net
c1bf2292
better behavior with root pixmap atoms. create them if they do not exist.
Dana Jansens danakj@orodu.net
52c955c4
update to work with renamed function in BaseDisplay
Dana Jansens danakj@orodu.net
878d5733
update changelog.
removed a redundant var from BaseDisplay.
Dana Jansens danakj@orodu.net
e7978c7d
confine the mouse to the window for button grabs so that alt-click-drag on a window that wont move doesnt let the mouse leave the window and cause havoc
Dana Jansens danakj@orodu.net
f7ace0fa
new version of bsetbg
bsetroot now plays niecly with Eterm. Also, updated to the latest bsetroot from blackbox cvs
Dana Jansens danakj@orodu.net
f7508366
new version of bsetroot ported from blackbox cvs
Dana Jansens danakj@orodu.net
52786461
set the button windows to None when they are destroyed so we know they are no longer valid windows
Dana Jansens danakj@orodu.net
1b1efab4
compile with -Wall -W -pendantic when --enable-debug is set.
Dana Jansens danakj@orodu.net
f00ed578
new focus code! working better than ever!
Dana Jansens danakj@orodu.net
9b295857
fix creating/destroying the titlebar buttons
Dana Jansens danakj@orodu.net
e81b9d6a
fix for changing window buttons order. destroy them properly when they no longer exist and recreate them if they dont exist yet
Dana Jansens danakj@orodu.net
d6c02ad7
fix segfaut from uninitialized focused_screen pointer
Dana Jansens danakj@orodu.net
abfaee73
fix compilign without LinkedList
Dana Jansens danakj@orodu.net
6d166794
focus code updates
Dana Jansens danakj@orodu.net
6486b645
LinkedList->STL conversion completed. LinkedList is no longer use and it has been removed from the source tree.
Dana Jansens danakj@orodu.net
d58f7b56
no more use of LinkedList in BaseDisplay
Dana Jansens danakj@orodu.net
eb8a11a5
removed LinkedLists in BaseDisplay and Image. Only 1 left in BaseDisplay now
Dana Jansens danakj@orodu.net
ebdf25bf
removed all 'using namespace std;' calls.
Dana Jansens danakj@orodu.net
4969c1b0
move some typedefs into class scope
Dana Jansens danakj@orodu.net
30b899fc
converted all of the openbox class LinkedLists to STL objects
Dana Jansens danakj@orodu.net
57fb41c8
converted the remaining LinkedLists in Screen to STL objects.
Dana Jansens danakj@orodu.net
addc23fa
not initializing a pointer to NULL
Dana Jansens danakj@orodu.net
a0dbb0e1
couple of LinkedLists converted to STL lists in BScreen
changed teh calls to XSetInputFocus. Using the root window as the fallback when there is nothing to focus instead of the toolbar. Also, always using 'RevertToPointerRoot' instead of sometimes 'RevertToParent'
Dana Jansens danakj@orodu.net
f804f86c
use screen instead of its ImageControl to get/set the image dither value
Dana Jansens danakj@orodu.net
c7810a3c
make image dithering value load correctly
Dana Jansens danakj@orodu.net
b424a723
converted from LinkedList to STL vector and list
Dana Jansens danakj@orodu.net
fba11bf0
increment version for next release
Dana Jansens danakj@orodu.net
9f9cdf11
fixes for using ostrstream in gcc3. have to unfreeze the string more. annoying.
save workspace names/count properly
Dana Jansens danakj@orodu.net
098fae70
better gcc3 compat. using ostrstream again. and using namespace std;
some focus changes. workspace contains a focused window instead of openbox class. this fixes a seg
Dana Jansens danakj@orodu.net
ec10256a
ran autoconf to regen configure
Dana Jansens danakj@orodu.net
89563281
gcc 3 compatibility, converted strstreams to stringstreams
Dana Jansens danakj@orodu.net
4e2c37f2
fix headers to use the new defines
Dana Jansens danakj@orodu.net
38de48bd
stop moving a window if it is maximized
Dana Jansens danakj@orodu.net
445e28af
windows at positions x<0 or y<0 are no longer ignored in the placing code
Dana Jansens danakj@orodu.net
ba832151
better toolbar strftime size/padding fix
Dana Jansens danakj@orodu.net
73f0a909
BScreen::resource.root_command wasnt being initialized
Dana Jansens danakj@orodu.net
415f0241
xsetbg typo
Dana Jansens danakj@orodu.net
5f9c458f
fix possible seg because of new move code. make sure that the masked_window pointer gets cleanup up (call endMove) when a window is destroyed (pointer is then invalid)
Dana Jansens danakj@orodu.net
0be1c1e8
when a window begins moving, make sure another window is not moving already, and if it is, end its move
Dana Jansens danakj@orodu.net
f4d29bb7
make sure that the only time Click-to-place kicks in is when initially placing/mapping the window
Dana Jansens danakj@orodu.net
5705ea36
bug #1 from click placement fixed. was catching more motionNotify events than i wanted to with the new/modified move grabs. now i drop any left-over extras when the move completes so they dont come in too late
Dana Jansens danakj@orodu.net
b88c4292
removing old files that got merged in
Dana Jansens danakj@orodu.net
f290e1c0
save the titlebarLayout in the default config
Dana Jansens danakj@orodu.net
b79ced01
changelog fixes
Dana Jansens danakj@orodu.net
deb016c7
fix positioning of the window menu
Dana Jansens danakj@orodu.net
84f0293a
fix bug with window menu positioning
Dana Jansens danakj@orodu.net
22f8550d
fixed col placement
Dana Jansens danakj@orodu.net
1368ffc5
better logic when changing a window's decoration level, for choosing what elements of decoration get placed on the window.
Dana Jansens danakj@orodu.net
00dc78c6
better logic when changing a window's decoration level, for choosing what elements of decoration get placed on the window.
Dana Jansens danakj@orodu.net
fb1ef42d
fixed bug from converting over to STL
Dana Jansens danakj@orodu.net
65118aaf
bsetroot supports transparent apps with root property
Dana Jansens danakj@orodu.net
6796e798
took bsetroot from Blackbox moving_target.. "bsetroot now sets xrootpmap_id, pseudo transparent apps should be happy"
Dana Jansens danakj@orodu.net
127252cc
when a window is iconified, it was being moved, end the move cleanly
Dana Jansens danakj@orodu.net
5e3ca8e6
don't click-to-place windows when they specify a position
Dana Jansens danakj@orodu.net
4852193a
properly handle placing a window while another window is still placing.
Dana Jansens danakj@orodu.net
1789f16a
if user is moving a window and switches workspaces, stop moving that window
Dana Jansens danakj@orodu.net
8ef0610e
added ClickMouse window placement policy
Dana Jansens danakj@orodu.net
830e53f2
moved the 'moving window' logic into separate functions "startMove" "doMove" and "endMove"
Dana Jansens danakj@orodu.net
ad7f6112
new row/col Smart Placement from colophon
Dana Jansens danakj@orodu.net
20cd70c4
added UnderMouse windwo placement.
Dana Jansens danakj@orodu.net
07281446
better cascadePlacement. uses screen.availableArea().
Dana Jansens danakj@orodu.net
e5685e3c
added BScreen::availableArea() which returns a rect specifying where windows can be placed on the screen, and what area they can fill when maximized
Dana Jansens danakj@orodu.net
fb96e47f
removed debugging couts
Dana Jansens danakj@orodu.net
b7d0a77d
add std:: to the vector typedef in Basemenu
converted slit to use a std::list instead of LinkedList
Dana Jansens danakj@orodu.net
5c9ab8b8
converted from LinkedList to a vector
Dana Jansens danakj@orodu.net
3001cec7
more dithering fix.
Dana Jansens danakj@orodu.net
b2453eec
that segfaulted. oops. added a workaround so setImageDither doesnt reconfig when saving off all the rc values
Dana Jansens danakj@orodu.net
3f6f897d
when Image Dither is changed in the menu, make ob reconfigure so it uses the dithering
Dana Jansens danakj@orodu.net
9fa48a9f
fix Resource class so that you cant cast a string to a Resource
Dana Jansens danakj@orodu.net
1a44d808
Rolled back to the old row and column smart placement so we can get a 1.0.0 release out the door.
Dana Jansens danakj@orodu.net
6a36505f
even more fixes for maximizing/placement with hidden slit/toolbar/etc
Dana Jansens danakj@orodu.net
2809005a
maximize and placeWindow now behave properly when the slit is hidden
Dana Jansens danakj@orodu.net
cf950146
changing to the older version of this style. its far superior :)
Dana Jansens danakj@orodu.net
6f2064b1
posible fix for maximizing when slit is auto-hidden
Dana Jansens danakj@orodu.net
75c0a76a
changed external window interface to only have an area(), no size() and origin(), since all of their values are also in area()
changed toolbar external inteface to have an area, no more getX/Y/Width/Height
Dana Jansens danakj@orodu.net
b8dd077a
some placement fixes from colophon.
Dana Jansens danakj@orodu.net
7eb8d696
new row and column placement, using a modified bestfit. These don't work right yet, nor does bestfit, but they are coming.
Dana Jansens danakj@orodu.net
f994c778
fixed some uninstall issues
Dana Jansens danakj@orodu.net
e1b78a1f
even better bestfit placement. way to go colophon!
Dana Jansens danakj@orodu.net
18499a69
specify the std:: namespace for the ostrstreams.
Dana Jansens danakj@orodu.net
32951060
bestfit placement now honors the left->right and top->bottom options for window placement.
fix for the placement config menu.
Dana Jansens danakj@orodu.net
ec028e39
*** empty log message ***
Scott Moynes smoynes@nexus.carleton.ca
194ad386
tyops
Scott Moynes smoynes@nexus.carleton.ca
981ed308
compile fix for --disable-slit
Dana Jansens danakj@orodu.net
95df11ff
added Changelog entry for the improved maximize-window code.
Dana Jansens danakj@orodu.net
8e083798
better logic to not place windows over the slit and toolbar
maximize uses this same logic to not maximize over the toolbar *and the slit*
Dana Jansens danakj@orodu.net
ca3bc642
changes to bestfit from ruhi. takes windows sizes into account properly, and places windows 1 borderwidth apart on all sides, while still placeing up against the edge of the screen.
Dana Jansens danakj@orodu.net
de7a567d
on reconfigure, if an option isn't specified in the rc file, then it will revert to its default value instead of staying at its current value.
Dana Jansens danakj@orodu.net
874d0ea4
comment typo and function spacing fix
Dana Jansens danakj@orodu.net
0a3cfdfc
fixed memory leaks for strftime_format and rootcommand
Scott Moynes smoynes@nexus.carleton.ca
bed4d7c1
fixed memory leak of application_name
Scott Moynes smoynes@nexus.carleton.ca
62e17841
fixed a memory leak for resource.titlebar_layout
Scott Moynes smoynes@nexus.carleton.ca
8f8eba7b
fixed memory leak in screen::load()
Dana Jansens danakj@orodu.net
e75d3560
updated TODO to match current cvs status. yay progress!
Dana Jansens danakj@orodu.net
7440ad2e
starting openbox without an rc file now works. it makes an empty Xrm db instead of crashing :)
Dana Jansens danakj@orodu.net
940c1f61
temprary fix for the memleaks in ::load() and ::set* when using ostrstreams. Need to find a better solution for strings than std::string and ostrstream, or else put up with memory leaks all over the place.
Dana Jansens danakj@orodu.net
8ebee960
added bsetbg makefile
Scott Moynes smoynes@nexus.carleton.ca
66e3f4d0
added new bsetbg manpage
Scott Moynes smoynes@nexus.carleton.ca
5067369f
fix 2 bus errors on osx:
 - it's std::string doesnt like being set to NULL.
 - in Window.cc, caught someone using a membr variable after calling 'delete this'. bad.
Dana Jansens danakj@orodu.net
1b129560
new bsetbg version with manpage
Scott Moynes smoynes@nexus.carleton.ca
812f64eb
new bsetbg from cthulhain
Dana Jansens danakj@orodu.net
fa903969
optimized the finding-the-slit-position code in positionWindow
Dana Jansens danakj@orodu.net
83b39a9a
added Inflate, Deflate, and Translate to the Rect geometry class
Dana Jansens danakj@orodu.net
13ac6f2a
remove debugging couts
Dana Jansens danakj@orodu.net
f27fe4ed
temporary solution to avoid placing windows over the slit and toolbar, until NETWM is in effect.
Dana Jansens danakj@orodu.net
4602d871
now yuo can change styles again! (oops) wasnt saving teh nwe style file to the Resource class when it changed.
Dana Jansens danakj@orodu.net
e148f58d
maps/unmaps the toolbar when its resource setting is loaded from the file so it takes effect during a reconfigure.
Dana Jansens danakj@orodu.net
d9959367
accidently removed a line somehow. OpaqueMove is now read from the rc file.
Dana Jansens danakj@orodu.net
307da13f
menus update their values when they are reconfigure()d.
the screen, toolbar and slit rc values are reloaded in BScreen::reconfigure() before the menus.
the toolbar and slit rc values are explicitly loaded in their constructors, as is BScreen's.
Dana Jansens danakj@orodu.net
9cd9d92b
configuration changes "done"!!

on start, the config file is read entirely off the disc, and missing values are assigned defaults.
the config file is immediately written back to the disk to populate missing defaults in the file.
any time a config option is changed the control, the config file is re-written with the change.
choosing reconfig will reload the current config file on the disc.
on shutdown, nothing is written to the config file.
Dana Jansens danakj@orodu.net
66c879bd
Toolbar saves its settings as their changed
Main config's Hide Toolbar option is also saved when it is changed
Removed 2 debug couts from Slit
Dana Jansens danakj@orodu.net
73a3c979
Slit loads its own settings and saves them as they are changed
added an assert in Resource
Dana Jansens danakj@orodu.net
fe9b1efd
fixed snap to edges with toolbar hidden
Scott Moynes smoynes@nexus.carleton.ca
43e9d583
renamed the obResource class to Resource.
Dana Jansens danakj@orodu.net
82e61c01
fixed HAVE_STRING_H introduced from some parrallel development. blast
Scott Moynes smoynes@nexus.carleton.ca
6985e48f
need translations for Hide Toolbar
Scott Moynes smoynes@nexus.carleton.ca
29fff5f5
Added a runtime option for hiding the toolbar totally. Will be cleaner
later. Stay tuned.
Scott Moynes smoynes@nexus.carleton.ca
88d43795
renamed the Changelog files
get the latest version of bsetbg from the blackbox cvs
Dana Jansens danakj@orodu.net
509c88f5
removed unneeded #include <X11/Xutil.h>
Dana Jansens danakj@orodu.net
11318191
reversed tehmouse wheel buttons on the root window. scrolling up now goes to the next workspace.
Dana Jansens danakj@orodu.net
251dd403
get rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use checks for individual headers instead
Dana Jansens danakj@orodu.net
67e5cb21
removed the code to make the .blackboxrc symlink to openbox's rc file (it cored anyways)
Dana Jansens danakj@orodu.net
897a9711
applied Ruhi's cleanup patch. moves colSmartPlacement into its own function
using Geomtry objects instead of integer pairs in all of the placeWindow code now
Dana Jansens danakj@orodu.net
adcdf317
added some consts to the cascade code
Scott Moynes smoynes@nexus.carleton.ca
dbd63276
apparently there were compiling problems with automake/autoconf. This should make those go away.
Dana Jansens danakj@orodu.net
df9d0c89
Added a fallback for Best Fit to cascade. Also, moved cascade to its own
function. May not be needed.
Scott Moynes smoynes@nexus.carleton.ca
932ced30
add the Geometry classes to bsetroot
Dana Jansens danakj@orodu.net
3eb75618
Fixed bsetroot to use the new Geometries returned in ScreenInfo
Dana Jansens danakj@orodu.net
25cbe08c
Slit has an area Rect now, and returns Rect, Size, and Points instead of getX/Y and getWidth/Height.
Dana Jansens danakj@orodu.net
44e3582d
BScreen (ScreenInfo) now contains a size() instead of a getWidth/getHeight
Dana Jansens danakj@orodu.net
bea6e5f7
changed OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return Origins and Sizes and Rects, in fuctions like size(), origin(), and area().
Dana Jansens danakj@orodu.net
973880dd
added some missing punctuation
Ruhi Bloodworth ruhi@colophon.cjb.net
3dcebcf5
Added Util.h, which contains only an ASSERT macro for now
Dana Jansens danakj@orodu.net
0cfca85d
changed version number to 1.0.0. fixed a warning in BaseMenu from pointer->reference conversion
Dana Jansens danakj@orodu.net
d2bcec1c
made bsetroot compile with the new code for references instead of pointers
Dana Jansens danakj@orodu.net
ffce7be3
using references instead of pointers if possible in Image
Dana Jansens danakj@orodu.net
9bf23ee3
using a Screen reference instead of pointer in Workspace
Dana Jansens danakj@orodu.net
ba6e2034
using a reference for Openbox instead of a pointer
Dana Jansens danakj@orodu.net
72af8cea
using some references instead of pointers where possible in Screen, ScreenInfo, Slit, Toolbar, and Netizen
Dana Jansens danakj@orodu.net
9ea14110
only add one extra space to pad the clock in the toolbar
Dana Jansens danakj@orodu.net
351f1d03
Using some references instead of pointers for the menus.
Dana Jansens danakj@orodu.net
d00ef145
made shaded windows snap properly at their bottom, using their shaded height.
window.getHeight() now returns the different/correct value when a window is shaded.
Dana Jansens danakj@orodu.net
bb1a9732
changing the fix for fonts clipping in the titlebar. broken fonts (e.g. gelly caused problems in the old method.
Dana Jansens danakj@orodu.net
18acd962
added 'deep' style
Dana Jansens danakj@orodu.net
ff24b645
merged the changelog from the 0.99.0 (stable) branch (the code was previously merged)
Dana Jansens danakj@orodu.net
6aa92a89
added entry for new BestFit placement type
Dana Jansens danakj@orodu.net
424d476f
added first revision of the BestFit placement type.
moved RowSmart placement type out of placeWindow() to its own function like bestFit. Will continue moving other placement types into their own functions.
Dana Jansens danakj@orodu.net
24f9448c
adding Geometry classes: Point, Size, and Rect
Dana Jansens danakj@orodu.net
e17c54e3
removed all Xrm database calls from Screen.cc (style loading).
This completes the conversion to using the obResource class, there are no class to Xrm* except in Resource.cc/h
Dana Jansens danakj@orodu.net
b7fa41a3
Fixed a bug in the bsetroot build that caused really strange behaviour
Scott Moynes smoynes@nexus.carleton.ca
a619b3d1
added symlinking. needs a little work.
Scott Moynes smoynes@nexus.carleton.ca
456cf2d5
real_reconfigure now using obResource instead of teh XrmDatabase calls.
obResource class calls XrmInitialize().
Dana Jansens danakj@orodu.net
8d3c9738
save_rc() using the obResource class to save blackbox's configuration.
renamed BScreen::getCount to BScreen::getWorkspaceCount.
Dana Jansens danakj@orodu.net
e532e957
changed the default edge-snap distance from 0 to 4. This way new users will see that the option is there for them to change.
Dana Jansens danakj@orodu.net
6ea740cd
load_rc(BScreen *) now uses the obResource class to load its configuration
added a few consts in BScreen to be compatible with the new code.
reordered the compilation in src/ so that Resource.cc is in alphabetical order
Dana Jansens danakj@orodu.net
17ef2638
load_rc() now uses the obResource class to load its configuration
Dana Jansens danakj@orodu.net
3da13c16
adding rules on how to code this project.
Dana Jansens danakj@orodu.net
455b288c
added the obResource class which handles Xresouce database files in a sane manner
Dana Jansens danakj@orodu.net
40d73351
added the obResource class which handles Xresouce database files in a sane manner.
Dana Jansens danakj@orodu.net
dfc5f034
Initial revision
Dana Jansens danakj@orodu.net
17532e90
New repository initialized by cvs2svn.
unknown unknown
27a0f0f4
split the focustobottom action back out from unfocus
Dana Jansens danakj@orodu.net
cdef0996
fix it.po header
Mikael Magnusson mikachu@comhem.se
ad1b4c73
update finnish translation
Mikael Magnusson mikachu@comhem.se
77f2ae95
updated german, estonian, brazilian portuguese and vietnamese translations to include the three desktop strings
Mikael Magnusson mikachu@comhem.se
dd2bc1b5
Update git instructions a bit
Mikael Magnusson mikachu@comhem.se
41f90931
fix copy/paste error
Dana Jansens danakj@orodu.net
d575fb65
  --exit              Sulje Openbox
Mikael Magnusson mikachu@comhem.se