Commit graph

7125 commits

Author SHA1 Message Date
Mikael Magnusson
2800ee7920 install-sh should be executable
Apparently on solaris, you can't invoke -x scripts via "sh install-sh".
2009-01-29 22:35:48 +01:00
Mikael Magnusson
90cecafa3d Merge branch 'backport' into work 2008-11-19 17:43:56 +01:00
Mikael Magnusson
b834f00186 Only update the focus cycle indicator when already visible in frame.c to avoid overriding bar=no 2008-11-19 17:14:44 +01:00
Mikael Magnusson
bd2db36b6c Another problem pointed out by clang
Using format specifiers without arguments in printf is still bad.

openbox/debug.c:105:18: warning: format string is not a string literal (potentially insecure)
    fprintf(out, log_domain);
                 ^~~~~~~~~~
openbox/debug.c:107:18: warning: format string is not a string literal (potentially insecure)
    fprintf(out, level);
                 ^~~~~
openbox/debug.c:109:18: warning: format string is not a string literal (potentially insecure)
    fprintf(out, message);
                 ^~~~~~~
2008-11-15 22:53:05 +01:00
Mikael Magnusson
a1746ab215 Merge branch 'backport' into work
Conflicts:
	openbox/event.c
2008-11-15 22:53:02 +01:00
Mikael Magnusson
e59d06c7f3 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.
2008-11-15 22:50:18 +01:00
Mikael Magnusson
98b1c84bb5 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))
         ^~~~~~~~~~~~~~
2008-11-10 23:34:50 +01:00
Mikael Magnusson
59eb52b7c6 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.
2008-11-05 19:34:21 +01:00
Mikael Magnusson
e3134210d8 Using format specifiers without arguments in printf is bad. 2008-11-05 19:34:14 +01:00
Mikael Magnusson
c230443c65 Merge branch 'backport' into work 2008-10-29 13:48:34 +01:00
Mikael Magnusson
6a35e7c594 Bring helper windows when following a window. 2008-10-29 13:47:27 +01:00
Mikael Magnusson
1970e3c3a8 _NET_WM_USER_TIME=0 means don't focus the new window. 2008-10-29 12:35:17 +01:00
Mikael Magnusson
e6fea24575 Merge branch 'backport' into work
Conflicts:
	openbox/client.c
	openbox/prop.c
	openbox/prop.h
2008-10-27 00:58:56 +01:00
Mikael Magnusson
7b57ef1296 No \n on ob_debug in this branch. 2008-10-27 00:55:42 +01:00
Mikael Magnusson
8f37a97a4c The code to replace $wid/$pid died on $foo.
It failed to increment a variable after finding a $ but no pid or wid,
which led to a fun infinite loop. Also don't check if c[1] is w if we
already established it was p.
2008-10-27 00:55:16 +01:00
Mikael Magnusson
c564b6245f Show name/class when mapping in debug mode. 2008-10-27 00:51:56 +01:00
Mikael Magnusson
d81d54c7a9 Revert "make windows stay on screen when they..."
This reverts commit 73adc6480d.
I know I had a good reason for reverting this commit, I don't know what
that reason was though.
2008-10-27 00:35:41 +01:00
Mikael Magnusson
f34b2571b9 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.
2008-10-27 00:27:57 +01:00
Dana Jansens
4a9b25ad58 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 2008-10-27 00:27:50 +01:00
Mikael Magnusson
5b678bdfcf Make sure the _MOTIF_WM_INFO atom exists.
Without this, urxvt won't use motif hints for borderless mode.
2008-10-22 21:13:27 +02:00
Inko Illarramendi Arancibia
42a6e55d1e Update Basque translation. 2008-10-22 18:15:30 +02:00
Mikael Magnusson
1f194d6d1f 0 is the first monitor here, not 1. 2008-09-14 13:56:13 +02:00
Jesper Sander
6253283a06 Add danish translation. 2008-08-19 17:46:45 +02:00
Nico Golde
b6c501cb7c Properly escape strings before writing XML. 2008-07-13 15:29:50 +02:00
Mikael Magnusson
63a5ba4975 Openbox doesn't support _NET_WM_USER_TIME_WINDOW atm. 2008-05-29 18:51:17 +02:00
David Majà Martínez
9cf44b41c3 Update catalan translation. 2008-05-25 20:27:07 +02:00
Mikael Magnusson
e6e393a30d Add a translators note about not translating the word "SessionLogout" in an error message. 2008-05-25 20:27:06 +02:00
Tutku Dalmaz
0d60d0d441 Add turkish translation. 2008-05-25 20:27:00 +02:00
Andrea Scarpino
42a03d409c Update italian translation. 2008-05-15 13:12:22 +02:00
Nicolás de la Torre
d2b471fa1e Update spanish translation. 2008-05-08 19:20:09 +02:00
Mikael Magnusson
19146fb69d Add Lithuanian translation. 2008-05-08 19:20:09 +02:00
Mikael Magnusson
e7557ee1a0 Don't translate action names. 2008-05-03 15:03:04 +02:00
Moroz Sergey L
06cbf8cd92 Update russian translation. 2008-05-02 10:26:40 +02:00
Mikael Magnusson
6799c67c07 Merge branch 'backport' into work
Conflicts:

	openbox/config.c
	openbox/keyboard.c
	openbox/moveresize.c
2008-04-23 17:07:10 +02:00
Mikael Magnusson
a7bbdf7d61 Fix typo introduced a few commits ago that made resizing windows hard. 2008-04-23 16:40:22 +02:00
Mikael Magnusson
661a53cb68 Don't need to explicitly check for xft. 2008-04-20 00:10:52 +02:00
Mikael Magnusson
92bba40cf2 Don't use GrabModeSync, it hangs the xserver on chains sometimes.
More or less a revert of 5bfa48dcff
"Grab key bindings with GrabModeSync"
See also bug #3582.
2008-04-15 18:16:55 +02:00
Mikael Magnusson
fe7e51af32 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.
2008-04-15 18:04:32 +02:00
Mikael Magnusson
d47d5a2801 When icons had a very small aspect ratio, we crashed, don't. 2008-04-15 17:59:22 +02:00
Kadlcik Libor
0e92465751 Move "if"s out of the loop and rewrite the loop to use parse_find_node() to search for "file". 2008-04-02 22:27:59 +02:00
Mikael Magnusson
54a70700bc Center the moveresize popup even when shaded. 2008-03-31 19:23:38 +02:00
Dana Jansens
73adc6480d make windows stay on screen when they are resized due to their normal hints changing 2008-03-27 09:45:28 -04:00
Dana Jansens
fd2f617be7 remove some verbose debug prints 2008-03-27 09:45:28 -04:00
Benno Schulenberg
3d254cd35f Update dutch translation. 2008-03-26 16:12:55 +01:00
Lauri Hakko
ff73031192 Update finnish translation. 2008-03-17 21:26:52 +01:00
Robert Kuszinger
8921665d64 Update hungarian translation. 2008-03-17 20:16:33 +01:00
Mikael Magnusson
b98cea3721 Update czech translation. 2008-03-17 18:15:21 +01:00
Mikael Magnusson
b143beedb4 Update portuguese translation. 2008-03-16 15:48:50 +01:00
Florian Walch
90e59f5e92 Update german translation. 2008-03-13 13:43:26 +01:00
Michael Kjelbergvik Thung
df0cce514a Update weejun translation. 2008-03-13 13:37:40 +01:00